Microsoft.Practices.Composite.Presentation.Regions.Behaviors Namespace

Classes

  Class Description
Ff654301.pubclass(en-us,PandP.10).gif AutoPopulateRegionBehavior
Populates the target region with the views registered to it in the IRegionViewRegistry.
Ff654301.pubclass(en-us,PandP.10).gif BindRegionContextToDependencyObjectBehavior
Defines a behavior that forwards the RegionContextProperty to the views in the region.
Ff654301.pubclass(en-us,PandP.10).gif DelayedRegionCreationBehavior
Behavior that creates a new IRegion, when the control that will host the IRegion (see TargetElement) is added to the VisualTree. This behavior will use the RegionAdapterMappings class to find the right type of adapter to create the region. After the region is created, this behavior will detach.
Ff654301.pubclass(en-us,PandP.10).gif RegionActiveAwareBehavior
Behavior that monitors a IRegion object and changes the value for the IsActive property when an object that implements IActiveAware gets added or removed from the collection.
Ff654301.pubclass(en-us,PandP.10).gif RegionCreationException
Ff654301.pubclass(en-us,PandP.10).gif RegionManagerRegistrationBehavior
Subscribes to a static event from the RegionManager in order to register the target IRegion in a IRegionManager when one is available on the host control by walking up the tree and finding a control whose RegionManagerProperty property is not nulla null reference (Nothing in Visual Basic).
Ff654301.pubclass(en-us,PandP.10).gif SelectorItemsSourceSyncBehavior
Defines the attached behavior that keeps the items of the Selector host control in synchronization with the IRegion. This behavior also makes sure that, if you activate a view in a region, the SelectedItem is set. If you set the SelectedItem or SelectedItems (ListBox) then this behavior will also call Activate on the selected items.

Remarks

When calling Activate on a view, you can only select a single active view at a time. By setting the SelectedItems property of a listbox, you can set multiple views to active.
Ff654301.pubclass(en-us,PandP.10).gif SyncRegionContextWithHostBehavior
Behavior that synchronizes the Context property of a IRegion with the control that hosts the Region. It does this by setting the RegionContextProperty Dependency Property on the host control. This behavior allows the usage of two way databinding of the RegionContext from XAML.

Interfaces

  Interface Description
Ff654301.pubinterface(en-us,PandP.10).gif IHostAwareRegionBehavior
Defines a IRegionBehavior that not allows extensible behaviors on regions which also interact with the target element that the IRegion is attached to.