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
public CommandBarStyle CommandBarStyle { get; set; }
#Property Value
Type | Description |
---|---|
Command |
A Command |
Available values:
Name | Description |
---|---|
Empty | The Rich |
Ribbon | The Rich |
#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 Rich
#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.