RibbonForm.RibbonVisibility Property
Gets or set the visibility mode of the RibbonControl displayed on the RibbonForm.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
[DefaultValue(RibbonVisibility.Auto)]
[DXCategory("Appearance")]
public RibbonVisibility RibbonVisibility { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DevExpress.XtraBars.Ribbon.RibbonVisibility | Auto | A RibbonVisibility value specifying the visibility mode of the RibbonControl displayed on the RibbonForm. |
Remarks
The RibbonVisibility property of the RibbonVisibility type allows you to specify the visibility mode of the RibbonControl on the RibbonForm. The RibbonVisibility enumeration provides the following values:
- Visible — the RibbonControl is visible
- Hidden — the RibbonControl is hidden
- Auto — the RibbonControl automatically hides if there is insufficient space on the RibbonForm to display it
When using the RibbonForm, it is recommended to use the RibbonVisibility property instead of the RibbonControl.Visibility property.
See Also