Class TabViewItemClosingEventArgs
Provides data for the TabClosing event.
public class TabViewItemClosingEventArgs : EventArgs
- Inheritance
-
TabViewItemClosingEventArgs
- Inherited Members
Constructors
TabViewItemClosingEventArgs(TabViewItem)
Initializes a new instance of the TabViewItemClosingEventArgs class.
public TabViewItemClosingEventArgs(TabViewItem tabItem)
Parameters
tabItemTabViewItem
Properties
Cancel
Gets or sets a value indicating whether the default close operation should be canceled. Set this to true when the handler updates the collection itself.
public bool Cancel { get; set; }
Property Value
Item
Gets the data item represented by TabItem.
public object? Item { get; }
Property Value
TabItem
Gets the tab item that is being closed.
public TabViewItem TabItem { get; }