Skip to main content
A newer version of this page is available. .

LayoutGroup.SelectionOnTabRemoval Property

Gets or sets which tab item should be selected after deleting (closing) the current tab item. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Docking, DevExpress.Wpf.Navigation

Declaration

public SelectionOnTabRemoval SelectionOnTabRemoval { get; set; }

Property Value

Type Description
SelectionOnTabRemoval

Any of the SelectionOnTabRemoval enumeration values.

Available values:

Name Description
PreviousSelection

The previously selected tab is selected when the current tab is closed.

Preceding

The preceding tab is selected when the current tab is closed.

Following

The following tab is selected when the current tab is closed.

Remarks

Use the SelectionOnTabRemoval property to set which tab item should be selected when the current item is closed: the previously selected, the preceding, or the following one.

See Also