Skip to content

CloseGroupOnButtonClick Property

Description

The CloseGroupOnButtonClick property specifies whether an entire group of panes will be closed when the close button for any pane in the group is clicked.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property CloseGroupOnButtonClick() As Boolean

Remarks

If set to TRUE, the entire group of panes will be closed when the close button is clicked for any pane in the group.

If set to FALSE, only the pane whose close button was clicked (active pane) will be closed when grouped with other panes.

Example

This sample illustrates how to specify whether only a single pane or all tabs in a group will be closed when the close button is clicked.

' Close the entire group of panes when a close button is clicked.
DockingPaneManager.Options.CloseGroupOnButtonClick = True

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.