RichEditControl.CreateBars(RichEditToolbarType) Method

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v20.1.dll

Declaration

public BarManager CreateBars(
    RichEditToolbarType toolbarType
)
Public Function CreateBars(
    toolbarType As RichEditToolbarType
) As BarManager

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.

Examples

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