Skip to main content

DockLayoutManager.SelectItem(BaseLayoutItem, SelectionMode) Method

Selects the specified BaseLayoutItem in Customization Mode with specified selection options.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking


public bool SelectItem(
    BaseLayoutItem item,
    SelectionMode mode


Name Type Description
item BaseLayoutItem

A BaseLayoutItem to be selected.

mode SelectionMode

A DevExpress.Xpf.Layout.Core.SelectionMode enumeration value specifying selection option.


Type Description

true if the specified BaseLayoutItem is successfully selected; otherwise, false.


Items can be selected in Customization Mode provided that their BaseLayoutItem.AllowSelection option is enabled. Depending on the mode parameter, either single or multiple items can be selected at the same time.

See Also