Skip to main content
A newer version of this page is available. .

LayoutController.Activate(BaseLayoutItem, Boolean) Method

Activates the specified item, and optionally focuses the item’s associated control.

Namespace: DevExpress.Xpf.Docking

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Docking, DevExpress.Wpf.Navigation

Declaration

public void Activate(
    BaseLayoutItem item,
    bool focus
)

Parameters

Name Type Description
item BaseLayoutItem

A BaseLayoutItem object that represents the layout item to be activated.

focus Boolean

true to move focus to the control associated with the item; otherwise, false.

See Also