Class RadzenDataFilterProperty<TItem>
RadzenDataFilterProperty component. Must be placed inside a RadzenDataFilter<TItem>
Inheritance
Implements
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenDataFilterProperty<TItem> : ComponentBase, IDisposable
Type Parameters
Name | Description |
---|---|
TItem | The type of the DataFilter item. |
Properties
DataFilter
Gets or sets the DataFilter.
Declaration
public RadzenDataFilter<TItem> DataFilter { get; set; }
Property Value
Type | Description |
---|---|
RadzenDataFilter<TItem> | The DataFilter. |
FilterOperator
Gets or sets the filter operator.
Declaration
public FilterOperator FilterOperator { get; set; }
Property Value
Type | Description |
---|---|
FilterOperator | The filter operator. |
FilterPropertyType
Gets the filter property type.
Declaration
public Type FilterPropertyType { get; }
Property Value
Type | Description |
---|---|
Type |
FilterTemplate
Gets or sets the filter template.
Declaration
public RenderFragment<CompositeFilterDescriptor> FilterTemplate { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment<CompositeFilterDescriptor> | The filter template. |
FilterValue
Gets or sets the filter value.
Declaration
public object FilterValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The filter value. |
FormatString
Gets or sets the format string.
Declaration
public string FormatString { get; set; }
Property Value
Type | Description |
---|---|
System.String | The format string. |
IsSelected
Gets or sets a value indicating whether this property is selected in the filter.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Property
Gets or sets the property name.
Declaration
public string Property { get; set; }
Property Value
Type | Description |
---|---|
System.String | The property name. |
Title
Gets or sets the title.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String | The title. |
Type
Gets or sets the data type.
Declaration
public Type Type { get; set; }
Property Value
Type | Description |
---|---|
Type | The data type. |
Visible
Gets or sets a value indicating whether this RadzenDataGridColumn<TItem> is visible.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
ClearFilters()
Sets to default property filter values and operators.
Declaration
public void ClearFilters()
Dispose()
Disposes this instance.
Declaration
public void Dispose()
GetFilterOperator()
Get property filter operator.
Declaration
public FilterOperator GetFilterOperator()
Returns
Type | Description |
---|---|
FilterOperator |
GetFilterOperators()
Get possible property filter operators.
Declaration
public virtual IEnumerable<FilterOperator> GetFilterOperators()
Returns
Type | Description |
---|---|
IEnumerable<FilterOperator> |
GetFilterProperty()
Gets the filter property.
Declaration
public string GetFilterProperty()
Returns
Type | Description |
---|---|
System.String | System.String. |
GetFilterValue()
Get property filter value.
Declaration
public object GetFilterValue()
Returns
Type | Description |
---|---|
System.Object |
GetVisible()
Gets if the property is visible or not.
Declaration
public bool GetVisible()
Returns
Type | Description |
---|---|
System.Boolean | System.Boolean. |
OnInitialized()
Called when initialized.
Declaration
protected override void OnInitialized()
SetFilterOperator(Nullable<FilterOperator>)
Set property filter operator.
Declaration
public void SetFilterOperator(FilterOperator? value)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<FilterOperator> | value |
SetFilterValue(Object)
Set property filter value.
Declaration
public void SetFilterValue(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
SetParametersAsync(ParameterView)
Set parameters as an asynchronous operation.
Declaration
public override async Task SetParametersAsync(ParameterView parameters)
Parameters
Type | Name | Description |
---|---|---|
ParameterView | parameters | The parameters. |
Returns
Type | Description |
---|---|
Task | A Task representing the asynchronous operation. |