Class FilterBarSelectedItemChangingEventArgs
Defines the class that provides data for FilterBarSelectedItemChanging event that occurs when an item is selected through the filtered dropdown.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public sealed class FilterBarSelectedItemChangingEventArgs : SyncfusionCancelEventArgs
Constructors
FilterBarSelectedItemChangingEventArgs(GridListControl, GridColumnDescriptor, Int32, String)
Initializes a new instances of the FilterBarSelectedItemChanging class.
Declaration
public FilterBarSelectedItemChangingEventArgs(GridListControl gridList, GridColumnDescriptor column, int selectedIndex, string selectedText)
Parameters
Type | Name | Description |
---|---|---|
GridListControl | gridList | An instance of the GridListControl class. |
GridColumnDescriptor | column | The column name. |
System.Int32 | selectedIndex | The index of the selected item. |
System.String | selectedText | The text value of the selected item. |
FilterBarSelectedItemChangingEventArgs(ListBox, GridColumnDescriptor, Int32, String)
Initializes a new instance of the FilterBarSelectedItemChangingEventArgs class.
Declaration
public FilterBarSelectedItemChangingEventArgs(ListBox list, GridColumnDescriptor column, int selectedIndex, string selectedText)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ListBox | list | The List box. |
GridColumnDescriptor | column | The column name. |
System.Int32 | selectedIndex | The index of the selected item. |
System.String | selectedText | The text value of the selected item. |
Properties
Column
Gets the value of currently selected column descriptor.
Declaration
public GridColumnDescriptor Column { get; }
Property Value
Type |
---|
GridColumnDescriptor |
SelectedIndex
Gets or sets the zero-based index of the currently selected item in a Filter bar.
Declaration
public int SelectedIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
SelectedText
Gets or sets the value for selected text of the filtered item.
Declaration
public string SelectedText { get; set; }
Property Value
Type |
---|
System.String |