C# Класс 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 .
Наследование: RegionBehavior, IHostAwareRegionBehavior
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
BehaviorKey string

Открытые методы

Метод Описание
RegionManagerRegistrationBehavior ( ) : System

Initializes a new instance of RegionManagerRegistrationBehavior.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
FindRegionManager ( DependencyObject dependencyObject ) : IRegionManager
GetAttachedRegionManager ( ) : IRegionManager
OnUpdatingRegions ( object sender, EventArgs e ) : void
Region_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
StartMonitoringRegionManager ( ) : void
TryRegisterRegion ( ) : void

Описание методов

OnAttach() защищенный Метод

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
Результат void

RegionManagerRegistrationBehavior() публичный Метод

Initializes a new instance of RegionManagerRegistrationBehavior.
public RegionManagerRegistrationBehavior ( ) : System
Результат System

Описание свойств

BehaviorKey публичное статическое свойство

The key of this behavior.
public static string BehaviorKey
Результат string