Class
ProportionalStackPanel

Panel that arrange its children as a StackPanel if no DesiredWidth or DesiredHeight is set or if set as a Grid with Row/Column Definitions.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Docking.dll

Syntax:

cs-api-definition
public class ProportionalStackPanel : Panel

Inheritance: objectProportionalStackPanel

Constructors

ProportionalStackPanel()

Declaration

cs-api-definition
public ProportionalStackPanel()

Fields

ElementHeightProperty

Identifies the ElementHeight attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ElementHeightProperty

Field Value

DependencyProperty

ElementMaxHeightProperty

Identifies the ElementMaxHeight attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ElementMaxHeightProperty

Field Value

DependencyProperty

ElementMaxWidthProperty

Identifies the ElementMaxWidth attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ElementMaxWidthProperty

Field Value

DependencyProperty

ElementMinHeightProperty

Identifies the ElementMinHeight attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ElementMinHeightProperty

Field Value

DependencyProperty

ElementMinWidthProperty

Identifies the ElementMinWidth attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ElementMinWidthProperty

Field Value

DependencyProperty

ElementWidthProperty

Identifies the ElementWidth attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ElementWidthProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

RelativeSizeProperty

Identifies the RelativeSize attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty RelativeSizeProperty

Field Value

DependencyProperty

SuppressMeasureProperty

Identifies the SuppressMeasure attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty SuppressMeasureProperty

Field Value

DependencyProperty

Properties

Orientation

Gets or sets a value that specifies the dimension in which child content is arranged. This is a dependency property.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

Methods

ArrangeOverride(Size)

Provides the behavior for the Arrange pass of layout. Classes can override this method to define their own arrange pass behavior.

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

The final area within the parent that this object should use to arrange itself and its children.

Returns

Size

The actual size used.

GetElementHeight(DependencyObject)

Gets the Height of the child element.

Declaration

cs-api-definition
public static double GetElementHeight(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

double

GetElementMaxHeight(DependencyObject)

Gets the MaxHeight of the child element.

Declaration

cs-api-definition
public static double GetElementMaxHeight(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

double

GetElementMaxWidth(DependencyObject)

Gets the MaxWidth of the child element.

Declaration

cs-api-definition
public static double GetElementMaxWidth(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

double

GetElementMinHeight(DependencyObject)

Gets the MinHeight of the child element.

Declaration

cs-api-definition
public static double GetElementMinHeight(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

double

GetElementMinWidth(DependencyObject)

Gets the MinWidth of the child element.

Declaration

cs-api-definition
public static double GetElementMinWidth(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

double

GetElementWidth(DependencyObject)

Gets the Width of the child element.

Declaration

cs-api-definition
public static double GetElementWidth(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

double

GetRelativeSize(DependencyObject)

Gets the Relative size.

Declaration

cs-api-definition
public static Size GetRelativeSize(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

Size

GetSuppressMeasure(DependencyObject)

Gets the SuppressMeasure attached property. If true changing RelativeSize will not invalidate measure.

Declaration

cs-api-definition
public static bool GetSuppressMeasure(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

bool

MeasureOverride(Size)

Provides the behavior for the measure pass of the layout. Classes can override this method to define their own measure pass behavior.

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

The available size that this object can give to child objects. Infinity can be specified as a value to indicate that the object will size to whatever content is available.

Returns

Size

The size that this object determines it needs during layout, based on its calculations of child object allotted sizes.

SetElementHeight(DependencyObject, double)

Sets the Height of the child element.

Declaration

cs-api-definition
public static void SetElementHeight(DependencyObject obj, double value)

Parameters

obj

DependencyObject

value

double

SetElementMaxHeight(DependencyObject, double)

Sets the MaxHeight of the child element.

Declaration

cs-api-definition
public static void SetElementMaxHeight(DependencyObject obj, double value)

Parameters

obj

DependencyObject

value

double

SetElementMaxWidth(DependencyObject, double)

Sets the MaxWidth of the child element.

Declaration

cs-api-definition
public static void SetElementMaxWidth(DependencyObject obj, double value)

Parameters

obj

DependencyObject

value

double

SetElementMinHeight(DependencyObject, double)

Sets the MinHeight of the child element.

Declaration

cs-api-definition
public static void SetElementMinHeight(DependencyObject obj, double value)

Parameters

obj

DependencyObject

value

double

SetElementMinWidth(DependencyObject, double)

Sets the MinWidth of the child element.

Declaration

cs-api-definition
public static void SetElementMinWidth(DependencyObject obj, double value)

Parameters

obj

DependencyObject

value

double

SetElementWidth(DependencyObject, double)

Sets the Width of the child element.

Declaration

cs-api-definition
public static void SetElementWidth(DependencyObject obj, double value)

Parameters

obj

DependencyObject

value

double

SetRelativeSize(DependencyObject, Size)

Sets the Relative size.

Declaration

cs-api-definition
public static void SetRelativeSize(DependencyObject obj, Size value)

Parameters

obj

DependencyObject

value

Size

SetSuppressMeasure(DependencyObject, bool)

Sets the SuppressMeasure attached property. When set to true changing RelativeSize will not invalidate measure.

Declaration

cs-api-definition
public static void SetSuppressMeasure(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

value

bool