Class
RadUniformGrid

Represents a responsive layout panel which arranges items in a evenly-spaced set of rows or columns to fill the total available display space.

Definition

Namespace:Telerik.UI.Xaml.Controls.Primitives

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadUniformGrid : Panel

Inheritance: objectRadUniformGrid

Constructors

RadUniformGrid()

Initializes a new instance of the RadUniformGrid class.

Declaration

cs-api-definition
public RadUniformGrid()

Fields

ChildrenFlowProperty

Identifies the ChildrenFlow dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ChildrenFlowProperty

Field Value

DependencyProperty

ColumnsProperty

Identifies the Columns dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnsProperty

Field Value

DependencyProperty

FirstColumnProperty

Identifies the FirstColumn dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FirstColumnProperty

Field Value

DependencyProperty

The identifier for the FirstColumn dependency property.

HideFirstColumnProperty

Identifies the HideFirstColumn dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HideFirstColumnProperty

Field Value

DependencyProperty

HideFirstRowProperty

Identifies the HideFirstRow dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HideFirstRowProperty

Field Value

DependencyProperty

PreserveSpaceForCollapsedChildrenProperty

Identifies the PreserveSpaceForCollapsedChildren dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PreserveSpaceForCollapsedChildrenProperty

Field Value

DependencyProperty

RowsProperty

Identifies the Rows dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RowsProperty

Field Value

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

cs-api-definition
public Orientation ChildrenFlow { get; set; }

Property Value

Orientation

An value that represents the physical orientation of content within the RadUniformGrid as horizontal or vertical. The default value is .

Columns

Gets or sets the number of columns that are in the grid.

Declaration

cs-api-definition
public int Columns { get; set; }

Property Value

int

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

cs-api-definition
public int FirstColumn { get; set; }

Property Value

int

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

cs-api-definition
public bool HideFirstColumn { get; set; }

Property Value

bool

HideFirstRow

Gets or sets value that hide or show the first row. This is a Dependency property.

Declaration

cs-api-definition
public bool HideFirstRow { get; set; }

Property Value

bool

PreserveSpaceForCollapsedChildren

Gets or sets a value specifying whether a collapsed child's size should be preserved.

Declaration

cs-api-definition
public bool PreserveSpaceForCollapsedChildren { get; set; }

Property Value

bool

Rows

Gets or sets the number of rows that are in the grid.

Declaration

cs-api-definition
public int Rows { get; set; }

Property Value

int

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

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

The of the area for the grid to use.

Returns

Size

The actual 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

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

The of the available area for the grid.

Returns

Size

The desired based on the child content of the grid and the constraint parameter.