[]
        
(Showing Draft Content)

C1.WPF.Docking.C1DockPickerPart

C1DockPickerPart Class

An overlay that appears over C1.Xaml.Docking.C1DockTabControl instances when the user is dragging a C1.Xaml.Docking.C1DockTabControl or C1.Xaml.Docking.C1DockTabItem.

Inheritance
C1DockPickerPart
Namespace: C1.WPF.Docking
Assembly: C1.WPF.Docking.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, IDisposable

Constructors

Name Description
C1DockPickerPart()

Initializes a new instance of the C1DockPickerPart class.

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.

IsDisposed

Gets whether this instance is disposed.

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.

Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the C1DockPickerPart class.

OnApplyTemplate()