Skip to main content

HtmlEditorSettings.RibbonTabs Property

Provides access to the collection of UrlDocument$16848#Ribbon.Visual Elements tabs.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxHtmlEditorRibbonTabCollection RibbonTabs { get; }

Property Value

Type Description
MVCxHtmlEditorRibbonTabCollection

A MVCxHtmlEditorRibbonTabCollection object that is the collection of the Ribbon’s tabs.

Remarks

When the HtmlEditorSettings.ToolbarMode property is set to Ribbon, the HtmlEditor displays a Ribbon as a toolbar. In this case, use the RibbonTabs property to access the collection of Ribbon tabs. This collection provides the standard means to manipulate (add or remove) tabs within the control. A particular tab can be accessed using index notation.

You can get the default collection of Ribbon tabs for the HtmlEditor by using the static HtmlEditorExtension.DefaultRibbonTabs property.

See Also