ClassProportionalStackPanel
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:
public class ProportionalStackPanel : Panel
Inheritance: objectProportionalStackPanel
Constructors
ProportionalStackPanel()
Declaration
public ProportionalStackPanel()
Fields
ElementHeightProperty
Identifies the ElementHeight attached property.
Declaration
public static readonly DependencyProperty ElementHeightProperty
Field Value
DependencyProperty
ElementMaxHeightProperty
Identifies the ElementMaxHeight attached property.
Declaration
public static readonly DependencyProperty ElementMaxHeightProperty
Field Value
DependencyProperty
ElementMaxWidthProperty
Identifies the ElementMaxWidth attached property.
Declaration
public static readonly DependencyProperty ElementMaxWidthProperty
Field Value
DependencyProperty
ElementMinHeightProperty
Identifies the ElementMinHeight attached property.
Declaration
public static readonly DependencyProperty ElementMinHeightProperty
Field Value
DependencyProperty
ElementMinWidthProperty
Identifies the ElementMinWidth attached property.
Declaration
public static readonly DependencyProperty ElementMinWidthProperty
Field Value
DependencyProperty
ElementWidthProperty
Identifies the ElementWidth attached property.
Declaration
public static readonly DependencyProperty ElementWidthProperty
Field Value
DependencyProperty
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
DependencyProperty
RelativeSizeProperty
Identifies the RelativeSize attached property.
Declaration
public static readonly DependencyProperty RelativeSizeProperty
Field Value
DependencyProperty
SuppressMeasureProperty
Identifies the SuppressMeasure attached property.
Declaration
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
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
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
public static double GetElementHeight(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetElementMaxHeight(DependencyObject)
Gets the MaxHeight of the child element.
Declaration
public static double GetElementMaxHeight(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetElementMaxWidth(DependencyObject)
Gets the MaxWidth of the child element.
Declaration
public static double GetElementMaxWidth(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetElementMinHeight(DependencyObject)
Gets the MinHeight of the child element.
Declaration
public static double GetElementMinHeight(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetElementMinWidth(DependencyObject)
Gets the MinWidth of the child element.
Declaration
public static double GetElementMinWidth(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetElementWidth(DependencyObject)
Gets the Width of the child element.
Declaration
public static double GetElementWidth(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetRelativeSize(DependencyObject)
Gets the Relative size.
Declaration
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
public static bool GetSuppressMeasure(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
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
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
public static void SetElementHeight(DependencyObject obj, double value)
Parameters
obj
DependencyObject
value
SetElementMaxHeight(DependencyObject, double)
Sets the MaxHeight of the child element.
Declaration
public static void SetElementMaxHeight(DependencyObject obj, double value)
Parameters
obj
DependencyObject
value
SetElementMaxWidth(DependencyObject, double)
Sets the MaxWidth of the child element.
Declaration
public static void SetElementMaxWidth(DependencyObject obj, double value)
Parameters
obj
DependencyObject
value
SetElementMinHeight(DependencyObject, double)
Sets the MinHeight of the child element.
Declaration
public static void SetElementMinHeight(DependencyObject obj, double value)
Parameters
obj
DependencyObject
value
SetElementMinWidth(DependencyObject, double)
Sets the MinWidth of the child element.
Declaration
public static void SetElementMinWidth(DependencyObject obj, double value)
Parameters
obj
DependencyObject
value
SetElementWidth(DependencyObject, double)
Sets the Width of the child element.
Declaration
public static void SetElementWidth(DependencyObject obj, double value)
Parameters
obj
DependencyObject
value
SetRelativeSize(DependencyObject, Size)
Sets the Relative size.
Declaration
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
public static void SetSuppressMeasure(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
value