Skip to content

Action Event

See Also

DockingPane Control

Description

Occurs when a docking pane is performing an action.

Syntax

Public Event Action( _
    ByVal Action As DockingPaneAction, _
    ByVal Pane As Pane, _
    ByVal Container As PaneActionContainer, _
    ByRef Cancel As Boolean _
)

Parameters

  • Action: The action of the docking pane.

  • PaneActionFloating

  • PaneActionFloated
  • PaneActionClosing
  • PaneActionClosed
  • PaneActionDocking
  • PaneActionDocked
  • PaneActionAttaching
  • PaneActionAttached
  • PaneActionPinning
  • PaneActionPinned
  • PaneActionCollapsing
  • PaneActionCollapsed
  • PaneActionExpanding
  • PaneActionExpanded
  • PaneActionActivated: The ActivePane property will hold a reference to the currently active pane.
  • PaneActionDeactivated: The ActivePane property becomes Null/Nothing.
  • PaneActionDetaching
  • PaneActionFloating: This action will always follow this action as the pane is floating while it is being dragged to a new location.
  • PaneActionDragging
  • PaneActionUnpinning
  • PaneActionUnpinned
  • PaneActionSplitterResizing
  • PaneActionSplitterResized
Value Description
Docking pane is currently floating. This occurs when the user clicks on the title bar of a docking pane and drags the pane to another location. When this occurs, the pane is said to be "floating."
Docking pane has been docked, and is currently floating.
Docking pane is currently closing. This occurs when the close button of the pane is clicked.
Docking pane has been closed. This occurs when the docking pane has finished closing.
Docking pane is in the process of docking.
Docking pane has been docked. This occurs when the docking pane has finished docking.
Docking pane is in the process of attaching to another pane.
Docking pane has been attached. This occurs when the docking pane has finished attaching to another pane.
Docking pane is currently pinning. This occurs when the "pin" button is clicked to make the pane remain visible.
Docking pane has been pinned. This occurs when the docking pane has finished pinning.
Docking pane is currently collapsing (hiding). This occurs when a pane is going back to its AutoHide position. If a pane is hidden and the mouse is positioned over the tab to display the pane, the pane is expanding; when the mouse is moved off of the pane, it begins to collapse.
Docking Pane has been collapsed. This occurs when the docking pane has finished collapsing.
Docking pane is currently expanding. This occurs when a pane is being displayed from its AutoHide position. If a pane is hidden and the mouse is positioned over the tab to display the pane, the pane is then expanding; when the mouse is moved off of the pane, it begins to collapse.
Docking pane is expanded; this is when the pane is fully shown from the autohide position.
Docking Pane becomes active. After this action, the
Docking Pane becomes deactivated. After this action, the
Docking Pane is removed from a group of panes. This occurs when a pane that is in a group of two or more panes is dragged from the group.
Docking Pane has started to be dragged. This occurs when a pane first starts to be dragged.
Docking Pane is in the process of un-pinning. This occurs when the pin button of a pane is clicked to un-pin the pane. This is also known as auto-hide mode.
Docking Pane is un-pinned. This occurs when a pane has completely been pinned. The pane will now only show a tab on the side of the container that can be displayed by moving the mouse over the tab. This is also known as auto-hide mode.
Docking pane splitter resizing.
Docking pane splitter resized.

Example

Container Sample


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.