A newer version of this page is available. Switch to the current version.

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.v20.2.dll


public CommandBarStyle CommandBarStyle { get; set; }

Property Value

Type Description

A CommandBarStyle enumeration value specifying the type of the command bar.

Available values:

Name Description

The RichEditControl has no Ribbon UI.


The RichEditControl has Ribbon UI.


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 Lesson 1 - Create a Simple Rich Text Editor document.

To see how to provide the RichEditControl with a bar menu, refer to the Lesson 2 - Create Separate Command UI for a Rich Text Editor topic.


The RichEditControl.Ribbon property does not return the ribbon menu specified by the CommandBarStyle property.

See Also