Table of Contents

Class RadzenDataFilterProperty<TItem>

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

RadzenDataFilterProperty component. Must be placed inside a RadzenDataFilter<TItem>

public class RadzenDataFilterProperty<TItem> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Type Parameters

TItem

The type of the DataFilter item.

Inheritance
RadzenDataFilterProperty<TItem>
Implements
Inherited Members

Constructors

RadzenDataFilterProperty()

public RadzenDataFilterProperty()

Properties

DataFilter

Gets or sets the DataFilter.

[CascadingParameter]
public RadzenDataFilter<TItem> DataFilter { get; set; }

Property Value

RadzenDataFilter<TItem>

The DataFilter.

FilterOperator

Gets or sets the filter operator.

[Parameter]
public FilterOperator FilterOperator { get; set; }

Property Value

FilterOperator

The filter operator.

FilterPropertyType

Gets the filter property type.

public Type FilterPropertyType { get; }

Property Value

Type

FilterTemplate

Gets or sets the filter template.

[Parameter]
public RenderFragment<CompositeFilterDescriptor> FilterTemplate { get; set; }

Property Value

RenderFragment<CompositeFilterDescriptor>

The filter template.

FilterValue

Gets or sets the filter value.

[Parameter]
public object FilterValue { get; set; }

Property Value

object

The filter value.

FormatString

Gets or sets the format string.

[Parameter]
public string FormatString { get; set; }

Property Value

string

The format string.

IsSelected

Gets or sets a value indicating whether this property is selected in the filter.

[Parameter]
public bool IsSelected { get; set; }

Property Value

bool

true, if already selected; otherwise false.

Property

Gets or sets the property name.

[Parameter]
public string Property { get; set; }

Property Value

string

The property name.

Title

Gets or sets the title.

[Parameter]
public string Title { get; set; }

Property Value

string

The title.

Type

Gets or sets the data type.

[Parameter]
public Type Type { get; set; }

Property Value

Type

The data type.

Visible

Gets or sets a value indicating whether this RadzenDataGridColumn<TItem> is visible.

[Parameter]
public bool Visible { get; set; }

Property Value

bool

true if visible; otherwise, false.

Methods

ClearFilters()

Sets to default property filter values and operators.

public void ClearFilters()

Dispose()

Disposes this instance.

public void Dispose()

GetFilterOperator()

Get property filter operator.

public FilterOperator GetFilterOperator()

Returns

FilterOperator

GetFilterOperators()

Get possible property filter operators.

public virtual IEnumerable<FilterOperator> GetFilterOperators()

Returns

IEnumerable<FilterOperator>

GetFilterProperty()

Gets the filter property.

public string GetFilterProperty()

Returns

string

System.String.

GetFilterValue()

Get property filter value.

public object GetFilterValue()

Returns

object

GetVisible()

Gets if the property is visible or not.

public bool GetVisible()

Returns

bool

System.Boolean.

OnInitialized()

Called when initialized.

protected override void OnInitialized()

SetFilterOperator(FilterOperator?)

Set property filter operator.

public void SetFilterOperator(FilterOperator? value)

Parameters

value FilterOperator?

SetFilterValue(object)

Set property filter value.

public void SetFilterValue(object value)

Parameters

value object

SetParametersAsync(ParameterView)

Set parameters as an asynchronous operation.

public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters ParameterView

The parameters.

Returns

Task

A Task representing the asynchronous operation.