Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditControl.CreateBars(RichEditToolbarType) Method

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.2.dll

NuGet Package: DevExpress.Win.RichEdit

#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