Interface IFilterElement
Provides the common properties of FilterElement that have been used in FilterRow and AdvancedFiltering in SfDataGrid.
Namespace: Syncfusion.WinForms.DataGrid.GridFiltering
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public interface IFilterElement
Properties
ActualValue
Gets or sets the actual value.
Declaration
object ActualValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The actual value. |
DisplayText
Gets or sets the formatted value to display and filter.
Declaration
string DisplayText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
FormattedValue
Gets or sets the formatted string. Encapsulates a DataGridFilterControl.GetFormattedString method to convert the ActualValue with formatting in GridFilterElement
Declaration
Func<object, string> FormattedValue { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.Object, System.String> | The formatted string. |