RegionManager Members
Include Protected Members
Include Inherited Members
The RegionManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RegionManager |
Initializes a new instance of RegionManager.
|
Methods
Name | Description | |
---|---|---|
CreateRegionManager |
Creates a new region manager.
|
|
Equals | (Inherited from Object.) | |
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.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
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.
|
|
GetRegionContext |
Gets the value of the RegionContextProperty attached property.
|
|
GetRegionManager |
Gets the value of the RegionNameProperty attached property.
|
|
GetRegionName |
Gets the value for the RegionNameProperty attached property.
|
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
SetRegionContext |
Sets the RegionContextProperty attached property.
|
|
SetRegionManager |
Sets the RegionManagerProperty attached property.
|
|
SetRegionName |
Sets the RegionNameProperty attached property.
|
|
ToString | (Inherited from Object.) | |
UpdateRegions |
Notifies attached behaviors to update the region managers appropriatelly if needed to.
|
Extension Methods
Name | Description | |
---|---|---|
AddToRegion |
Add a view to the Views collection of a Region. Note that the region must already exist in this regionmanager.
(Defined by RegionManagerExtensions.) |
|
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.) |
|
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.) |
|
RequestNavigate(String, Uri) | Overloaded.
Navigates the specified region manager.
(Defined by RegionManagerExtensions.) |
|
RequestNavigate(String, String) | Overloaded.
Navigates the specified region manager.
(Defined by RegionManagerExtensions.) |
|
RequestNavigate(String, Uri, Action<NavigationResult>) | Overloaded.
Navigates the specified region manager.
(Defined by RegionManagerExtensions.) |
|
RequestNavigate(String, String, Action<NavigationResult>) | Overloaded.
Navigates the specified region manager.
(Defined by RegionManagerExtensions.) |
Fields
Name | Description | |
---|---|---|
RegionContextProperty |
Identifies the RegionContext attached property.
|
|
RegionManagerProperty |
Identifies the RegionManager attached property.
|
|
RegionNameProperty |
Identifies the RegionName attached property.
|
Properties
Name | Description | |
---|---|---|
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 | |
---|---|---|
RegionContext |
Identifies the RegionContext attached property.
|
|
RegionManager |
Identifies the RegionManager attached property.
|
|
RegionName |
Identifies the RegionName attached property.
|
Events
Name | Description | |
---|---|---|
UpdatingRegions |
Notification used by attached behaviors to update the region managers appropriatelly if needed to.
|