Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IWindowsUIViewController.EnableFullScreenMode(Boolean) Method

Sets the current WindowsUIView‘s form visual state.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.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