Class FilterContext<T>
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Represents the current state of a filter in a MudDataGrid<T>.
public class FilterContext<T>
Type Parameters
T
The type of item managed by the MudDataGrid<T>.
- Inheritance
-
FilterContext<T>
- Inherited Members
- Extension Methods
Constructors
FilterContext(MudDataGrid<T>)
Creates a new instance.
public FilterContext(MudDataGrid<T> dataGrid)
Parameters
dataGrid
MudDataGrid<T>The MudDataGrid<T> managing this filter.
Properties
Actions
The behaviors which occur when filters are applied or cleared.
public FilterContext<T>.FilterActions Actions { get; }
Property Value
FilterDefinition
The definition of this filter.
public IFilterDefinition<T>? FilterDefinition { get; set; }
Property Value
FilterDefinitions
The definitions of all filters in the grid.
public List<IFilterDefinition<T>> FilterDefinitions { get; }
Property Value
Items
The items to filter.
public IEnumerable<T> Items { get; }
Property Value
- IEnumerable<T>
See Also
MudDataGrid<T>