Class DockPanelProxy
Proxy control used for docking DockWindow inside DockPanel.
Implements
Namespace: FlaxEditor.GUI.Docking
Assembly: FlaxEngine.CSharp.dll
Syntax
public class DockPanelProxy : ContainerControl, IComparable, IDrawable
Fields
IsMouseDownOverCross
The is mouse down over cross button flag.
Declaration
public bool IsMouseDownOverCross
Field Value
System.Boolean
|
IsMouseLeftButtonDown
The is mouse down flag (left button).
Declaration
public bool IsMouseLeftButtonDown
Field Value
System.Boolean
|
IsMouseMiddleButtonDown
The is mouse down flag (middle button).
Declaration
public bool IsMouseMiddleButtonDown
Field Value
System.Boolean
|
IsMouseRightButtonDown
The is mouse down flag (right button).
Declaration
public bool IsMouseRightButtonDown
Field Value
System.Boolean
|
MouseDownWindow
MousePosition
StartDragAsyncWindow
The start drag asynchronous window.
Declaration
public DockWindow StartDragAsyncWindow
Field Value
DockWindow
|
Methods
Draw()
Draw the control and the children.
Declaration
public override void Draw()
Overrides
GetDesireClientArea(out Rectangle)
Gets the desire client area rectangle for all the controls.
Declaration
public override void GetDesireClientArea(out Rectangle rect)
Parameters
Rectangle
rect
The client area rectangle for child controls. |
Overrides
OnDragEnter(ref Float2, DragData)
When mouse dragging enters control's area
Declaration
public override DragDropEffect OnDragEnter(ref Float2 location, DragData data)
Parameters
Float2
location
Mouse location in Control Space |
DragData
data
The data. See DragDataText and DragDataFiles. |
Returns
DragDropEffect
The drag event result effect. |
Overrides
OnDragLeave()
When mouse dragging leaves control's area
Declaration
public override void OnDragLeave()
Overrides
OnDragMove(ref Float2, DragData)
When mouse dragging moves over control's area
Declaration
public override DragDropEffect OnDragMove(ref Float2 location, DragData data)
Parameters
Float2
location
Mouse location in Control Space |
DragData
data
The data. See DragDataText and DragDataFiles. |
Returns
DragDropEffect
The drag event result effect. |
Overrides
OnLostFocus()
When control losts input focus
Declaration
public override void OnLostFocus()
Overrides
OnMouseDoubleClick(Float2, MouseButton)
When mouse double clicks over control's area
Declaration
public override bool OnMouseDoubleClick(Float2 location, MouseButton button)
Parameters
Float2
location
Mouse location in Control Space |
MouseButton
button
Mouse buttons state (flags) |
Returns
System.Boolean
True if event has been handled, otherwise false |
Overrides
OnMouseDown(Float2, MouseButton)
When mouse goes down over control's area
Declaration
public override bool OnMouseDown(Float2 location, MouseButton button)
Parameters
Float2
location
Mouse location in Control Space |
MouseButton
button
Mouse buttons state (flags) |
Returns
System.Boolean
True if event has been handled, otherwise false |
Overrides
OnMouseEnter(Float2)
When mouse enters control's area
Declaration
public override void OnMouseEnter(Float2 location)
Parameters
Float2
location
Mouse location in Control Space |
Overrides
OnMouseLeave()
When mouse leaves control's area
Declaration
public override void OnMouseLeave()
Overrides
OnMouseMove(Float2)
When mouse moves over control's area
Declaration
public override void OnMouseMove(Float2 location)
Parameters
Float2
location
Mouse location in Control Space |
Overrides
OnMouseUp(Float2, MouseButton)
When mouse goes up over control's area
Declaration
public override bool OnMouseUp(Float2 location, MouseButton button)
Parameters
Float2
location
Mouse location in Control Space |
MouseButton
button
Mouse buttons state (flags) |
Returns
System.Boolean
True if event has been handled, otherwise false |