Show / Hide Table of Contents

Method ToggleFloating

| Improve this Doc View Source

ToggleFloating()

Toggles the floating state of the DockItem, as activated.

Declaration
public bool ToggleFloating()
Returns
Type Description
System.Boolean

true if operation performed successfully, otherwise false.

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.

| Improve this Doc View Source

ToggleFloating(DockItemShowMethod)

Toggles the floating state of the DockItem, using specified show method.

Declaration
public bool ToggleFloating(DockItemShowMethod showMethod)
Parameters
Type Name Description
DockItemShowMethod showMethod

The specified show method.

Returns
Type Description
System.Boolean

true if operation performed successfully, otherwise false.

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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest