Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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