Skip to main content
A newer version of this page is available. .

RibbonForm.Ribbon Property

Gets or sets a RibbonControl displayed within the form.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[Browsable(false)]
[DefaultValue(null)]
public virtual RibbonControl Ribbon { get; set; }

Property Value

Type Default Description
RibbonControl *null*

A RibbonControl displayed within the form.

Remarks

It’s possible to display one Ribbon Control within a RibbonForm at a time. Use the Ribbon property to access the RibbonControl displayed within the form.

When you create a RibbonControl at runtime and add it to the form’s Controls collection, the control is automatically assigned to the Ribbon property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Ribbon property.

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