[]
        
(Showing Draft Content)

C1.WPF.Docking.C1DockPickerPart

C1DockPickerPart Class

The areas to drop a grabbed C1DockTabControl or C1DockTabItem.

Namespace: C1.WPF.Docking
Assembly: C1.WPF.Docking.4.6.2.dll
Syntax
[TemplateVisualState(Name = "DropPositionLeft", GroupName = "DropPositionStates")]
[TemplateVisualState(Name = "DropPositionTop", GroupName = "DropPositionStates")]
[TemplateVisualState(Name = "DropPositionRight", GroupName = "DropPositionStates")]
[TemplateVisualState(Name = "DropPositionBottom", GroupName = "DropPositionStates")]
[TemplateVisualState(Name = "DropPositionOver", GroupName = "DropPositionStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualState(Name = "DragOver", GroupName = "CommonStates")]
public class C1DockPickerPart : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
C1DockPickerPart()

Initializes a new instance of a C1DockPickerPart.

Fields

Name Description
DropPositionProperty

Identifies the DropPosition dependency property.

IsDragOverProperty

Identifies the IsDragOver dependency property.

IsOuterProperty

Identifies the IsOuter dependency property.

PickerStateProperty

Identifies the PickerState dependency property.

Properties

Name Description
DropPosition

Gets or sets the desired target position for the dragged C1DockTabControl or C1DockTabItem.

IsDragOver

Gets or sets a value that determines whether the user is dragging a C1DockTabItem or C1DockTabControl over the element.

IsOuter

Gets or sets a value that determines whether the picker part signals that the desired position is relative to the whole C1DockControl.

PickerState

Internal property. Bind it to the Picker property of the same name so that the picker part hides itself when necessary.

Methods

Name Description
ChangeVisualStateCommon(bool)

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

ChangeVisualStateDropPosition(bool)

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

OnApplyTemplate()

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