Show / Hide Table of Contents

Method Show

| Improve this Doc View Source

Show(DockControl)

Shows the DockItem targeting specified DockControl, as activated.

Declaration
public void Show(DockControl dockControl)
Parameters
Type Name Description
DockControl dockControl

The DockControl to show this DockItem.

Remarks

This method is a wrapper for Show(DockControl, DockItemShowMethod) method.

| Improve this Doc View Source

Show(DockControl, DockItemShowMethod)

Shows the DockItem targeting specified DockControl, using specified DockItemShowMethod.

Declaration
public void Show(DockControl dockControl, DockItemShowMethod showMethod)
Parameters
Type Name Description
DockControl dockControl

The targeting DockControl.

DockItemShowMethod showMethod

The specified show method.

Remarks

When FirstPane is not null, this method calls Show(DockItemShowMethod); otherwise, this method calls Show(DockControl, DockPosition, DockItemShowMethod) with DefaultDockPosition.

| Improve this Doc View Source

Show(DockItemShowMethod)

Shows the DockItem, using specified DockItemShowMethod.

Declaration
public void Show(DockItemShowMethod showMethod)
Parameters
Type Name Description
DockItemShowMethod showMethod

The specified the show method.

Exceptions
Type Condition
System.InvalidOperationException

DockPosition is Unknown.

| Improve this Doc View Source

Show(DockControl, Dock, Boolean, DockItemShowMethod)

Shows the DockItem to the edge of DockControl, brings the respective dock tree to front or sends it to back, using specified show method.

Declaration
public void Show(DockControl dockControl, Dock dock, bool sendToBack, DockItemShowMethod showMethod)
Parameters
Type Name Description
DockControl dockControl

The target DockControl.

System.Windows.Controls.Dock dock

Indicates which edge of DockControl to show.

System.Boolean sendToBack

true if send the respective dock tree to back, false to bring the respective dock tree to front.

DockItemShowMethod showMethod

The specified show method.

| Improve this Doc View Source

Show(DockControl, DockPosition)

Shows the DockItem to specified dock position, as activated.

Declaration
public void Show(DockControl dockControl, DockPosition dockPosition)
Parameters
Type Name Description
DockControl dockControl

The targeting DockControl.

DockPosition dockPosition

The specified dock position.

Remarks

This method is wrapper of Show(DockControl, DockPosition, DockItemShowMethod) using Activate value.

| Improve this Doc View Source

Show(DockControl, DockPosition, DockItemShowMethod)

Shows the DockItem to specified dock position, using specified show method.

Declaration
public void Show(DockControl dockControl, DockPosition dockPosition, DockItemShowMethod showMethod)
Parameters
Type Name Description
DockControl dockControl

The targeting DockControl.

DockPosition dockPosition

The specified dock position.

DockItemShowMethod showMethod

The specified show method.

| Improve this Doc View Source

Show(DockControl, Rect)

Shows the DockItem as activated floating window.

Declaration
public void Show(DockControl dockControl, Rect floatingWindowBounds)
Parameters
Type Name Description
DockControl dockControl

The target DockControl.

System.Windows.Rect floatingWindowBounds

The size and position of the floating window.

Remarks

The method is wrapper of Show(DockControl, Rect, DockItemShowMethod) using Activate value.

| Improve this Doc View Source

Show(DockControl, Rect, DockItemShowMethod)

Shows the DockItem as floating window, using specified show method.

Declaration
public void Show(DockControl dockControl, Rect floatingWindowBounds, DockItemShowMethod showMethod)
Parameters
Type Name Description
DockControl dockControl

The target DockControl.

System.Windows.Rect floatingWindowBounds

The size and position of the floating window.

DockItemShowMethod showMethod

The specified show method.

| Improve this Doc View Source

Show(DockPane, Int32)

Shows the DockItem as activated and tabbed.

Declaration
public void Show(DockPane pane, int index)
Parameters
Type Name Description
DockPane pane

The target DockPane.

System.Int32 index

The position within target Items at which this DockItem is inserted before.

| Improve this Doc View Source

Show(DockItem, DockItemShowMethod)

Shows the DockItem as tabeed, using specified show method.

Declaration
public void Show(DockItem dockItem, DockItemShowMethod showMethod)
Parameters
Type Name Description
DockItem dockItem

The position at which this DockItem is inserted before.

DockItemShowMethod showMethod

The specified show method.

| Improve this Doc View Source

Show(DockPane, Int32, DockItemShowMethod)

Shows the DockItem as tabbed, using specified show method.

Declaration
public void Show(DockPane pane, int index, DockItemShowMethod showMethod)
Parameters
Type Name Description
DockPane pane

The target DockPane.

System.Int32 index

The position within target Items at which this DockItem is inserted before.

DockItemShowMethod showMethod

The specified show method.

| Improve this Doc View Source

Show(DockPaneNode, Dock, SplitterDistance)

Shows the DockItem as activated non auto hide DockPane, side by side of target DockPaneNode.

Declaration
public void Show(DockPaneNode paneNode, Dock side, SplitterDistance size)
Parameters
Type Name Description
DockPaneNode paneNode

The target DockPaneNode.

System.Windows.Controls.Dock side

Indicates the DockItem shows on which side of target DockPaneNode.

SplitterDistance size

The size of to be created DockPane.

Remarks

This method is wrapper of Show(DockPaneNode, Boolean, Dock, SplitterDistance, Boolean, DockItemShowMethod) method.

| Improve this Doc View Source

Show(DockPaneNode, Boolean, Dock, SplitterDistance, Boolean, DockItemShowMethod)

Shows the DockItem as DockPane, side by side of target DockPane, using specified auto hide state, size for target setting and show method.

Declaration
public void Show(DockPaneNode paneNode, bool isAutoHide, Dock side, SplitterDistance size, bool isSizeForTarget, DockItemShowMethod showMethod)
Parameters
Type Name Description
DockPaneNode paneNode

The target DockPaneNode.

System.Boolean isAutoHide

Indicates whether to be created DockPane is auto hide.

System.Windows.Controls.Dock side

Indicates the DockItem shows on which side of target DockPaneNode.

SplitterDistance size

The size of to be created DockPane or target DockPaneNode, depending on the value of isSizeForTarget.

System.Boolean isSizeForTarget

Indicates whether size is for to be created DockPane or target DockPaneNode.

DockItemShowMethod showMethod

The specified show method.

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