.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET 5.0+

IModelOptionsWin.FormStyle Property

Specifies whether the Standard UI or Ribbon UI is used in the Windows Forms Application.

Namespace: DevExpress.ExpressApp.Win.SystemModule

Assembly: DevExpress.ExpressApp.Win.v21.2.dll

Declaration

[DefaultValue(RibbonFormStyle.Standard)]
RibbonFormStyle FormStyle { get; set; }

Property Value

Type Default Description
DevExpress.XtraBars.Ribbon.RibbonFormStyle

Standard

RibbonFormStyle.Standard when the Standard UI is used; RibbonFormStyle.Ribbon - if the Ribbon UI is used.

Remarks

The FormStyle is set to Standard by default, so the Standard UI is used in the Windows Forms Application. To use the Ribbon UI, set this property to Ribbon. The following image illustrates the Ribbon UI.

RibbonUIModule

The following code snippets (auto-collected from DevExpress Examples) contain references to the FormStyle property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also