Class 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.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class PanelBarPanel : Panel
Constructors
PanelBarPanel()
Fields
DesiredHeightProperty
Identifies the DesiredHeight attached property.
Declaration
public static readonly DependencyProperty DesiredHeightProperty
Field Value
System.Windows.DependencyProperty
|
DesiredWidthProperty
Identifies the DesiredWidth attached property.
Declaration
public static readonly DependencyProperty DesiredWidthProperty
Field Value
System.Windows.DependencyProperty
|
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.Windows.DependencyProperty
|
Properties
VisualChildrenCount
Declaration
protected override int VisualChildrenCount { get; }
Property Value
System.Int32
|
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
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. |
GetDesiredHeight(DependencyObject)
Gets the desired height.
Declaration
public static GridLength GetDesiredHeight(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Windows.GridLength
|
GetDesiredWidth(DependencyObject)
Gets the desired width.
Declaration
public static GridLength GetDesiredWidth(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Windows.GridLength
|
GetVisualChild(Int32)
Declaration
protected override Visual GetVisualChild(int index)
Parameters
System.Int32
index
|
Returns
System.Windows.Media.Visual
|
MeasureOverride(Size)
Provides the behavior for the "measure" layout pass. 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. |
SetDesiredHeight(DependencyObject, GridLength)
Sets the desired height.
Declaration
public static void SetDesiredHeight(DependencyObject obj, GridLength value)
Parameters
System.Windows.DependencyObject
obj
|
System.Windows.GridLength
value
|
SetDesiredWidth(DependencyObject, GridLength)
Sets the desired width.
Declaration
public static void SetDesiredWidth(DependencyObject obj, GridLength value)
Parameters
System.Windows.DependencyObject
obj
|
System.Windows.GridLength
value
|