Skip to main content

RibbonForm.Ribbon Property

Gets or sets a RibbonControl displayed within the form.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

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.

See Also