[]
        
(Showing Draft Content)

C1.WPF.Docking.C1DockTabItem

C1DockTabItem Class

Represents a selectable item in a C1DockTabControl.

Inheritance
C1DockTabItem
Namespace: C1.WPF.Docking
Assembly: C1.WPF.Docking.4.6.2.dll
Syntax
[TemplatePart(Name = "DockTabItemContent", Type = typeof(ContentPresenter))]
[TemplateVisualState(Name = "DockModeDocked", GroupName = "States")]
[TemplateVisualState(Name = "DockModeSliding", GroupName = "States")]
[TemplateVisualState(Name = "DockModeFloating", GroupName = "States")]
public class C1DockTabItem : C1TabItem

Constructors

Name Description
C1DockTabItem()

Initializes a new instance of a C1DockTabItem.

Fields

Name Description
CanUserFloatProperty

Identifies the CanUserFloat dependency property.

DockTabHeaderContentProperty

Identifies the C1.WPF.Docking.C1DockTabItem.DockTabHeaderContent dependency property.

SelectedHeaderTemplateProperty

Identifies the SelectedHeaderTemplate dependency property.

Properties

Name Description
CanUserFloat

Gets or sets a value that determines whether the user can change the DockMode property to DockMode.Floating.

SelectedHeaderTemplate

Gets or sets a data template that is used to display the Header in the context of the C1DockTabControl header banner.

Methods

Name Description
OnApplyTemplate()

Builds the visual tree for the C1DockTabItem control when a new template is applied.

OnMouseLeftButtonDown(MouseButtonEventArgs)

Called before the MouseLeftButtonDown event occurs.

OnSelected(RoutedEventArgs)

Handle OnSelected event