Back to Devexpress

LayoutGroup.SelectionOnTabRemoval Property

wpf-devexpress-dot-xpf-dot-docking-dot-layoutgroup-b27ec182.md

latest1.7 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public SelectionOnTabRemoval SelectionOnTabRemoval { get; set; }
vb
Public Property SelectionOnTabRemoval As SelectionOnTabRemoval

Property Value

TypeDescription
SelectionOnTabRemoval

Any of the SelectionOnTabRemoval enumeration values.

|

Available values:

NameDescription
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

LayoutGroup Class

LayoutGroup Members

DevExpress.Xpf.Docking Namespace