Class TabViewItem
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
Properties
IsClosable
Gets or sets a value indicating whether the tab can be closed.
public bool IsClosable { get; set; }
Property Value
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