Class OutlookBarPanel
Stack-a-like panel used by RadOutlookBar to arrange its children in the ActiveArea.
Inheritance
Namespace: Telerik.Windows.Controls.OutlookBar
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class OutlookBarPanel : Panel
Constructors
OutlookBarPanel()
Declaration
public OutlookBarPanel()
Fields
ItemsCountProperty
Identifies the ItemsCount dependency property.
Declaration
public static readonly DependencyProperty ItemsCountProperty
Field Value
System.Windows.DependencyProperty
|
ItemsMaxCountProperty
Identifies the ItemsMaxCount dependency property.
Declaration
public static readonly DependencyProperty ItemsMaxCountProperty
Field Value
System.Windows.DependencyProperty
|
OrientationProperty
Identifies the Orientation property. This is a dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ItemsCount
Gets or sets the ItemsMaxCount property. This property identifies the number of items that will be arranged in the panel.
Declaration
public int ItemsCount { get; set; }
Property Value
System.Int32
|
ItemsMaxCount
Gets or sets the ItemsMaxCount property. This property identifies the maximum number of items that will be arranged in the panel.
Declaration
public int ItemsMaxCount { get; set; }
Property Value
System.Int32
|
Orientation
Gets or sets a value that indicates the dimension by which child elements are stacked.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Controls.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
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 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
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. |
OnItemsMaxCountChanged(Int32, Int32)
Called when ItemsMaxCount changes value.
Declaration
protected virtual void OnItemsMaxCountChanged(int oldValue, int newValue)
Parameters
System.Int32
oldValue
The old value. |
System.Int32
newValue
The new value. |