alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class FilterElement

    Represents a class which is used to provide information about filter value.

    Inheritance
    System.Object
    FilterElement
    Implements
    System.ComponentModel.INotifyPropertyChanged
    IFilterElement
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.WinForms.DataGrid.GridFiltering
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public class FilterElement : INotifyPropertyChanged, IFilterElement

    Constructors

    FilterElement()

    Declaration
    public FilterElement()

    Properties

    ActualValue

    Gets or sets the actual value.

    Declaration
    public 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
    public string DisplayText { get; set; }
    Property Value
    Type
    System.String

    FormattedValue

    Gets or sets the formatted string. Encapsulates a DataGridFilterControl.GetFormattedString method to convert the ActualValue with formatting in GridFilterElement

    Declaration
    public Func<object, string> FormattedValue { get; set; }
    Property Value
    Type Description
    System.Func<System.Object, System.String>

    The formatted string.

    IsSelected

    Gets or sets a value indicating whether this instance is selected.

    Declaration
    public bool IsSelected { get; set; }
    Property Value
    Type
    System.Boolean

    Methods

    Clone()

    Clones the current instance.

    Declaration
    public object Clone()
    Returns
    Type Description
    System.Object

    Returns the shallow copy of the current instance.

    RaisePropertyChanged(String)

    Raises the property changed.

    Declaration
    public void RaisePropertyChanged(string propertyName)
    Parameters
    Type Name Description
    System.String propertyName

    The name of the property.

    Events

    PropertyChanged

    Occurs when the property changed is detected.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    IFilterElement
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved