C# 클래스 WPF.JoshSmith.Adorners.SingleChildAdornerBase

Abstract class used to create adorners with only one visual child. By default the visual child is not added to the adorner's visual or logical tree. Subclasses can add the child to the visual and/or logical trees if necessary. This class also provides support for moving the adorner via the public OffsetTop and OffsetLeft properties.
Initial Concept: http://blogs.msdn.com/marcelolr/archive/2006/03/03/543301.aspx
상속: System.Windows.Documents.Adorner
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf

보호된 프로퍼티들

프로퍼티 타입 설명
child System.Windows.UIElement

공개 메소드들

메소드 설명
GetDesiredTransform ( System.Windows.Media.GeneralTransform transform ) : System.Windows.Media.GeneralTransform

Override.

SetOffsets ( double left, double top ) : void

Updates the location of the adorner in one atomic operation.

보호된 메소드들

메소드 설명
ArrangeOverride ( Size finalSize ) : Size

Override.

GetVisualChild ( int index ) : Visual

Override.

MeasureOverride ( Size constraint ) : Size

Override.

SingleChildAdornerBase ( UIElement adornedElement ) : System.Windows

Protected constructor.

비공개 메소드들

메소드 설명
UpdateLocation ( ) : void

메소드 상세

ArrangeOverride() 보호된 메소드

Override.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
리턴 System.Windows.Size

GetDesiredTransform() 공개 메소드

Override.
public GetDesiredTransform ( System.Windows.Media.GeneralTransform transform ) : System.Windows.Media.GeneralTransform
transform System.Windows.Media.GeneralTransform
리턴 System.Windows.Media.GeneralTransform

GetVisualChild() 보호된 메소드

Override.
protected GetVisualChild ( int index ) : Visual
index int
리턴 Visual

MeasureOverride() 보호된 메소드

Override.
protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size
리턴 System.Windows.Size

SetOffsets() 공개 메소드

Updates the location of the adorner in one atomic operation.
public SetOffsets ( double left, double top ) : void
left double
top double
리턴 void

SingleChildAdornerBase() 보호된 메소드

Protected constructor.
protected SingleChildAdornerBase ( UIElement adornedElement ) : System.Windows
adornedElement System.Windows.UIElement The element to which the adorner will be bound.
리턴 System.Windows

프로퍼티 상세

child 보호되어 있는 프로퍼티

The child element displayed in the adorner.
protected UIElement,System.Windows child
리턴 System.Windows.UIElement