Table of Contents

Class CellContext<T>

Namespace
MudBlazor
Assembly
MudBlazor.dll

Represents the current state of a cell in a MudDataGrid<T>.

public class CellContext<T>

Type Parameters

T

The type of item displayed in the cell.

Inheritance
CellContext<T>
Inherited Members
Extension Methods

Constructors

CellContext(MudDataGrid<T>, T)

Creates a new instance.

public CellContext(MudDataGrid<T> dataGrid, T item)

Parameters

dataGrid MudDataGrid<T>

The data grid which owns this context.

item T

The item displayed in the cell.

Properties

Actions

The behaviors which can be performed in the cell.

public CellContext<T>.CellActions Actions { get; }

Property Value

CellContext<T>.CellActions

Item

The item displayed in the cell.

public T Item { get; set; }

Property Value

T

Open

Indicates if the cell is currently in an open hierarchy.

public bool Open { get; }

Property Value

bool

Selected

Indicates if the cell is currently selected.

public bool Selected { get; }

Property Value

bool