C# 클래스 DockTab.SplitPanel

Resizes and arranges child elements into a single row that can be oriented horizontally or vertically where the amount space that each child element consumes can be defined using the SplitPanel.LengthProperty attached property. See SplitPanelUnitType for the different resize behaviors. The SplitPanel also reacts on child SplitThumb drags resizing the all child elements accordingly.
상속: System.Windows.Controls.Panel
파일 보기 프로젝트 열기: bitbonk/DockTab

공개 프로퍼티들

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

공개 메소드들

메소드 설명
GetLength ( UIElement element ) : SplitPanelLength

Gets the value of the Length attached property from a given UIElement.

SetLength ( UIElement element, SplitPanelLength value ) : void

Sets the value of the Length attached property to a given UIElement.

SplitPanel ( ) : System

Initializes a new instance of the SplitPanel class.

보호된 메소드들

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

When overridden in a derived class, positions child elements and determines a size for a T:System.Windows.FrameworkElement derived class.

MeasureOverride ( Size availableSize ) : Size

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the T:System.Windows.FrameworkElement-derived class.

비공개 메소드들

메소드 설명
CalculateItemRects ( Size availableSize ) : System.Windows.Rect[]
GeOffsetLength ( UIElement element, double offestDelta ) : SplitPanelLength
GetChildrenLengths ( ) : void
GetRenderLength ( UIElement element ) : double
SplitThumbOnDragged ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void

메소드 상세

ArrangeOverride() 보호된 메소드

When overridden in a derived class, positions child elements and determines a size for a T:System.Windows.FrameworkElement derived class.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size /// The final area within the parent that this element should use to arrange itself and its children. ///
리턴 System.Windows.Size

GetLength() 공개 정적인 메소드

Gets the value of the Length attached property from a given UIElement.
public static GetLength ( UIElement element ) : SplitPanelLength
element UIElement /// The element from which to read the property value. ///
리턴 SplitPanelLength

MeasureOverride() 보호된 메소드

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the T:System.Windows.FrameworkElement-derived class.
protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size /// The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. ///
리턴 System.Windows.Size

SetLength() 공개 정적인 메소드

Sets the value of the Length attached property to a given UIElement.
public static SetLength ( UIElement element, SplitPanelLength value ) : void
element UIElement /// The element on which to set the Length attached property. ///
value SplitPanelLength /// The property value to set. ///
리턴 void

SplitPanel() 공개 메소드

Initializes a new instance of the SplitPanel class.
public SplitPanel ( ) : System
리턴 System

프로퍼티 상세

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

Identifies the Length attached property.
public static DependencyProperty,System.Windows LengthProperty
리턴 System.Windows.DependencyProperty

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

Identifies the Orientation dependency property.
public static DependencyProperty,System.Windows OrientationProperty
리턴 System.Windows.DependencyProperty