menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridFilterBarChoicesEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridFilterBarChoicesEventArgs

    Used to provide their own filter bar for implementation

    Inheritance
    System.Object
    SyncfusionCancelEventArgs
    GridFilterBarChoicesEventArgs
    Inherited Members
    SyncfusionCancelEventArgs.ToString()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public sealed class GridFilterBarChoicesEventArgs : SyncfusionCancelEventArgs

    Constructors

    GridFilterBarChoicesEventArgs(String, Boolean)

    Constructor for GridFilterBarChoicesEventArg.

    Declaration
    public GridFilterBarChoicesEventArgs(string colName, bool shouldCreateSummaryDescriptor)
    Parameters
    Type Name Description
    System.String colName

    Column name.

    System.Boolean shouldCreateSummaryDescriptor

    True if summary descriptor should be created.

    Properties

    ColName

    The column for which choices should be shown

    Declaration
    [TraceProperty(true)]
    public string ColName { get; }
    Property Value
    Type
    System.String

    ShouldCreateSummaryDescriptor

    Set this property false if you do not want a summary being created for the specified column. The engine will raise the event with null (Nothing) in order to investigate for which columns it should create internal summaries.

    Declaration
    [TraceProperty(true)]
    public bool ShouldCreateSummaryDescriptor { get; set; }
    Property Value
    Type
    System.Boolean

    UniqueFilterBarValues

    When a user clicks on the dropdown button of a FilterBarCell then this event is raised and the Element will contain the element at the given filter bar row. You should then initialize this array with values that should be displayed in the dropdown.

    Declaration
    public object[] UniqueFilterBarValues { get; set; }
    Property Value
    Type
    System.Object[]
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved