Interface IFilterElement
Provides the common properties of FilterElement that have been used in FilterRow and AdvancedFiltering in SfDataGrid.
Namespace: Syncfusion.UI.Xaml.Grids
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public interface IFilterElement
Properties
ActualValue
Gets or sets the actual value of the corresponding record in the filter column.
Declaration
object ActualValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The actual value which is same as the value of the undelying record in the filter column. |
DisplayText
Gets or sets the formatted text for the actual value of the corresponding record.
Declaration
string DisplayText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The formatted display text.Which is differ from the actual value of the corresponding record. |
FormattedString
Gets or sets the formatted string for the actual value of the corresponding record in the filter column. And it encapsulates the GetFormattedString(Object) method to convert the actual value to the formatted text.
Declaration
Func<object, string> FormattedString { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.Object, System.String> | Returns the formatted string for the actual value of the corresponding record. |