Class FilterElement
Represents the class that is used to provide information about the filter value ie.DispalyText, ActualValue and FormattedString.
Inheritance
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class FilterElement : Object, INotifyPropertyChanged, IFilterElement
Constructors
FilterElement()
Declaration
public FilterElement()
Properties
ActualValue
Gets or sets the actual value of the corresponding record in the filter column.
Declaration
public 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
public 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 a the
Declaration
public 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. |
IsSelected
Gets or sets a value that indicates whether this instance is selected or not in the CheckboxFilterControl.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
Clone()
Creates a shallow copy of the current object.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object | A shallow copy of the current object. |
RaisePropertyChanged(String)
Raises the property changed.
Declaration
public void RaisePropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Name of the property. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |