Table of Contents

Class TabViewItemClosingEventArgs

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

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

tabItem TabViewItem

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

bool

Item

Gets the data item represented by TabItem.

public object? Item { get; }

Property Value

object

TabItem

Gets the tab item that is being closed.

public TabViewItem TabItem { get; }

Property Value

TabViewItem