RibbonForm.Ribbon Property
In This Article
Gets or sets a RibbonControl displayed within the form.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[Browsable(false)]
[DefaultValue(null)]
public virtual RibbonControl Ribbon { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Ribbon |
null | A Ribbon |
#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