Search Results for

    Show / Hide Table of Contents

    Class WindowDragHelper

    Helper class used to handle docking windows dragging and docking.

    Inheritance
    System.Object
    WindowDragHelper
    Namespace: FlaxEditor.GUI.Docking
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public class WindowDragHelper : Object

    Fields

    DragWindowOpacity

    The opacity of the dragged window when hint controls are shown.

    Declaration
    public const float DragWindowOpacity = 0.4F
    Field Value
    System.Single

    HintControlSize

    The hint control size.

    Declaration
    public const float HintControlSize = 48F
    Field Value
    System.Single

    Properties

    IsDragActive

    Returns true if any windows are being dragged.

    Declaration
    public static bool IsDragActive { get; }
    Property Value
    System.Boolean

    Methods

    Dispose()

    Releases unmanaged and - optionally - managed resources.

    Declaration
    public void Dispose()

    StartDragging(DockWindow, Window)

    Start dragging a docked panel into a floating window.

    Declaration
    public static WindowDragHelper StartDragging(DockWindow toMove, Window dragSourceWindow)
    Parameters
    DockWindow toMove

    Dock window to move.

    Window dragSourceWindow

    The window where dragging started from.

    Returns
    WindowDragHelper

    The window drag helper object.

    StartDragging(FloatWindowDockPanel, Window)

    Start dragging a floating dock panel.

    Declaration
    public static WindowDragHelper StartDragging(FloatWindowDockPanel toMove, Window dragSourceWindow = null)
    Parameters
    FloatWindowDockPanel toMove

    Floating dock panel to move.

    Window dragSourceWindow

    The window where dragging started from.

    Returns
    WindowDragHelper

    The window drag helper object.

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat