Region Members

Include Protected Members
Include Inherited Members

The Region type exposes the following members.

Constructors

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

Methods

  Name Description
Public method Activate
Marks the specified view as active.
Public method Add(Object)
Adds a new view to the region.
Public method Add(Object, String)
Adds a new view to the region.
Public method Add(Object, String, Boolean)
Adds a new view to the region.
Public method Deactivate
Marks the specified view as inactive.
Public methodStatic member DefaultSortComparison
The default sort algorithm.
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 method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetView
Returns the view instance that was added to the region using a specific name.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Remove
Removes the specified view from the region.
Public method RequestNavigate
Initiates navigation to the specified target.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Extension Methods

  Name Description
Public Extension Method RequestNavigate(String) Overloaded.
Initiates navigation to the target specified by the target.
(Defined by NavigationAsyncExtensions.)
Public Extension Method RequestNavigate(Uri) Overloaded.
Initiates navigation to the target specified by the Uri.
(Defined by NavigationAsyncExtensions.)
Public Extension Method RequestNavigate(String, Action<NavigationResult>) Overloaded.
Initiates navigation to the target specified by the target.
(Defined by NavigationAsyncExtensions.)

Properties

  Name Description
Public property ActiveViews
Gets a readonly view of the collection of all the active views in the region.
Public property Behaviors
Gets the collection of IRegionBehaviors that can extend the behavior of regions.
Public property Context
Gets or sets a context for the region. This value can be used by the user to share context with the views.
Protected property ItemMetadataCollection
Gets the collection with all the views along with their metadata.
Public property Name
Gets the name of the region that uniequely identifies the region within a IRegionManager.
Public property NavigationService
Gets the navigation service.
Public property RegionManager
Gets or sets the IRegionManager that will be passed to the views when adding them to the region, unless the view is added by specifying createRegionManagerScope as truetrue (True in Visual Basic).
Public property SortComparison
Gets or sets the comparison used to sort the views.
Public property Views
Gets a readonly view of the collection of views in the region.

Events

  Name Description
Public event PropertyChanged
Occurs when a property value changes.

See Also

Region Class

Microsoft.Practices.Prism.Regions Namespace