Back to Devexpress

ASPxRichEdit.RibbonMode Property

aspnet-devexpress-dot-web-dot-aspxrichedit-dot-aspxrichedit-6259e4ad.md

latest2.8 KB
Original Source

ASPxRichEdit.RibbonMode Property

Specifies the type of the ASPxRichEdit toolbar.

Namespace : DevExpress.Web.ASPxRichEdit

Assembly : DevExpress.Web.ASPxRichEdit.v25.2.dll

NuGet Package : DevExpress.Web.Office

Declaration

csharp
[DefaultValue(RichEditRibbonMode.Auto)]
public virtual RichEditRibbonMode RibbonMode { get; set; }
vb
<DefaultValue(RichEditRibbonMode.Auto)>
Public Overridable Property RibbonMode As RichEditRibbonMode

Property Value

TypeDefaultDescription
RichEditRibbonModeAuto

One of the RichEditRibbonMode enumeration values.

|

Available values:

NameDescription
Ribbon

The toolbar for the Rich Text Editor is rendered as a built-in ribbon.

| | ExternalRibbon |

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

| | None |

The Rich Text Editor has no toolbars.

| | Auto |

The value is determined automatically, based on the type of the end-user’s device: touch or non-touch. Corresponds to Ribbon under non-touch device browsers. Corresponds to OneLineRibbon under touch device browsers.

| | OneLineRibbon |

The built-in ribbon displays all items in an active tab on one line.

|

Remarks

The ASPxRichEdit control supports either an internal or external ribbon navigation element. Use the RibbonMode property to specify the ribbon type.

If this property is set to RichEditRibbonMode.ExternalRibbon, an external ASPxRibbon control is used as a toolbar. Use the ASPxRichEdit.AssociatedRibbonID property to specify the ASPxRibbon control to be used as an external ribbon.

To customize ribbon tabs, use the ASPxRichEdit.RibbonTabs property.

See Also

AssociatedRibbonID

Ribbon

ASPxRichEdit Class

ASPxRichEdit Members

DevExpress.Web.ASPxRichEdit Namespace