DockItem.ToggleFloating Method (DockItemShowMethod)

DevZest WPF Docking

DockItemToggleFloating Method (DockItemShowMethod)
Toggles the floating state of the DockItem, using specified show method.

Namespace: DevZest.Windows.Docking
Assembly: DevZest.WpfDocking (in DevZest.WpfDocking.dll) Version: 2.5.0.0 (2.5.5912.0)
Syntax
public bool ToggleFloating(
	DockItemShowMethod showMethod
)
Public Function ToggleFloating ( 
	showMethod As DockItemShowMethod
) As Boolean

Parameters

showMethod
Type: DevZest.Windows.DockingDockItemShowMethod
The specified show method.

Return Value

Type: Boolean
if operation performed successfully, otherwise .
Remarks
A DockItem object can contained by two DockPane objects, one for floating mode and one for non floating mode. The FirstPane property always returns the DockPane that the DockItem last shown. Calling ToggleFloating swaps FirstPane and SecondPane if they both exist.
See Also