Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

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