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

This class defines a panel capable of arranging its child elements in either two or three rows based on its size. The layout of the items can vary between the compressed (three-row) and normal (two-row) states.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

C#
[TelerikToolboxCategory("Navigation")]
public class RadOrderedWrapPanel : Panel, IVariantControl

Inheritance: objectRadOrderedWrapPanel

Implements: IVariantControl

Constructors

Initializes a new instance of the RadOrderedWrapPanel class.

C#
public RadOrderedWrapPanel()

Fields

Identifies the CompressedItemsOrder property.

C#
public static readonly DependencyProperty CompressedItemsOrderProperty

CompressedThresholdProperty

DependencyProperty

Identifies the CompressedThreshold property.

C#
public static readonly DependencyProperty CompressedThresholdProperty

IsCompressedProperty

DependencyProperty

Identifies the IsCompressed property.

C#
public static readonly DependencyProperty IsCompressedProperty

ItemSpacingProperty

DependencyProperty

Identifies the ItemSpacing property.

C#
public static readonly DependencyProperty ItemSpacingProperty

RowSpacingProperty

DependencyProperty

Identifies the RowSpacing property.

C#
public static readonly DependencyProperty RowSpacingProperty

Properties

Gets or sets the compressed items order.

C#
public string CompressedItemsOrder { get; set; }
Property Value:

The compressed items order.

Gets or sets the compressed threshold.

C#
public CollapseThreshold CompressedThreshold { get; set; }
Property Value:

The compressed threshold.

Gets or sets a value indicating whether this instance is compressed.

C#
public bool IsCompressed { get; }
Property Value:

True if this instance is compressed; otherwise, false.

Gets or sets the item spacing when the panel is in normal state.

C#
public double ItemSpacing { get; set; }
Property Value:

The item spacing.

Remarks:

The value of this property is ignored when in compressed state.

Methods

Provides the behavior for the Arrange pass of Silverlight layout. 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.

Gets a value indicating the height spacing between the items.

C#
public static int GetRowSpacing(DependencyObject obj)
Parameters:objDependencyObjectReturns:

int

Provides the behavior for the Measure pass of Silverlight layout. 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.

Creates default FrameworkElementAutomationPeer for the panel.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

Gets a value indicating the height spacing between the items.

C#
public static void SetRowSpacing(DependencyObject obj, int value)
Parameters:objDependencyObjectvalueint

Sets the variant.

C#
public void SetVariant(RibbonGroupVariant variant)
Parameters:variantRibbonGroupVariant

The variant.

Implements: IVariantControl.SetVariant(RibbonGroupVariant)