Table of Contents

Class TabViewItemAddingEventArgs

Namespace
Wpf.Ui.Controls
Assembly
Wpf.Ui.dll

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

bool

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

object

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; }

Property Value

TabViewItem