Skip to main content
A newer version of this page is available. .

RichEditControl.CreateBars(RichEditToolbarType) Method

Creates a set of toolbars with RichEditControl-specific actions at runtime.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v19.2.dll

Declaration

public BarManager CreateBars(
    RichEditToolbarType toolbarType
)

Parameters

Name Type Description
toolbarType RichEditToolbarType

One of the RichEditToolbarType enumeration values indicating toolbar(s) to be added.

Returns

Type Description
BarManager

A BarManager object containing the given toolbars.

Example

BarManager barManager = richEditControl1.CreateBars(RichEditToolbarType.File | RichEditToolbarType.Home| RichEditToolbarType.PageLayout);
barManager.Form = this;
See Also