C# 클래스 XAMLMarkupExtensions.Base.ParentChangedNotifier

A class that helps listening to changes on the Parent property of FrameworkElement objects.
상속: System.Windows.DependencyObject, IDisposable
파일 보기 프로젝트 열기: MrCircuit/XAMLMarkupExtensions 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ParentProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes all used resources of the instance.

GetParent ( FrameworkElement element ) : FrameworkElement

Get method for the attached property.

ParentChangedNotifier ( FrameworkElement element, System.Action onParentChanged ) : System

Constructor.

SetParent ( FrameworkElement element, FrameworkElement value ) : void

Set method for the attached property.

비공개 메소드들

메소드 설명
ParentChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void

The callback for changes of the attached Parent property.

SetBinding ( ) : void

메소드 상세

Dispose() 공개 메소드

Disposes all used resources of the instance.
public Dispose ( ) : void
리턴 void

GetParent() 공개 정적인 메소드

Get method for the attached property.
public static GetParent ( FrameworkElement element ) : FrameworkElement
element System.Windows.FrameworkElement The target FrameworkElement object.
리턴 System.Windows.FrameworkElement

ParentChangedNotifier() 공개 메소드

Constructor.
public ParentChangedNotifier ( FrameworkElement element, System.Action onParentChanged ) : System
element System.Windows.FrameworkElement The element whose Parent property should be listened to.
onParentChanged System.Action The action that will be performed upon change events.
리턴 System

SetParent() 공개 정적인 메소드

Set method for the attached property.
public static SetParent ( FrameworkElement element, FrameworkElement value ) : void
element System.Windows.FrameworkElement The target FrameworkElement object.
value System.Windows.FrameworkElement The target's parent FrameworkElement object.
리턴 void

프로퍼티 상세

ParentProperty 공개적으로 정적으로 프로퍼티

An attached property that will take over control of change notification.
public static DependencyProperty,System.Windows ParentProperty
리턴 System.Windows.DependencyProperty