WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DraggedElementPopup

    Show / Hide Table of Contents

    Class DraggedElementPopup

    Represents docking manager's floating window and helper frame internal window.

    Inheritance
    System.Object
    NonStickingPopup
    DraggedElementPopup
    Implements
    IWindow
    Inherited Members
    NonStickingPopup.Removehandle()
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class DraggedElementPopup : NonStickingPopup, IWindow

    Constructors

    DraggedElementPopup()

    Initializes a new instance of the DraggedElementPopup class.

    Declaration
    public DraggedElementPopup()

    Fields

    DragTypeProperty

    Identifies DragType dependency property of the DraggedElementPopup.

    Declaration
    public static readonly DependencyProperty DragTypeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    DockingManager

    Gets or sets the docking manager.

    Declaration
    public DockingManager DockingManager { get; set; }
    Property Value
    Type Description
    DockingManager

    The docking manager.

    DragType

    Gets or sets DragType of the DraggedElementPopup. This is a dependency property.

    Declaration
    public DraggingType DragType { get; set; }
    Property Value
    Type Description
    DraggingType

    The type of the drag.

    FloatChild

    Gets or sets the float child.

    Declaration
    public FrameworkElement FloatChild { get; set; }
    Property Value
    Type Description
    System.Windows.FrameworkElement

    The float child.

    Header

    Gets or sets the header.

    Declaration
    public UIElement Header { get; set; }
    Property Value
    Type Description
    System.Windows.UIElement

    The header.

    HitTestDisabled

    Gets or sets a value indicating whether [hit test disabled].

    Declaration
    public bool HitTestDisabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [hit test disabled]; otherwise, false.

    IsDragging

    Gets or sets a value indicating whether this instance is dragging.

    Declaration
    public bool IsDragging { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is dragging; otherwise, false.

    IsMultiHostsContainer

    Gets or sets a value indicating whether this instance is multi hosts container.

    Declaration
    public bool IsMultiHostsContainer { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is multi hosts container; otherwise, false.

    PrimaryElement

    Gets or sets the primary element.

    Declaration
    public FrameworkElement PrimaryElement { get; set; }
    Property Value
    Type Description
    System.Windows.FrameworkElement

    The primary element.

    Methods

    CompleteDragging()

    Invokes when the dragging completes.

    Declaration
    public void CompleteDragging()

    Finalize()

    Releases unmanaged resources and performs other cleanup operations before the DraggedElementPopup is reclaimed by garbage collection.

    Declaration
    protected override void Finalize()

    GetVisibleHostsCount(DockedElementsContainer)

    Gets the visible hosts count.

    Declaration
    public int GetVisibleHostsCount(DockedElementsContainer container)
    Parameters
    Type Name Description
    DockedElementsContainer container

    The container.

    Returns
    Type Description
    System.Int32

    return zero.

    OnApplyTemplate()

    When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.

    Declaration
    public override void OnApplyTemplate()

    OnOpened(EventArgs)

    Raises the Opened event.

    Declaration
    protected override void OnOpened(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    An EventArgs that contains the event data.

    Overrides
    NonStickingPopup.OnOpened(EventArgs)

    SetNewPrimaryElement(FrameworkElement)

    Invoke when sets the new primary element.

    Declaration
    public void SetNewPrimaryElement(FrameworkElement element)
    Parameters
    Type Name Description
    System.Windows.FrameworkElement element

    The element.

    SetWindowOnTop()

    Invoke when the window set on top.

    Declaration
    public void SetWindowOnTop()

    UpdateDataContext()

    Invoke when the data context updates.

    Declaration
    public void UpdateDataContext()

    UpdateIsMultiHostProperty()

    Invoke when the IsMultiHost property updated.

    Declaration
    public void UpdateIsMultiHostProperty()

    Explicit Interface Implementations

    IWindow.get_AllowsTransparency()

    Declaration
    bool IWindow.get_AllowsTransparency()
    Returns
    Type Description
    System.Boolean

    IWindow.get_Child()

    Declaration
    UIElement IWindow.get_Child()
    Returns
    Type Description
    System.Windows.UIElement

    IWindow.get_IsOpen()

    Declaration
    bool IWindow.get_IsOpen()
    Returns
    Type Description
    System.Boolean

    IWindow.get_Opacity()

    Declaration
    double IWindow.get_Opacity()
    Returns
    Type Description
    System.Double

    IWindow.get_PlacementRectangle()

    Declaration
    Rect IWindow.get_PlacementRectangle()
    Returns
    Type Description
    System.Windows.Rect

    IWindow.set_AllowsTransparency(Boolean)

    Declaration
    void IWindow.set_AllowsTransparency(bool value)
    Parameters
    Type Name Description
    System.Boolean value

    IWindow.set_Child(UIElement)

    Declaration
    void IWindow.set_Child(UIElement value)
    Parameters
    Type Name Description
    System.Windows.UIElement value

    IWindow.set_IsOpen(Boolean)

    Declaration
    void IWindow.set_IsOpen(bool value)
    Parameters
    Type Name Description
    System.Boolean value

    IWindow.set_Opacity(Double)

    Declaration
    void IWindow.set_Opacity(double value)
    Parameters
    Type Name Description
    System.Double value

    IWindow.set_PlacementRectangle(Rect)

    Declaration
    void IWindow.set_PlacementRectangle(Rect value)
    Parameters
    Type Name Description
    System.Windows.Rect value

    Implements

    IWindow
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved