TabControlSelectionChangingEventArgs(Int32, Int32, Object, Object) Constructor
Initializes a new instance of the TabControlSelectionChangingEventArgs class.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
public TabControlSelectionChangingEventArgs(
int oldSelectedIndex,
int newSelectedIndex,
object oldSelectedItem,
object newSelectedItem
)
#Parameters
Name | Type | Description |
---|---|---|
old |
Int32 | A zero-based integer value that specifies the index of the previously selected tab item. This value is assigned to the Tab |
new |
Int32 | A zero-based integer value that specifies the index of the currently selected tab item. This value is assigned to the Tab |
old |
Object | A data item that corresponds to the previously selected tab item. This value is assigned to the Tab |
new |
Object | A data item that corresponds to the currently selected tab item. This value is assigned to the Tab |
#Remarks
Instances of the TabControlSelectionChangingEventArgs class are automatically created, initialized and passed to the DXTabControl.SelectionChanging event handlers. Typically, there is no need to call this constructor directly from your code.