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
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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