Skip to main content

IWindowsUIViewController.EnableFullScreenMode(Boolean) Method

Sets the current WindowsUIView‘s form visual state.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

bool EnableFullScreenMode(
    bool enable
)

Parameters

Name Type Description
enable Boolean

true if the form should be maximized; false for the normal state.

Returns

Type Description
Boolean

true if the method was successfully performed; otherwise, false.

Remarks

WindowsUI View applications are generally designed to run in the full-screen mode. Therefore, your application form’s FormBorderStyle property should be set to None and the WindowState property - to Maximized. Alternatively, you can call the EnableFullScreenMode method with the true parameter.

If the EnableFullScreenMode method is called with the false parameter, it sets the form’s FormBorderStyle property to Sizable and the WindowState property to Normal.

See Also