ClassAddingNewTabEventArgs
Class
Event args used when new tab is being added via the 'Add' button in the UI.
Definition
Namespace:Telerik.Windows.Controls.TabbedWindow
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
cs-api-definition
public class AddingNewTabEventArgs : RoutedEventArgs
Inheritance: objectAddingNewTabEventArgs
Constructors
AddingNewTabEventArgs(RoutedEvent, object)
Initializes a new instance of the AddingNewTabEventArgs class.
Declaration
cs-api-definition
public AddingNewTabEventArgs(RoutedEvent routedEvent, object source)
Parameters
routedEvent
RoutedEvent
source
Properties
Cancel
Gets or sets a value indicating whether adding the new tab via add button should be cancelled.
Item
This will be the new RadTabItem created internally or the ViewModel user should provide in databinding scenarios. User can set properties to the RadTabItem like Header, Content or provide new instance of ViewModel to be added in the ItemsSource collection.