[]
        
(Showing Draft Content)

C1.WPF.TabControl.C1TabItemPresenter

C1TabItemPresenter Class

Internal element used in both C1TabItem and C1DockTabItem to avoid repetition.

Inheritance
C1TabItemPresenter
Namespace: C1.WPF.TabControl
Assembly: C1.WPF.TabControl.dll
Syntax
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Focused", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "LeftTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplateVisualState(Name = "TopTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplateVisualState(Name = "RightTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplateVisualState(Name = "BottomTabStripPlacement", GroupName = "TabStripPlacementStates")]
public class C1TabItemPresenter : C1ContentControl

Constructors

Name Description
C1TabItemPresenter()

Initializes a new instance of the C1TabItemPresenter class.

Fields

Name Description
MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

PressedBrushProperty

Identifies the PressedBrush dependency property.

RotationAngleProperty

Defines the RotationAngle dependency property.

TabShapeProperty

Identifies the TabShape dependency property.

TabStripPlacementProperty

Identifies the TabStripPlacement dependency property.

Properties

Name Description
IsFocused

Gets whether the control is focused.

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.

RotationAngle

Gets or sets the rotation angle.

TabShape

Gets or sets the visual form of the control.

TabStripPlacement

Gets or sets the location of the panel with the tabs relative to the whole control.

Methods

Name Description
ChangeVisualStateCommon(bool)

Updates the current visual state of the Common visual state group to match the object's properties.

ChangeVisualStateTabStripPlacement(bool)

Updates the current visual state of the TabStripPlacement visual state group to match the object's properties.

Dispose(bool)
OnApplyTemplate()