[]
Represents a selectable item in a C1TabControl.
[TemplatePart(Name = "CloseButton", Type = typeof(Button))]
[TemplatePart(Name = "HeaderPresenter", Type = typeof(ContentPresenter))]
[TemplatePart(Name = "PinButton", Type = typeof(Button))]
[TemplatePart(Name = "UnpinButton", Type = typeof(Button))]
[TemplatePart(Name = "StackPanelPinButtons", Type = typeof(FrameworkElement))]
[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")]
[TemplateVisualState(Name = "Pinned", GroupName = "PinModeStates")]
[TemplateVisualState(Name = "Unpinned", GroupName = "PinModeStates")]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
public class C1TabItem : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
Name | Description |
---|---|
C1TabItem() | Initializes a new instance of a C1TabItem. |
Name | Description |
---|---|
CanUserCloseProperty | Identifies the CanUserClose dependency property. |
CanUserPinProperty | Identifies the CanUserPin 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. |
PressedBrushProperty | Identifies the PressedBrush dependency property. |
SelectedBackgroundProperty | Identifies the SelectedBackground dependency property. |
TabShapeProperty | Identifies the TabShape 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. |
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. |
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. |
PressedBrush | Gets or sets the Brush used to paint a button when it is pressed. |
SelectedBackground | Gets or sets the Brush used to highlight the control when it is selected. |
TabShape | Gets or sets the visual form of the control. |
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. |
OnApplyTemplate() | Builds the visual tree for the C1TabItem control when a new template is applied. |
OnContentChanged(object, object) | Called when the value of the Content property changes. |
OnCreateAutomationPeer() | Gets an AutomationPeer object used for testing the control. |
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. |
OnPropertyChanged(DependencyPropertyChangedEventArgs) | Invoked whenever the effective value of any dependency property has been updated. |
OnSelected(RoutedEventArgs) | Called to indicate that the IsSelected property has changed to true. |
OnUnselected(RoutedEventArgs) | Called to indicate that the IsSelected property has changed to false. |
Name | Description |
---|---|
IsMouseOverChanged | Event raised when the IsMouseOver property has changed. |