Class 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.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class RadWrapPanel : Panel
Constructors
RadWrapPanel()
Fields
AnimationDurationProperty
Identifies the AnimationDuration dependency property.
Declaration
public static readonly DependencyProperty AnimationDurationProperty
Field Value
System.Windows.DependencyProperty
|
IsAnimatedProperty
Identifies the IsAnimated dependency property.
Declaration
public static readonly DependencyProperty IsAnimatedProperty
Field Value
System.Windows.DependencyProperty
|
ItemHeightProperty
Identifies the ItemHeight dependency property.
Declaration
public static readonly DependencyProperty ItemHeightProperty
Field Value
System.Windows.DependencyProperty
|
ItemWidthProperty
Identifies the ItemWidth dependency property.
Declaration
public static readonly DependencyProperty ItemWidthProperty
Field Value
System.Windows.DependencyProperty
|
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AnimationDuration
Gets or sets the duration of the animation.
Declaration
public int AnimationDuration { get; set; }
Property Value
System.Int32
The duration of the animation. |
IsAnimated
Gets or sets a value indicating whether this RadWrapPanel is animated.
Declaration
public bool IsAnimated { get; set; }
Property Value
System.Boolean
|
ItemHeight
Gets or sets a value that specifies the height of all items that are contained within a WrapPanel. This is a dependency property.
Declaration
public double ItemHeight { get; set; }
Property Value
System.Double
|
ItemWidth
Gets or sets a value that specifies the width of all items that are contained within a WrapPanel. This is a dependency property.
Declaration
public double ItemWidth { get; set; }
Property Value
System.Double
|
Orientation
Gets or sets a value that specifies the dimension in which child content is arranged. This is a dependency property.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Controls.Orientation
|
Methods
ArrangeElement(UIElement, Rect, Size)
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.
Declaration
protected virtual void ArrangeElement(UIElement element, Rect finalRect, Size finalSize)
Parameters
System.Windows.UIElement
element
|
System.Windows.Rect
finalRect
|
System.Windows.Size
finalSize
|
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 element should use to arrange itself and its children. |
Returns
System.Windows.Size
The actual size used. |
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 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
System.Windows.Size
The size that this element determines it needs during layout, based on its calculations of child element sizes. |