Share via


IRegionManager Members

Include Protected Members
Include Inherited Members

The IRegionManager type exposes the following members.

Methods

  Name Description
Public method CreateRegionManager
Creates a new region manager.

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.)

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.

See Also

IRegionManager Interface

Microsoft.Practices.Prism.Regions Namespace