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.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class PanelBarPanel : Panel

Inheritance: objectPanelBarPanel

Constructors

PanelBarPanel()

Initializes a new instance of the PanelBarPanel class.

Declaration

cs-api-definition
public PanelBarPanel()

Fields

DesiredHeightProperty

Identifies the DesiredHeight attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty DesiredHeightProperty

Field Value

DependencyProperty

DesiredWidthProperty

Identifies the DesiredWidth attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty DesiredWidthProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

Properties

VisualChildrenCount

Declaration

cs-api-definition
protected override int VisualChildrenCount { get; }

Property Value

int

Methods

ArrangeOverride(Size)

Provides the behavior for the "Arrange" layout pass. Classes can override this method to define their own arrange pass behavior.

Declaration

cs-api-definition
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

cs-api-definition
public static GridLength GetDesiredHeight(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

GridLength

GetDesiredWidth(DependencyObject)

Gets the desired width.

Declaration

cs-api-definition
public static GridLength GetDesiredWidth(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

GridLength

GetVisualChild(int)

Declaration

cs-api-definition
protected override Visual GetVisualChild(int index)

Parameters

index

int

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

cs-api-definition
[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

cs-api-definition
public static void SetDesiredHeight(DependencyObject obj, GridLength value)

Parameters

obj

DependencyObject

value

GridLength

SetDesiredWidth(DependencyObject, GridLength)

Sets the desired width.

Declaration

cs-api-definition
public static void SetDesiredWidth(DependencyObject obj, GridLength value)

Parameters

obj

DependencyObject

value

GridLength