RegionManager Members

Include Protected Members
Include Inherited Members

The RegionManager type exposes the following members.

Constructors

  Name Description
Public method RegionManager
Initializes a new instance of RegionManager.

Methods

  Name Description
Public method CreateRegionManager
Creates a new region manager.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic member GetObservableRegion
Returns an ObservableObject<T> wrapper that can hold an IRegion. Using this wrapper you can detect when an IRegion has been created by the RegionAdapterBase<T>. If the ObservableObject<T> wrapper does not yet exist, a new wrapper will be created. When the region gets created and assigned to the wrapper, you can use the PropertyChanged event to get notified of that change.
Public methodStatic member GetRegionContext
Gets the value of the RegionContextProperty attached property.
Public methodStatic member GetRegionManager
Gets the value of the RegionNameProperty attached property.
Public methodStatic member GetRegionName
Gets the value for the RegionNameProperty attached property.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic member SetRegionContext
Sets the RegionContextProperty attached property.
Public methodStatic member SetRegionManager
Sets the RegionManagerProperty attached property.
Public methodStatic member SetRegionName
Sets the RegionNameProperty attached property.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodStatic member UpdateRegions
Notifies attached behaviors to update the region managers appropriatelly if needed to.

Extension Methods

  Name Description
Public Extension Method AddToRegion
Add a view to the Views collection of a Region. Note that the region must already exist in this regionmanager.
(Defined by RegionManagerExtensions.)
Public Extension Method RegisterViewWithRegion(String, Type) Overloaded.
Associate a view with a region, by registering a type. When the region get's displayed this type will be resolved using the ServiceLocator into a concrete instance. The instance will be added to the Views collection of the region
(Defined by RegionManagerExtensions.)
Public Extension Method RegisterViewWithRegion(String, Func<Object>) Overloaded.
Associate a view with a region, using a delegate to resolve a concreate instance of the view. When the region get's displayed, this delelgate will be called and the result will be added to the views collection of the region.
(Defined by RegionManagerExtensions.)
Public Extension Method RequestNavigate(String, Uri) Overloaded.
Navigates the specified region manager.
(Defined by RegionManagerExtensions.)
Public Extension Method RequestNavigate(String, String) Overloaded.
Navigates the specified region manager.
(Defined by RegionManagerExtensions.)
Public Extension Method RequestNavigate(String, Uri, Action<NavigationResult>) Overloaded.
Navigates the specified region manager.
(Defined by RegionManagerExtensions.)
Public Extension Method RequestNavigate(String, String, Action<NavigationResult>) Overloaded.
Navigates the specified region manager.
(Defined by RegionManagerExtensions.)

Fields

  Name Description
Public fieldStatic member RegionContextProperty
Identifies the RegionContext attached property.
Public fieldStatic member RegionManagerProperty
Identifies the RegionManager attached property.
Public fieldStatic member RegionNameProperty
Identifies the RegionName attached property.

Properties

  Name Description
Public property Regions
Gets a collection of IRegion that identify each region by name. You can use this collection to add or remove regions to the current region manager.

Attached Properties

  Name Description
Public attached property RegionContext
Identifies the RegionContext attached property.
Public attached property RegionManager
Identifies the RegionManager attached property.
Public attached property RegionName
Identifies the RegionName attached property.

Events

  Name Description
Public eventStatic member UpdatingRegions
Notification used by attached behaviors to update the region managers appropriatelly if needed to.

See Also

RegionManager Class

Microsoft.Practices.Prism.Regions Namespace