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

Declaration

public CommandBarStyle CommandBarStyle { get; set; }
Public Property CommandBarStyle As CommandBarStyle

Property Value

Type Description
CommandBarStyle

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

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