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:
public class OfficeNavigationBarPanel : Panel
Inheritance: objectOfficeNavigationBarPanel
Constructors
public OfficeNavigationBarPanel()
Fields
ItemsMaxCountProperty
DependencyProperty
Identifies the ItemsMaxCount dependency property.
public static readonly DependencyProperty ItemsMaxCountProperty
OrientationProperty
DependencyProperty
Identifies the Orientation property. This is a dependency property.
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.
public int ItemsMaxCount { get; set; }
Orientation
Orientation
Gets or sets a value that indicates the dimension by which child elements are stacked.
public Orientation Orientation { get; set; }
The orientation.
Methods
Provides the behavior for the Arrange layout pass. Classes can override this method to define their own Arrange pass behavior.
protected override Size ArrangeOverride(Size finalSize)
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.
protected override Size MeasureOverride(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:Size
The size that this object determines it needs during layout, based on its calculations of child object allotted sizes.