Class RadOrderedWrapPanel
Represents a panel that can display its children on two or three rows depending on the size it have. The items can be ordered differently in the compressed (3 row) and in normal (2 row) state.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.RibbonView.dll
Syntax
[TelerikToolboxCategory("Navigation")]
public class RadOrderedWrapPanel : Panel, IVariantControl
Constructors
RadOrderedWrapPanel()
Initializes a new instance of the RadOrderedWrapPanel class.
Declaration
public RadOrderedWrapPanel()
Fields
CompressedItemsOrderProperty
Identifies the CompressedItemsOrder property.
Declaration
public static readonly DependencyProperty CompressedItemsOrderProperty
Field Value
System.Windows.DependencyProperty
|
CompressedThresholdProperty
Identifies the CompressedThreshold property.
Declaration
public static readonly DependencyProperty CompressedThresholdProperty
Field Value
System.Windows.DependencyProperty
|
IsCompressedProperty
Identifies the IsCompressed property.
Declaration
public static readonly DependencyProperty IsCompressedProperty
Field Value
System.Windows.DependencyProperty
|
ItemSpacingProperty
Identifies the ItemSpacing property.
Declaration
public static readonly DependencyProperty ItemSpacingProperty
Field Value
System.Windows.DependencyProperty
|
RowSpacingProperty
Identifies the RowSpacing property.
Declaration
public static readonly DependencyProperty RowSpacingProperty
Field Value
System.Windows.DependencyProperty
|
Properties
CompressedItemsOrder
Gets or sets the compressed items order.
Declaration
public string CompressedItemsOrder { get; set; }
Property Value
System.String
The compressed items order. |
CompressedThreshold
Gets or sets the compressed threshold.
Declaration
public CollapseThreshold CompressedThreshold { get; set; }
Property Value
CollapseThreshold
The compressed threshold. |
IsCompressed
Gets or sets a value indicating whether this instance is compressed.
Declaration
public bool IsCompressed { get; }
Property Value
System.Boolean
|
ItemSpacing
Gets or sets the item spacing when the panel is in normal state.
Declaration
public double ItemSpacing { get; set; }
Property Value
System.Double
The item spacing. |
Remarks
The value of this property is ignored when in compressed state.
Methods
ArrangeOverride(Size)
Provides the behavior for the Arrange pass of Silverlight layout. 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. |
GetRowSpacing(DependencyObject)
Gets a value indicating the height spacing between the items.
Declaration
public static int GetRowSpacing(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Int32
|
MeasureOverride(Size)
Provides the behavior for the Measure pass of Silverlight layout. 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. |
OnCreateAutomationPeer()
Creates default FrameworkElementAutomationPeer for the panel.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
SetRowSpacing(DependencyObject, Int32)
Gets a value indicating the height spacing between the items.
Declaration
public static void SetRowSpacing(DependencyObject obj, int value)
Parameters
System.Windows.DependencyObject
obj
|
System.Int32
value
|
SetVariant(RibbonGroupVariant)
Sets the variant.
Declaration
public void SetVariant(RibbonGroupVariant variant)
Parameters
RibbonGroupVariant
variant
The variant. |