Show / Hide Table of Contents

Method ToggleAutoHide

| Improve this Doc View Source

ToggleAutoHide()

Toggles the auto hide state of the DockItem object's FirstPane, using default DockItemShowMethod for this DockItem.

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

true if operation performed successfully, otherwise false.

Remarks

This method is wrapper of ToggleAutoHide(DockItemShowMethod) method. It uses Activate from auto hide to non auto hide, uses Select from non auto hide to auto hide.

| Improve this Doc View Source

ToggleAutoHide(DockItemShowMethod)

Toggles the auto hide state of the DockItem object's FirstPane, using specified DockItemShowMethod for this DockItem.

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

The specified show method.

Returns
Type Description
System.Boolean

true if operation performed successfully, otherwise false.

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