Class FilterBarSelectionChangingEventArgs
Provides data for GridGroupingControl.FilterBarSelectionItemChanging event which occurs when an item selected through the filtered dropdown.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class FilterBarSelectionChangingEventArgs : SyncfusionCancelEventArgs
Constructors
FilterBarSelectionChangingEventArgs(GridListControl, String, Int32, String)
Provides data for GridGroupingControl.FilterBarSelectionItemChanging event which occurs when filter selection has been changed.
Declaration
public FilterBarSelectionChangingEventArgs(GridListControl gridList, string colname, int selectedIndex, string selectedText)
Parameters
Type | Name | Description |
---|---|---|
GridListControl | gridList | GridListControl. |
System.String | colname | GridColumnDescriptor. |
System.Int32 | selectedIndex | Index of the selected item. |
System.String | selectedText | Text of the selected item. |
FilterBarSelectionChangingEventArgs(ListBox, String, Int32, String)
Initializes a new instance of the FilterBarSelectionChangingEventArgs class.
Declaration
public FilterBarSelectionChangingEventArgs(ListBox list, string colName, int selectedIndex, string selectedText)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ListBox | list | List box. |
System.String | colName | GridColumnDescriptor. |
System.Int32 | selectedIndex | Index of the selected item. |
System.String | selectedText | Text of the selected item. |
Properties
ColName
Gets the currently selected column descriptor.
Declaration
public string ColName { get; }
Property Value
Type |
---|
System.String |
SelectedIndex
Gets/Sets the selected index of the filtered item.
Declaration
public int SelectedIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
SelectedText
Gets/Sets the selected text of the filtered item.
Declaration
public string SelectedText { get; set; }
Property Value
Type |
---|
System.String |