Class RadUniformGrid
Uniform grid panel with orientation.
Inheritance
Namespace: Telerik.Windows.Controls.Primitives
Assembly: Telerik.Windows.Controls.dll
Syntax
public class RadUniformGrid : Panel
Constructors
RadUniformGrid()
Initializes a new instance of the RadUniformGrid class.
Declaration
public RadUniformGrid()
Fields
ChildrenFlowProperty
Identifies the ChildrenFlow dependency property.
Declaration
public static readonly DependencyProperty ChildrenFlowProperty
Field Value
System.Windows.DependencyProperty
|
ColumnsProperty
Identifies the Columns dependency property.
Declaration
public static readonly DependencyProperty ColumnsProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Columns dependency property. |
FirstColumnProperty
Identifies the FirstColumn dependency property.
Declaration
public static readonly DependencyProperty FirstColumnProperty
Field Value
System.Windows.DependencyProperty
The identifier for the FirstColumn dependency property. |
HideFirstColumnProperty
Identifies the HideFirstColumn dependency property.
Declaration
public static readonly DependencyProperty HideFirstColumnProperty
Field Value
System.Windows.DependencyProperty
|
HideFirstRowProperty
Identifies the HideFirstRow dependency property.
Declaration
public static readonly DependencyProperty HideFirstRowProperty
Field Value
System.Windows.DependencyProperty
|
PreserveSpaceForCollapsedChildrenProperty
Identifies the PreserveSpaceForCollapsedChildren dependency property.
Declaration
public static readonly DependencyProperty PreserveSpaceForCollapsedChildrenProperty
Field Value
System.Windows.DependencyProperty
|
RowsProperty
Identifies the Rows dependency property.
Declaration
public static readonly DependencyProperty RowsProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Rows dependency property. |
Properties
ChildrenFlow
Gets or sets a value that specifies the dimension in which child content is arranged.
Declaration
public Orientation ChildrenFlow { get; set; }
Property Value
System.Windows.Controls.Orientation
An System.Windows.Controls.Orientation value that represents the physical orientation of content within the RadUniformGrid as horizontal or vertical. The default value is System.Windows.Controls.Orientation.Horizontal. |
Columns
Gets or sets the number of columns that are in the grid.
Declaration
public int Columns { get; set; }
Property Value
System.Int32
The number of columns that are in the grid. The default value is zero (0). |
FirstColumn
Gets or sets the number of leading blank cells in the first row of the grid.
Declaration
public int FirstColumn { get; set; }
Property Value
System.Int32
The number of empty cells that are in the first row of the grid. The default value is zero (0). |
HideFirstColumn
Gets or sets value that hide or show the first column. This is a Dependency property.
Declaration
public bool HideFirstColumn { get; set; }
Property Value
System.Boolean
|
HideFirstRow
Gets or sets value that hide or show the first row. This is a Dependency property.
Declaration
public bool HideFirstRow { get; set; }
Property Value
System.Boolean
|
PreserveSpaceForCollapsedChildren
Gets or sets a value specifying whether a collapsed child's size should be preserved.
Declaration
public bool PreserveSpaceForCollapsedChildren { get; set; }
Property Value
System.Boolean
|
Rows
Gets or sets the number of rows that are in the grid.
Declaration
public int Rows { get; set; }
Property Value
System.Int32
The number of rows that are in the grid. The default value is zero (0). |
Methods
ArrangeOverride(Size)
Defines the layout of the RadUniformGrid by distributing space evenly among all of the child elements.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The System.Windows.Size of the area for the grid to use. |
Returns
System.Windows.Size
The actual System.Windows.Size of the grid that is rendered to display the child elements that are visible. |
MeasureOverride(Size)
Computes the desired size of the RadUniformGrid by measuring all of the child elements.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
The System.Windows.Size of the available area for the grid. |
Returns
System.Windows.Size
The desired System.Windows.Size based on the child content of the grid and the constraint parameter. |