[]
        
(Showing Draft Content)

C1.WPF.Docking.C1DockPreview

C1DockPreview Class

Represents a passive overlay signaling the relative projected destination of the grabbed C1DockTabControl or C1DockTabItem that appears when the mouse hovers over a C1DockPickerPart.

Namespace: C1.WPF.Docking
Assembly: C1.WPF.Docking.4.6.2.dll
Syntax
[TemplateVisualState(Name = "PreviewLeft", GroupName = "PreviewStates")]
[TemplateVisualState(Name = "PreviewTop", GroupName = "PreviewStates")]
[TemplateVisualState(Name = "PreviewRight", GroupName = "PreviewStates")]
[TemplateVisualState(Name = "PreviewBottom", GroupName = "PreviewStates")]
[TemplateVisualState(Name = "PreviewOver", GroupName = "PreviewStates")]
[TemplateVisualState(Name = "PreviewNone", GroupName = "PreviewStates")]
public class C1DockPreview : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
C1DockPreview()

Initializes a new instance of a C1DockPreview.

Fields

Name Description
PreviewDropPositionProperty

Identifies the PreviewDropPosition dependency property.

Properties

Name Description
PreviewDropPosition

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

Methods

Name Description
ChangeVisualStatePreview(bool)

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

OnApplyTemplate()

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