PanelBarPanel
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.Navigation.dll
Syntax:
public class PanelBarPanel : Panel
Inheritance: objectPanelBarPanel
Constructors
Initializes a new instance of the PanelBarPanel class.
public PanelBarPanel()
Fields
DesiredHeightProperty
DependencyProperty
Identifies the DesiredHeight attached property.
public static readonly DependencyProperty DesiredHeightProperty
DesiredWidthProperty
DependencyProperty
Identifies the DesiredWidth attached property.
public static readonly DependencyProperty DesiredWidthProperty
OrientationProperty
DependencyProperty
Identifies the Orientation dependency property.
public static readonly DependencyProperty OrientationProperty
Properties
protected override int VisualChildrenCount { get; }
Methods
Provides the behavior for the "Arrange" layout pass. 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.
GetDesiredHeight(DependencyObject)
GridLength
Gets the desired height.
public static GridLength GetDesiredHeight(DependencyObject obj)
GridLength
GetDesiredWidth(DependencyObject)
GridLength
Gets the desired width.
public static GridLength GetDesiredWidth(DependencyObject obj)
GridLength
GetVisualChild(int)
Visual
Provides the behavior for the "measure" layout pass. 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 desired height.
public static void SetDesiredHeight(DependencyObject obj, GridLength value)
Sets the desired width.
public static void SetDesiredWidth(DependencyObject obj, GridLength value)