Back to Devexpress

BarMode Enum

blazor-devexpress-dot-blazor-dot-office-4fed61bc.md

latest1.6 KB
Original Source

BarMode Enum

Lists values that specify how the Rich Text Editor displays its command bar.

Namespace : DevExpress.Blazor.Office

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public enum BarMode

Members

NameDescription
Ribbon

The editor displays a ribbon.

| | Toolbar |

The editor displays a toolbar.

| | None |

The editor does not display a command bar.

|

The following properties accept/return BarMode values:

Remarks

The Rich Text Editor can display its command bar in two ways:

  • Ribbon UI. The ribbon consists of multiple tabs. A tab includes groups, and a group can contain various items.

  • Toolbar UI. The toolbar consists of groups, and each group contains one or more items.

The following code snippet displays the Rich Text Editor’s toolbar.

razor
<DxRichEdit BarMode=BarMode.Toolbar/>

Run Demo: Toolbar Customization

See Also

DevExpress.Blazor.Office Namespace