Skip to main content

HtmlEditorSettings.ToolbarMode Property

Specifies the type of the HtmlEditor toolbar.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public HtmlEditorToolbarMode ToolbarMode { get; set; }

Property Value

Type Description
HtmlEditorToolbarMode

One of the HtmlEditorToolbarMode enumeration values.

Available values:

Name Description
Menu

The toolbar for the HTML Editor is rendered as a menu.

Ribbon

The toolbar for the HTML Editor is rendered as a ribbon.

ExternalRibbon

An external ribbon is used by the HTML Editor as a toolbar.

None

The HTML Editor has no toolbars.

Remarks

The HtmlEditor extension supports either a menu or a ribbon toolbar element. Use the ToolbarMode property to specify the type of the toolbar.

When a menu is used as a toolbar, use the HtmlEditorSettings.Toolbars property to customize menu toolbars. When a ribbon is used as a toolbar, use the HtmlEditorSettings.RibbonTabs property to customize ribbon tabs.

See Also