Back to Devexpress

IModelOptionsWin.FormStyle Property

expressappframework-devexpress-dot-expressapp-dot-win-dot-systemmodule-dot-imodeloptionswin.md

latest2.6 KB
Original Source

IModelOptionsWin.FormStyle Property

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

Namespace : DevExpress.ExpressApp.Win.SystemModule

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

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

Declaration

csharp
[DefaultValue(RibbonFormStyle.Standard)]
RibbonFormStyle FormStyle { get; set; }
vb
<DefaultValue(RibbonFormStyle.Standard)>
Property FormStyle As RibbonFormStyle

Property Value

TypeDefaultDescription
DevExpress.XtraBars.Ribbon.RibbonFormStyleStandard

Standard to display Bars UI; Ribbon to display the Ribbon UI.

|

Remarks

To specify the application form style, open the Model.xafml file in the MySolution.Win project. In the Model Editor, navigate to the Options node and specify the FormStyle property value.

Result:

Ribbon UI

Standard UI

See Also

How to: Enable the Main Menu Bars or Ribbon in WinForms

IModelOptionsWin Interface

IModelOptionsWin Members

DevExpress.ExpressApp.Win.SystemModule Namespace