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.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Docking.dll
Syntax
public class ProportionalStackPanel : Panel
Constructors
ProportionalStackPanel()
Declaration
public ProportionalStackPanel()
Fields
ElementHeightProperty
Identifies the ElementHeight attached property.
Declaration
public static readonly DependencyProperty ElementHeightProperty
Field Value
System.Windows.DependencyProperty
|
ElementMaxHeightProperty
Identifies the ElementMaxHeight attached property.
Declaration
public static readonly DependencyProperty ElementMaxHeightProperty
Field Value
System.Windows.DependencyProperty
|
ElementMaxWidthProperty
Identifies the ElementMaxWidth attached property.
Declaration
public static readonly DependencyProperty ElementMaxWidthProperty
Field Value
System.Windows.DependencyProperty
|
ElementMinHeightProperty
Identifies the ElementMinHeight attached property.
Declaration
public static readonly DependencyProperty ElementMinHeightProperty
Field Value
System.Windows.DependencyProperty
|
ElementMinWidthProperty
Identifies the ElementMinWidth attached property.
Declaration
public static readonly DependencyProperty ElementMinWidthProperty
Field Value
System.Windows.DependencyProperty
|
ElementWidthProperty
Identifies the ElementWidth attached property.
Declaration
public static readonly DependencyProperty ElementWidthProperty
Field Value
System.Windows.DependencyProperty
|
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.Windows.DependencyProperty
|
RelativeSizeProperty
Identifies the RelativeSize attached property.
Declaration
public static readonly DependencyProperty RelativeSizeProperty
Field Value
System.Windows.DependencyProperty
|
SuppressMeasureProperty
Identifies the SuppressMeasure attached property.
Declaration
public static readonly DependencyProperty SuppressMeasureProperty
Field Value
System.Windows.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
System.Windows.Controls.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
System.Windows.Size
finalSize
The final area within the parent that this object should use to arrange itself and its children. |
Returns
System.Windows.Size
The actual size used. |
GetElementHeight(DependencyObject)
Gets the Height of the child element.
Declaration
public static double GetElementHeight(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Double
|
GetElementMaxHeight(DependencyObject)
Gets the MaxHeight of the child element.
Declaration
public static double GetElementMaxHeight(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Double
|
GetElementMaxWidth(DependencyObject)
Gets the MaxWidth of the child element.
Declaration
public static double GetElementMaxWidth(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Double
|
GetElementMinHeight(DependencyObject)
Gets the MinHeight of the child element.
Declaration
public static double GetElementMinHeight(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Double
|
GetElementMinWidth(DependencyObject)
Gets the MinWidth of the child element.
Declaration
public static double GetElementMinWidth(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Double
|
GetElementWidth(DependencyObject)
Gets the Width of the child element.
Declaration
public static double GetElementWidth(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Double
|
GetRelativeSize(DependencyObject)
Gets the Relative size.
Declaration
public static Size GetRelativeSize(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Windows.Size
|
GetSuppressMeasure(DependencyObject)
Gets the SuppressMeasure attached property. If true changing RelativeSize will not invalidate measure.
Declaration
public static bool GetSuppressMeasure(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Boolean
|
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
System.Windows.Size
availableSize
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
System.Windows.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
System.Windows.DependencyObject
obj
|
System.Double
value
|
SetElementMaxHeight(DependencyObject, Double)
Sets the MaxHeight of the child element.
Declaration
public static void SetElementMaxHeight(DependencyObject obj, double value)
Parameters
System.Windows.DependencyObject
obj
|
System.Double
value
|
SetElementMaxWidth(DependencyObject, Double)
Sets the MaxWidth of the child element.
Declaration
public static void SetElementMaxWidth(DependencyObject obj, double value)
Parameters
System.Windows.DependencyObject
obj
|
System.Double
value
|
SetElementMinHeight(DependencyObject, Double)
Sets the MinHeight of the child element.
Declaration
public static void SetElementMinHeight(DependencyObject obj, double value)
Parameters
System.Windows.DependencyObject
obj
|
System.Double
value
|
SetElementMinWidth(DependencyObject, Double)
Sets the MinWidth of the child element.
Declaration
public static void SetElementMinWidth(DependencyObject obj, double value)
Parameters
System.Windows.DependencyObject
obj
|
System.Double
value
|
SetElementWidth(DependencyObject, Double)
Sets the Width of the child element.
Declaration
public static void SetElementWidth(DependencyObject obj, double value)
Parameters
System.Windows.DependencyObject
obj
|
System.Double
value
|
SetRelativeSize(DependencyObject, Size)
Sets the Relative size.
Declaration
public static void SetRelativeSize(DependencyObject obj, Size value)
Parameters
System.Windows.DependencyObject
obj
|
System.Windows.Size
value
|
SetSuppressMeasure(DependencyObject, Boolean)
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
System.Windows.DependencyObject
obj
|
System.Boolean
value
|