[]
Represents a selectable item in a C1TabControl.
[StyleTypedProperty(Property = "CloseIconStyle", StyleTargetType = typeof(ContentControl))]
[StyleTypedProperty(Property = "CloseButtonStyle", StyleTargetType = typeof(C1Button))]
[StyleTypedProperty(Property = "PinIconStyle", StyleTargetType = typeof(ContentControl))]
[StyleTypedProperty(Property = "PinButtonStyle", StyleTargetType = typeof(C1Button))]
[StyleTypedProperty(Property = "UnpinIconStyle", StyleTargetType = typeof(ContentControl))]
[StyleTypedProperty(Property = "UnpinButtonStyle", StyleTargetType = typeof(C1Button))]
[StyleTypedProperty(Property = "TabHeaderStyle", StyleTargetType = typeof(C1TabItemPresenter))]
[StyleTypedProperty(Property = "SelectedTabHeaderStyle", StyleTargetType = typeof(C1TabItemPresenter))]
[TemplateVisualState(Name = "Selected", GroupName = "SelectionStates")]
[TemplateVisualState(Name = "Unselected", GroupName = "SelectionStates")]
[TemplateVisualState(Name = "LeftTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplateVisualState(Name = "TopTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplateVisualState(Name = "RightTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplateVisualState(Name = "BottomTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplatePart(Name = "CloseButton", Type = typeof(C1Button))]
[TemplatePart(Name = "HeaderPresenter", Type = typeof(ContentPresenter))]
[TemplatePart(Name = "PinButton", Type = typeof(C1Button))]
[TemplatePart(Name = "UnpinButton", Type = typeof(C1Button))]
[TemplatePart(Name = "StackPanelPinButtons", Type = typeof(FrameworkElement))]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Focused", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Pinned", GroupName = "PinModeStates")]
[TemplateVisualState(Name = "Unpinned", GroupName = "PinModeStates")]
public class C1TabItem : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IDisposable
| Name | Description |
|---|---|
| C1TabItem() | Initializes a new instance of the C1TabItem class. |
| Name | Description |
|---|---|
| CanUserCloseProperty | Identifies the CanUserClose dependency property. |
| CanUserPinProperty | Identifies the CanUserPin dependency property. |
| CloseButtonStyleProperty | Identifies the CloseButtonStyle dependency property. |
| CloseIconStyleProperty | Identifies the CloseIconStyle dependency property. |
| CloseIconTemplateProperty | Identifies the CloseIconTemplate dependency property. |
| HeaderProperty | Identifies the Header dependency property. |
| HeaderTemplateProperty | Identifies the HeaderTemplate dependency property. |
| HeaderTemplateSelectorProperty | Identifies the HeaderTemplateSelector dependency property. |
| IsSelectableProperty | Identifies the IsSelectable dependency property. |
| IsSelectedProperty | Identifies the IsSelected dependency property. |
| MouseOverBrushProperty | Identifies the MouseOverBrush dependency property. |
| PinButtonStyleProperty | Identifies the PinButtonStyle dependency property. |
| PinIconStyleProperty | Identifies the PinIconStyle dependency property. |
| PinIconTemplateProperty | Identifies the PinIconTemplate dependency property. |
| PressedBrushProperty | Identifies the PressedBrush dependency property. |
| SelectedTabHeaderStyleProperty | Identifies the SelectedTabHeaderStyle dependency property. |
| TabHeaderStyleProperty | Identifies the TabHeaderStyle dependency property. |
| TabShapeProperty | Identifies the TabShape dependency property. |
| UnpinButtonStyleProperty | Identifies the UnpinButtonStyle dependency property. |
| UnpinIconStyleProperty | Identifies the UnpinIconStyle dependency property. |
| UnpinIconTemplateProperty | Identifies the UnpinIconTemplate dependency property. |
| UnselectedContentModeProperty | Identifies the UnselectedContentMode dependency property. |
| Name | Description |
|---|---|
| CanUserClose | Gets or sets a value indicating whether the user is allowed to dismiss this C1TabItem. |
| CanUserPin | Gets or sets a value indicating whether the user is allowed to pin or unpin this C1TabItem. |
| CloseButtonStyle | Gets or sets the style of the close button. |
| CloseIconStyle | Gets or sets the style of the close icon. |
| CloseIconTemplate | Gets or sets the template of the close icon. |
| Header | Gets or sets the item that labels the control. |
| HeaderTemplate | Gets or sets a data template that is used to display the contents of the control's Header. |
| HeaderTemplateSelector | Gets or sets a data template selector that provides custom logic for choosing the template used to display the header. |
| IsDisposed | Gets whether this instance is disposed. |
| IsFocused | Gets whether the control is focused. |
| IsSelectable | Gets or sets a value indicating whether the user is allowed to select this C1TabItem. |
| IsSelected | Gets or sets a value indicating whether the TabItem is currently selected. |
| MouseOverBrush | Gets or sets the Brush used to highlight the control when it has the mouse over. |
| PinButtonStyle | Gets or sets the style of the pin button. |
| PinIconStyle | Gets or sets the style of the pin icon. |
| PinIconTemplate | Gets or sets the template of the pin icon. |
| PressedBrush | Gets or sets the Brush used to paint a button when it is pressed. |
| SelectedTabHeaderStyle | Gets or sets the style of the selected tab header. |
| TabHeaderStyle | Gets or sets the style of the tab header. |
| TabShape | Gets or sets the visual form of the control. |
| UnpinButtonStyle | Gets or sets the style of the unpin button. |
| UnpinIconStyle | Gets or sets the style of the unpin icon. |
| UnpinIconTemplate | Gets or sets the template of the unpin icon. |
| UnselectedContentMode | Gets or sets what is done with the content of unselected items. |
| Name | Description |
|---|---|
| ChangeVisualStateCommon(bool) | Updates the current visual state of the Common visual state group to match the object's properties. |
| ChangeVisualStatePinMode(bool) | Updates the current visual state of the PinMode visual state group to match the object's properties. |
| Dispose() | |
| Dispose(bool) | |
| Finalize() | Finalizes this instance of the C1TabItem class. |
| OnApplyTemplate() | |
| OnContentChanged(object, object) | Called when the value of the Content property changes. |
| OnContentTemplateChanged(DataTemplate, DataTemplate) | |
| OnKeyDown(KeyEventArgs) | Provides class handling for the KeyDown event that occurs when the user presses a key while this control has focus. |
| OnMouseLeftButtonDown(MouseButtonEventArgs) | Called before the MouseLeftButtonDown event occurs. |
| OnSelected(RoutedEventArgs) | Called to indicate that the IsSelected property has changed to true. |
| OnStyleChanged(Style, Style) | |
| OnUnselected(RoutedEventArgs) | Called to indicate that the IsSelected property has changed to false. |