DockItem.ToggleFloating Method

DevZest WPF Docking

DockItemToggleFloating Method
Toggles the floating state of the DockItem, as activated.

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

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.

This method is a wrapper of ToggleFloating(DockItemShowMethod) method using Activate value.

See Also