New to Telerik UI for WPFStart a free 30-day trial

Event args wrapping the RadTabItem that has been changed (Closed / Pinned / Unpinned).

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class TabChangedEventArgs : RoutedEventArgs

Inheritance: objectTabChangedEventArgs

Derived Classes: PreviewTabChangedEventArgs

Constructors

Initializes a new instance of the TabChangedEventArgs class.

C#
public TabChangedEventArgs(RadTabItem tabItem, object dataContext, RoutedEvent routedEvent, object source)
Parameters:tabItemRadTabItem

The RadTabItem that is changed.

dataContextobject

The DataContext of the tab item.

routedEventRoutedEvent

The type of the event.

sourceobject

The source of the event.

Properties

The DataContext (if any) of the changed TabItem.

C#
public object DataContext { get; set; }

The RadTabItem that has been changed.

C#
public RadTabItem TabItem { get; set; }