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

IWindowsUIViewController.Activate(IContentContainer) Method

Activates the specific content container.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

bool Activate(
    IContentContainer container
)

Parameters

Name Type Description
container DevExpress.XtraBars.Docking2010.Views.WindowsUI.IContentContainer

An IContentContainer object to be activated.

Returns

Type Description
Boolean

true if the target content container can be activated; otherwise, false.

Remarks

The Activate method activates a specific content container and displays its Normal Screen. You can also activate a specific Tile via the IWindowsUIViewController.Activate method.

To set the initial container displayed at the application start-up, handle the WindowsUIView.QueryStartupContentContainer event.

See Also