System.Windows.Forms.TabControlEventArgs Class

Provides data for the TabControl.Selected and TabControl.Deselected events of a System.Windows.Forms.TabControl control.

See Also: TabControlEventArgs Members

Syntax

public class TabControlEventArgs : EventArgs

Remarks

Use the TabControlEventArgs.Action property to determine which event is occurring. This enables you to handle multiple event types with one event handler.

Use the TabControlEventArgs.TabPage and TabControlEventArgs.TabPageIndex properties to determine which System.Windows.Forms.TabPage the event is occurring for.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0