Table of Contents

Class TabViewItem

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

Represents a single tab within a TabView.

[TemplatePart(Name = "PART_CloseButton", Type = typeof(Button))]
public class TabViewItem : TabItem, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild
Inheritance
TabViewItem
Implements
Inherited Members

Fields

IsClosableProperty

Identifies the IsClosable dependency property.

public static readonly DependencyProperty IsClosableProperty

Field Value

DependencyProperty

Properties

IsClosable

Gets or sets a value indicating whether the tab can be closed.

public bool IsClosable { get; set; }

Property Value

bool

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

Events

CloseRequested

Occurs when the close button is clicked.

public event RoutedEventHandler? CloseRequested

Event Type

RoutedEventHandler