Class
OfficeNavigationBarPanel

A panel used by RadOfficeNavigationBar to arrange only the children that fit into the available size.

Definition

Namespace:Telerik.Windows.Controls.OfficeNavigationBar

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class OfficeNavigationBarPanel : Panel

Inheritance: objectOfficeNavigationBarPanel

Constructors

OfficeNavigationBarPanel()

Declaration

cs-api-definition
public OfficeNavigationBarPanel()

Fields

ItemsMaxCountProperty

Identifies the ItemsMaxCount dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsMaxCountProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation property. This is a dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

Properties

ItemsMaxCount

Gets or sets the ItemsMaxCount property. This property identifies the maximum number of items that will be arranged in the panel.

Declaration

cs-api-definition
public int ItemsMaxCount { get; set; }

Property Value

int

Orientation

Gets or sets a value that indicates the dimension by which child elements are stacked.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

The orientation.

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 once the element is arranged.

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
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.