C# Class Microsoft.Practices.Prism.Regions.Behaviors.BindRegionContextToDependencyObjectBehavior

Defines a behavior that forwards the RegionManager.RegionContextProperty to the views in the region.
Inheritance: IRegionBehavior
Exibir arquivo Open project: xperiandri/PortablePrism Class Usage Examples

Public Methods

Method Description
Attach ( ) : void

Attaches the behavior to the specified region.

Private Methods

Method Description
AttachNotifyChangeEvent ( IEnumerable views ) : void
DetachNotifyChangeEvent ( IEnumerable views ) : void
Region_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
SetContextToViews ( IEnumerable views, object context ) : void
ViewRegionContext_OnPropertyChangedEvent ( object sender, PropertyChangedEventArgs args ) : void
Views_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Method Details

Attach() public method

Attaches the behavior to the specified region.
public Attach ( ) : void
return void