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

Behavior that synchronizes the IRegion.Context property of a IRegion with the control that hosts the Region. It does this by setting the RegionManager.RegionContextProperty Dependency Property on the host control. This behavior allows the usage of two way databinding of the RegionContext from XAML.
Inheritance: RegionBehavior, IHostAwareRegionBehavior
Exibir arquivo Open project: xperiandri/PortablePrism Class Usage Examples

Public Properties

Property Type Description
BehaviorKey string

Private Properties

Property Type Description
RegionContextObservableObject_PropertyChanged void
Region_PropertyChanged void
SynchronizeRegionContext void

Protected Methods

Method Description
OnAttach ( ) : void

Override this method to perform the logic after the behavior has been attached.

Private Methods

Method Description
RegionContextObservableObject_PropertyChanged ( object sender, System e ) : void
Region_PropertyChanged ( object sender, System e ) : void
SynchronizeRegionContext ( ) : void

Method Details

OnAttach() protected method

Override this method to perform the logic after the behavior has been attached.
protected OnAttach ( ) : void
return void

Property Details

BehaviorKey public_oe static_oe property

Name that identifies the SyncRegionContextWithHostBehavior behavior in a collection of RegionsBehaviors.
public static string BehaviorKey
return string