RadWrapPanel
Positions child elements in sequential position from left to right, breaking content to the next line at the edge of the containing box. Subsequent ordering happens sequentially from top to bottom or from right to left, depending on the value of the Orientation property.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class RadWrapPanel : Panel
Inheritance: objectRadWrapPanel
Derived Classes:
Constructors
Initializes a new instance of the RadWrapPanel class.
public RadWrapPanel()
Fields
AnimationDurationProperty
DependencyProperty
Identifies the AnimationDuration dependency property.
public static readonly DependencyProperty AnimationDurationProperty
IsAnimatedProperty
DependencyProperty
Identifies the IsAnimated dependency property.
public static readonly DependencyProperty IsAnimatedProperty
ItemHeightProperty
DependencyProperty
Identifies the ItemHeight dependency property.
public static readonly DependencyProperty ItemHeightProperty
ItemWidthProperty
DependencyProperty
Identifies the ItemWidth dependency property.
public static readonly DependencyProperty ItemWidthProperty
OrientationProperty
DependencyProperty
Identifies the Orientation dependency property.
public static readonly DependencyProperty OrientationProperty
Properties
Gets or sets the duration of the animation.
public int AnimationDuration { get; set; }
The duration of the animation.
Gets or sets a value indicating whether this RadWrapPanel is animated.
public bool IsAnimated { get; set; }
True if this instance is animated; otherwise, false.
Gets or sets a value that specifies the height of all items that are contained within a WrapPanel. This is a dependency property.
public double ItemHeight { get; set; }
Gets or sets a value that specifies the width of all items that are contained within a WrapPanel. This is a dependency property.
public double ItemWidth { get; set; }
Orientation
Orientation
Gets or sets a value that specifies the dimension in which child content is arranged. This is a dependency property.
public Orientation Orientation { get; set; }
Methods
Provides the behavior for the "arrange" pass of Silverlight layout for each children of the RadWrapPanel. Classes can override this method to define their own arrange pass behavior.
protected virtual void ArrangeElement(UIElement element, Rect finalRect, Size finalSize)
Provides the behavior for the "Arrange" pass of Silverlight layout. 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 element should use to arrange itself and its children.
Returns:Size
The actual size used.
Provides the behavior for the "measure" pass of Silverlight layout. Classes can override this method to define their own measure pass behavior.
protected override Size MeasureOverride(Size availableSize)
The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.
Returns:Size
The size that this element determines it needs during layout, based on its calculations of child element sizes.