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

Describes a column in the State.

Definition

Namespace:Telerik.Blazor.Components.Common.Grid.State

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class GridColumnStateBase

Inheritance: objectGridColumnStateBase

Derived Classes: GridColumnStateTreeListColumnState

Constructors

C#
public GridColumnStateBase()
C#
public GridColumnStateBase(int index, string width, bool? visible)
Parameters:indexintwidthstringvisiblebool?

Properties

Gets the Field of the column, if it has one set.

C#
public string Field { get; }

Gets the Id of the column, if it has one set.

C#
public string Id { get; }

The position of the column in the column list.

C#
public int Index { get; set; }

Specifies if the column is locked.

C#
public bool Locked { get; set; }

The flag that controls if the column is visible.

C#
public bool? Visible { get; set; }

The width of the column.

C#
public string Width { get; set; }