Skip to main content

RichEditControl.CreateRibbon(RichEditToolbarType) Method

Creates a set of RichEditControl-specific ribbon tabs at runtime.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.2.dll

Declaration

public RibbonControl CreateRibbon(
    RichEditToolbarType toolbarType
)

Parameters

Name Type Description
toolbarType RichEditToolbarType

One of the RichEditToolbarType enumeration values indicating the ribbon tabs to be added.

Returns

Type Description
RibbonControl

A RibbonControl object containing given ribbon tabs.

Example

RibbonControl ribbon = richEditControl1.CreateRibbon(RichEditToolbarType.File | RichEditToolbarType.Home | RichEditToolbarType.PageLayout);
this.Controls.Add(ribbon);

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateRibbon(RichEditToolbarType) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also