Represents a selectable item in a C1TabControl.

Namespace:  C1.WPF
Assembly:  C1.WPF (in C1.WPF.dll)

Syntax

C#
[TemplatePartAttribute(Name = "PinButton", Type = typeof(Button))]
[TemplateVisualStateAttribute(Name = "TopTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplateVisualStateAttribute(Name = "RightTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplateVisualStateAttribute(Name = "LeftTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplateVisualStateAttribute(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Pinned", GroupName = "PinModeStates")]
[TemplatePartAttribute(Name = "CloseButton", Type = typeof(Button))]
[TemplatePartAttribute(Name = "UnpinButton", Type = typeof(Button))]
[TemplatePartAttribute(Name = "StackPanelPinButtons", Type = typeof(FrameworkElement))]
[TemplateVisualStateAttribute(Name = "Selected", GroupName = "SelectionStates")]
[TemplateVisualStateAttribute(Name = "Unselected", GroupName = "SelectionStates")]
[TemplateVisualStateAttribute(Name = "BottomTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplatePartAttribute(Name = "HeaderPresenter", Type = typeof(ContentPresenter))]
[TemplateVisualStateAttribute(Name = "Unpinned", GroupName = "PinModeStates")]
[TemplateVisualStateAttribute(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Disabled", GroupName = "CommonStates")]
public class C1TabItem : ContentControl
Visual Basic
<TemplatePartAttribute(Name := "PinButton", Type := GetType(Button))> _
<TemplateVisualStateAttribute(Name := "TopTabStripPlacement", GroupName := "TabStripPlacementStates")> _
<TemplateVisualStateAttribute(Name := "RightTabStripPlacement", GroupName := "TabStripPlacementStates")> _
<TemplateVisualStateAttribute(Name := "LeftTabStripPlacement", GroupName := "TabStripPlacementStates")> _
<TemplateVisualStateAttribute(Name := "Normal", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Pinned", GroupName := "PinModeStates")> _
<TemplatePartAttribute(Name := "CloseButton", Type := GetType(Button))> _
<TemplatePartAttribute(Name := "UnpinButton", Type := GetType(Button))> _
<TemplatePartAttribute(Name := "StackPanelPinButtons", Type := GetType(FrameworkElement))> _
<TemplateVisualStateAttribute(Name := "Selected", GroupName := "SelectionStates")> _
<TemplateVisualStateAttribute(Name := "Unselected", GroupName := "SelectionStates")> _
<TemplateVisualStateAttribute(Name := "BottomTabStripPlacement", GroupName := "TabStripPlacementStates")> _
<TemplatePartAttribute(Name := "HeaderPresenter", Type := GetType(ContentPresenter))> _
<TemplateVisualStateAttribute(Name := "Unpinned", GroupName := "PinModeStates")> _
<TemplateVisualStateAttribute(Name := "MouseOver", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Disabled", GroupName := "CommonStates")> _
Public Class C1TabItem _
	Inherits ContentControl

Inheritance Hierarchy

See Also