A newer version of this page is available. Switch to the current version.

DockLayoutManager.SelectItem(BaseLayoutItem, SelectionMode) Method

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

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v19.1.dll

Declaration

public bool SelectItem(
    BaseLayoutItem item,
    SelectionMode mode
)
Public Function SelectItem(
    item As BaseLayoutItem,
    mode As SelectionMode
) As Boolean

Parameters

Name Type Description
item BaseLayoutItem

A BaseLayoutItem to be selected.

mode SelectionMode

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

Returns

Type Description
Boolean

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

Remarks

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