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.v21.1.dll

Declaration

public CommandBarStyle CommandBarStyle { get; set; }

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 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.

Note

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

See Also