TabViewItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Item Container for a TabView.
[Windows.UI.Xaml.TemplatePart(Name="CloseButton", Type=typeof(Windows.UI.Xaml.Controls.Primitives.ButtonBase))]
public class TabViewItem : Windows.UI.Xaml.Controls.ListViewItem
[<Windows.UI.Xaml.TemplatePart(Name="CloseButton", Type=typeof(Windows.UI.Xaml.Controls.Primitives.ButtonBase))>]
type TabViewItem = class
inherit ListViewItem
Public Class TabViewItem
Inherits ListViewItem
- Inheritance
-
Windows.UI.Xaml.Controls.ListViewItemTabViewItem
- Attributes
-
Windows.UI.Xaml.TemplatePartAttribute
Constructors
TabViewItem() |
Initializes a new instance of the TabViewItem class. |
Fields
HeaderProperty |
Identifies the Header dependency property. |
HeaderTemplateProperty |
Identifies the HeaderTemplate dependency property. |
IconProperty |
Identifies the Icon dependency property. |
IsClosableProperty |
Identifies the IsClosable dependency property. |
Properties
Header |
Gets or sets the header content for the tab. |
HeaderTemplate |
Gets or sets the template to override for the tab header. |
Icon |
Gets or sets the icon to appear in the tab header. |
IsClosable |
Gets or sets a value indicating whether the tab can be closed by the user with the close button. |
Methods
OnApplyTemplate() | Windows.UI.Xaml.Controls.ListViewItem.OnApplyTemplate |
OnPointerPressed(PointerRoutedEventArgs) | Windows.UI.Xaml.Controls.ListViewItem.OnPointerPressed(Windows.UI.Xaml.Input.PointerRoutedEventArgs) |
OnPointerReleased(PointerRoutedEventArgs) | Windows.UI.Xaml.Controls.ListViewItem.OnPointerReleased(Windows.UI.Xaml.Input.PointerRoutedEventArgs) |
Events
Closing |
Fired when the Tab's close button is clicked. |