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
파일 보기 프로젝트 열기: xperiandri/PortablePrism

공개 프로퍼티들

프로퍼티 타입 설명
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