ClassPanelBarPanel
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
PanelBarPanel()
Initializes a new instance of the PanelBarPanel class.
Declaration
public PanelBarPanel()
Fields
DesiredHeightProperty
Identifies the DesiredHeight attached property.
Declaration
public static readonly DependencyProperty DesiredHeightProperty
Field Value
DependencyProperty
DesiredWidthProperty
Identifies the DesiredWidth attached property.
Declaration
public static readonly DependencyProperty DesiredWidthProperty
Field Value
DependencyProperty
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
DependencyProperty
Properties
VisualChildrenCount
Declaration
protected override int VisualChildrenCount { get; }
Property Value
Methods
ArrangeOverride(Size)
Provides the behavior for the "Arrange" layout pass. 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.
GetDesiredHeight(DependencyObject)
Gets the desired height.
Declaration
public static GridLength GetDesiredHeight(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GridLength
GetDesiredWidth(DependencyObject)
Gets the desired width.
Declaration
public static GridLength GetDesiredWidth(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GridLength
GetVisualChild(int)
Declaration
protected override Visual GetVisualChild(int index)
Parameters
index
Returns
Visual
MeasureOverride(Size)
Provides the behavior for the "measure" layout pass. Classes can override this method to define their own measure pass behavior.
Declaration
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
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.
SetDesiredHeight(DependencyObject, GridLength)
Sets the desired height.
Declaration
public static void SetDesiredHeight(DependencyObject obj, GridLength value)
Parameters
obj
DependencyObject
value
GridLength
SetDesiredWidth(DependencyObject, GridLength)
Sets the desired width.
Declaration
public static void SetDesiredWidth(DependencyObject obj, GridLength value)
Parameters
obj
DependencyObject
value
GridLength