RichEditControl.CommandBarStyle Property
Gets or sets the command bar for the RichEditControl. This is a dependency property.
Namespace: DevExpress.Xpf.RichEdit
Assembly: DevExpress.Xpf.RichEdit.v24.2.dll
NuGet Package: DevExpress.Wpf.RichEdit
Declaration
Property Value
Type | Description |
---|---|
CommandBarStyle | A CommandBarStyle enumeration value specifying the type of the command bar. |
Available values:
Name | Description |
---|---|
Empty | The RichEditControl has no Ribbon UI. |
Ribbon | The RichEditControl has Ribbon UI. |
Remarks
Use the CommandBarStyle property to provide the RichEditControl with a built-in ribbon menu. To do that, set the property to CommandBarStyle.Ribbon, as illustrated in the Create a Simple Rich Text Editor document.
To see how to provide the RichEditControl with a bar menu, refer to the Create Separate Command UI for a Rich Text Editor topic.
Note
The RichEditControl.Ribbon property does not return the ribbon menu specified by the CommandBarStyle property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CommandBarStyle property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.