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
public ProportionalStackPanel()
Fields
ElementHeightProperty
DependencyProperty
Identifies the ElementHeight attached property.
public static readonly DependencyProperty ElementHeightProperty
ElementMaxHeightProperty
DependencyProperty
Identifies the ElementMaxHeight attached property.
public static readonly DependencyProperty ElementMaxHeightProperty
ElementMaxWidthProperty
DependencyProperty
Identifies the ElementMaxWidth attached property.
public static readonly DependencyProperty ElementMaxWidthProperty
ElementMinHeightProperty
DependencyProperty
Identifies the ElementMinHeight attached property.
public static readonly DependencyProperty ElementMinHeightProperty
ElementMinWidthProperty
DependencyProperty
Identifies the ElementMinWidth attached property.
public static readonly DependencyProperty ElementMinWidthProperty
ElementWidthProperty
DependencyProperty
Identifies the ElementWidth attached property.
public static readonly DependencyProperty ElementWidthProperty
OrientationProperty
DependencyProperty
Identifies the Orientation dependency property.
public static readonly DependencyProperty OrientationProperty
RelativeSizeProperty
DependencyProperty
Identifies the RelativeSize attached property.
public static readonly DependencyProperty RelativeSizeProperty
SuppressMeasureProperty
DependencyProperty
Identifies the SuppressMeasure attached property.
public static readonly DependencyProperty SuppressMeasureProperty
Properties
Orientation
Orientation
Gets or sets a value that specifies the dimension in which child content is arranged. This is a dependency property.
public Orientation Orientation { get; set; }
Methods
Provides the behavior for the Arrange pass of layout. Classes can override this method to define their own arrange pass behavior.
protected override Size ArrangeOverride(Size finalSize)
The final area within the parent that this object should use to arrange itself and its children.
Returns:Size
The actual size used.
Gets the Height of the child element.
public static double GetElementHeight(DependencyObject obj)
Gets the MaxHeight of the child element.
public static double GetElementMaxHeight(DependencyObject obj)
Gets the MaxWidth of the child element.
public static double GetElementMaxWidth(DependencyObject obj)
Gets the MinHeight of the child element.
public static double GetElementMinHeight(DependencyObject obj)
Gets the MinWidth of the child element.
public static double GetElementMinWidth(DependencyObject obj)
Gets the Width of the child element.
public static double GetElementWidth(DependencyObject obj)
Gets the Relative size.
public static Size GetRelativeSize(DependencyObject obj)
Size
Gets the SuppressMeasure attached property. If true changing RelativeSize will not invalidate measure.
public static bool GetSuppressMeasure(DependencyObject obj)
Provides the behavior for the measure pass of the layout. Classes can override this method to define their own measure pass behavior.
protected override Size MeasureOverride(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:Size
The size that this object determines it needs during layout, based on its calculations of child object allotted sizes.
Sets the Height of the child element.
public static void SetElementHeight(DependencyObject obj, double value)
Sets the MaxHeight of the child element.
public static void SetElementMaxHeight(DependencyObject obj, double value)
Sets the MaxWidth of the child element.
public static void SetElementMaxWidth(DependencyObject obj, double value)
Sets the MinHeight of the child element.
public static void SetElementMinHeight(DependencyObject obj, double value)
Sets the MinWidth of the child element.
public static void SetElementMinWidth(DependencyObject obj, double value)
Sets the Width of the child element.
public static void SetElementWidth(DependencyObject obj, double value)
Sets the Relative size.
public static void SetRelativeSize(DependencyObject obj, Size value)
Sets the SuppressMeasure attached property. When set to true changing RelativeSize will not invalidate measure.
public static void SetSuppressMeasure(DependencyObject obj, bool value)