New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class OfficeNavigationBarPanel : Panel

Inheritance: objectOfficeNavigationBarPanel

Constructors

C#
public OfficeNavigationBarPanel()

Fields

ItemsMaxCountProperty

DependencyProperty

Identifies the ItemsMaxCount dependency property.

C#
public static readonly DependencyProperty ItemsMaxCountProperty

OrientationProperty

DependencyProperty

Identifies the Orientation property. This is a dependency property.

C#
public static readonly DependencyProperty OrientationProperty

Properties

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

C#
public int ItemsMaxCount { get; set; }

Orientation

Orientation

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

C#
public Orientation Orientation { get; set; }
Property Value:

The orientation.

Methods

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

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

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.

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

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSize

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.