Class TabViewItemAddingEventArgs
Provides data for the TabAdding event.
public class TabViewItemAddingEventArgs : EventArgs
- Inheritance
-
TabViewItemAddingEventArgs
- Inherited Members
Properties
Cancel
Gets or sets a value indicating whether the default add operation should be canceled. Set this to true when the handler updates the collection itself.
public bool Cancel { get; set; }
Property Value
Item
Gets or sets the data item to add to ItemsSource. A bound model collection requires an item of its element type; the control does not create models automatically.
public object? Item { get; set; }
Property Value
TabItem
Gets or sets the tab item to be added. With unbound Items, a new TabViewItem is created when neither this property nor Item is supplied.
public TabViewItem? TabItem { get; set; }