Share via


Region Members

Include Protected Members
Include Inherited Members

The Region type exposes the following members.

Constructors

  Name Description
Ff654117.pubmethod(en-us,PandP.10).gif Region
Initializes a new instance of Region.

Methods

  Name Description
Ff654117.pubmethod(en-us,PandP.10).gif Activate
Marks the specified view as active.
Ff654117.pubmethod(en-us,PandP.10).gif Add Overloaded.
Adds a new view to the region.
Ff654117.pubmethod(en-us,PandP.10).gif Deactivate
Marks the specified view as inactive.
Ff654117.pubmethod(en-us,PandP.10).gif Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Ff654117.protmethod(en-us,PandP.10).gif 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.)
Ff654117.pubmethod(en-us,PandP.10).gif GetHashCode
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Ff654117.pubmethod(en-us,PandP.10).gif GetType
Gets the Type of the current instance.
(Inherited from Object.)
Ff654117.pubmethod(en-us,PandP.10).gif GetView
Returns the view instance that was added to the region using a specific name.
Ff654117.protmethod(en-us,PandP.10).gif MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Ff654117.pubmethod(en-us,PandP.10).gif Remove
Removes the specified view from the region.
Ff654117.pubmethod(en-us,PandP.10).gif ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Ff654117.pubproperty(en-us,PandP.10).gif ActiveViews
Gets a readonly view of the collection of all the active views in the region.
Ff654117.pubproperty(en-us,PandP.10).gif Behaviors
Gets the collection of IRegionBehaviors that can extend the behavior of regions.
Ff654117.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.
Ff654117.protproperty(en-us,PandP.10).gif ItemMetadataCollection
Gets the collection with all the views along with their metadata.
Ff654117.pubproperty(en-us,PandP.10).gif Name
Gets the name of the region that uniequely identifies the region within a IRegionManager.
Ff654117.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).
Ff654117.pubproperty(en-us,PandP.10).gif Views
Gets a readonly view of the collection of views in the region.

Events

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

See Also

Region Class

Microsoft.Practices.Composite.Presentation.Regions Namespace