C# Class Microsoft.Practices.Prism.Regions.Behaviors.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 RegionManager.RegionManagerProperty property is not .
Inheritance: RegionBehavior, IHostAwareRegionBehavior
Afficher le fichier Open project: xperiandri/PortablePrism

Méthodes publiques

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

Méthodes publiques

Méthode Description
RegionManagerRegistrationBehavior ( ) : System

Initializes a new instance of RegionManagerRegistrationBehavior.

Méthodes protégées

Méthode Description
OnAttach ( ) : void

When the IRegion has a name assigned, the behavior will start monitoring the ancestor controls in the element tree to look for an IRegionManager where to register the region in.

Private Methods

Méthode Description
FindRegionManager ( DependencyObject dependencyObject ) : IRegionManager
GetAttachedRegionManager ( ) : IRegionManager
OnUpdatingRegions ( object sender, EventArgs e ) : void
Region_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
StartMonitoringRegionManager ( ) : void
TryRegisterRegion ( ) : void

Method Details

OnAttach() protected méthode

When the IRegion has a name assigned, the behavior will start monitoring the ancestor controls in the element tree to look for an IRegionManager where to register the region in.
protected OnAttach ( ) : void
Résultat void

RegionManagerRegistrationBehavior() public méthode

Initializes a new instance of RegionManagerRegistrationBehavior.
public RegionManagerRegistrationBehavior ( ) : System
Résultat System

Property Details

BehaviorKey public_oe static_oe property

The key of this behavior.
public static string BehaviorKey
Résultat string