blazor-devexpress-dot-blazor-dot-office-4fed61bc.md
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
public enum BarMode
| Name | Description |
|---|---|
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:
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.
<DxRichEdit BarMode=BarMode.Toolbar/>
Run Demo: Toolbar Customization
See Also