C# 클래스 WPF.JoshSmith.Controls.CenteredContentControl

A ContentControl which exposes two dependency properties, CenterX and CenterY. Those properties can be bound to if this element is in a Canvas, and it is positioned via the Left and Top attached properties of the Canvas class.
상속: System.Windows.Controls.ContentControl
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf 1 사용 예제들

공개 프로퍼티들

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

공개 메소드들

메소드 설명
CenteredContentControl ( ) : System.Windows

Instance constructor.

보호된 메소드들

메소드 설명
OnPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Updates the CenterX and CenterY properties.

비공개 메소드들

메소드 설명
UpdateCenterX ( ) : void
UpdateCenterY ( ) : void

메소드 상세

CenteredContentControl() 공개 메소드

Instance constructor.
public CenteredContentControl ( ) : System.Windows
리턴 System.Windows

OnPropertyChanged() 보호된 메소드

Updates the CenterX and CenterY properties.
protected OnPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
리턴 void

프로퍼티 상세

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

Identifier for the read-only CenterX dependency property.
public static DependencyProperty,System.Windows CenterXProperty
리턴 System.Windows.DependencyProperty

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

Identifier for the read-only CenterX dependency property.
public static DependencyProperty,System.Windows CenterYProperty
리턴 System.Windows.DependencyProperty