Back to Devexpress

IModelOptionsBlazor.FormStyle Property

expressappframework-devexpress-dot-expressapp-dot-blazor-dot-systemmodule-dot-imodeloptionsblazor.md

latest3.1 KB
Original Source

IModelOptionsBlazor.FormStyle Property

Specifies whether the standard Toolbar UI or Ribbon UI is used in the Blazor Application.

Namespace : DevExpress.ExpressApp.Blazor.SystemModule

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

NuGet Package : DevExpress.ExpressApp.Blazor

Declaration

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

Property Value

TypeDefaultDescription
FormStyleStandard

The style of the Blazor Application.

|

Available values:

NameDescription
Ribbon

The application displays the Ribbon UI and uses the following application templates:

| | Standard |

The application displays the standard Toolbar UI and uses the following application templates:

|

Remarks

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

Note that when you create a new application, the FormStyle property is explicitly set to Ribbon.

Ribbon UI

Standard UI

See Also

IModelOptionsBlazor Interface

IModelOptionsBlazor Members

DevExpress.ExpressApp.Blazor.SystemModule Namespace