Back to Devexpress

HtmlEditorBuilder.StylingMode(EditorStylingMode) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-htmleditorbuilder-dot-stylingmode-x28-devextreme-dot-aspnet-dot-mvc-dot-editorstylingmode-x29.md

latest1.4 KB
Original Source

HtmlEditorBuilder.StylingMode(EditorStylingMode) Method

Specifies how the HTML Editor's toolbar and content field are styled. Mirrors the client-side stylingMode option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public HtmlEditorBuilder StylingMode(
    EditorStylingMode value
)

Parameters

NameTypeDescription
valueEditorStylingMode

The option value.

|

Returns

TypeDescription
HtmlEditorBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().HtmlEditor()
    .StylingMode(EditorStylingMode.Filled)
)

See Also

HtmlEditorBuilder Class

HtmlEditorBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace