Share via


IRegion Members

Include Protected Members
Include Inherited Members

The IRegion type exposes the following members.

Methods

  Name Description
Ff653966.pubmethod(en-us,PandP.10).gif Activate
Marks the specified view as active.
Ff653966.pubmethod(en-us,PandP.10).gif Add Overloaded.
Adds a new view to the region.
Ff653966.pubmethod(en-us,PandP.10).gif Deactivate
Marks the specified view as inactive.
Ff653966.pubmethod(en-us,PandP.10).gif GetView
Returns the view instance that was added to the region using a specific name.
Ff653966.pubmethod(en-us,PandP.10).gif Remove
Removes the specified view from the region.

Properties

  Name Description
Ff653966.pubproperty(en-us,PandP.10).gif ActiveViews
Gets a readonly view of the collection of all the active views in the region.
Ff653966.pubproperty(en-us,PandP.10).gif Behaviors
Gets the collection of IRegionBehaviors that can extend the behavior of regions.
Ff653966.pubproperty(en-us,PandP.10).gif Context
Gets or sets a context for the region. This value can be used by the user to share context with the views.
Ff653966.pubproperty(en-us,PandP.10).gif Name
Gets the name of the region that uniequely identifies the region within a IRegionManager.
Ff653966.pubproperty(en-us,PandP.10).gif 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).
Ff653966.pubproperty(en-us,PandP.10).gif Views
Gets a readonly view of the collection of views in the region.

Events

  Name Description
Ff653966.pubevent(en-us,PandP.10).gif PropertyChanged
Occurs when a property value changes.
(Inherited from INotifyPropertyChanged.)

See Also

IRegion Interface

Microsoft.Practices.Composite.Regions Namespace