Class GroupBarItemSelectionChangingEventArgs
Provides data for the GroupBarItemSelectionChanging event.
Inheritance
System.Object
GroupBarItemSelectionChangingEventArgs
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class GroupBarItemSelectionChangingEventArgs : CancelEventArgs
Remarks
The GroupBar control uses the GroupBarItemSelectionChanging event to allow users to cancel bar item selection. GroupBarItemSelectionChangingEventHandler
Constructors
GroupBarItemSelectionChangingEventArgs(Int32, Int32)
Initializes a new instance of the GroupBarItemSelectionChangingEventArgs class.
Declaration
public GroupBarItemSelectionChangingEventArgs(int nNewSelected, int nOldSelected)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nNewSelected | The newly selected item index. |
System.Int32 | nOldSelected | The old selected item index. |
Properties
NewSelected
Returns the newly selected index.
Declaration
public int NewSelected { get; }
Property Value
Type |
---|
System.Int32 |
OldSelected
Returns the previously selected index.
Declaration
public int OldSelected { get; }
Property Value
Type |
---|
System.Int32 |