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
Afficher le fichier Open project: xperiandri/PortablePrism Class Usage Examples

Méthodes publiques

Свойство Type Description
BehaviorKey string

Private Properties

Свойство Type Description
RegionContextObservableObject_PropertyChanged void
Region_PropertyChanged void
SynchronizeRegionContext void

Méthodes protégées

Méthode Description
OnAttach ( ) : void

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

Private Methods

Méthode Description
RegionContextObservableObject_PropertyChanged ( object sender, System e ) : void
Region_PropertyChanged ( object sender, System e ) : void
SynchronizeRegionContext ( ) : void

Method Details

OnAttach() protected méthode

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

Property Details

BehaviorKey public_oe static_oe property

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