windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-0a1aa0b9.md
Creates a set of ribbon tabs with RichEditControl-specific actions at runtime.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.XtraRichEdit.v25.2.dll
NuGet Package : DevExpress.Win.RichEdit
public RibbonControl CreateRibbon()
Public Function CreateRibbon As RibbonControl
| Type | Description |
|---|---|
| RibbonControl |
A RibbonControl object containing all RichEditControl-specific ribbon tabs.
|
RibbonControl ribbon = richEditControl1.CreateRibbon();
this.Controls.Add(ribbon);
Dim ribbon As RibbonControl = richEditControl1.CreateRibbon()
Me.Controls.Add(ribbon)
The following code snippets (auto-collected from DevExpress Examples) contain references to the CreateRibbon() 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.
winforms-rich-edit-manage-tracked-changes/CS/XtraRichEdit_TrackChanges/Form1.cs#L21
InitializeComponent();
this.Controls.Add(richEditControl1.CreateRibbon());
richEditControl1.LoadDocument("DocumentWithRevisions.docx");
winforms-richedit-link-hyphenation-dictionaries/CS/Form1.cs#L27
InitializeComponent();
this.Controls.Add(richEditControl.CreateRibbon());
winforms-rich-edit-manage-tracked-changes/VB/XtraRichEdit_TrackChanges/Form1.vb#L16
InitializeComponent()
Me.Controls.Add(richEditControl1.CreateRibbon())
richEditControl1.LoadDocument("DocumentWithRevisions.docx")
winforms-richedit-link-hyphenation-dictionaries/VB/Form1.vb#L26
InitializeComponent()
Me.Controls.Add(richEditControl.CreateRibbon())
See Also