Skip to main content

RichEditControl.CreateBars(RichEditToolbarType) Method

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.1.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap

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