RibbonControlBase.ViewMode Property

Gets or sets whether or not the auto-hide functionality is enabled. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Ribbon

Assembly: DevExpress.UI.Xaml.Ribbon.v19.2.dll

Declaration

public RibbonViewMode ViewMode { get; set; }
Public Property ViewMode As RibbonViewMode

Property Value

Type Description
RibbonViewMode

A RibbonViewMode enumeration value that specifies whether or not the auto-hide functionality is enabled.

Remarks

To enable the auto-hide functionality, set the ViewMode property to RibbonViewMode.AutoHide. In auto-hide mode, the ribbon is automatically collapsed (with only its title visible) when it loses focus. The collapsed state is indicated by the ellipsis character at the right side of the ribbon control. To expand a collapsed ribbon, an end-user must click its title.

The following image demonstrates a collapsed ribbon.

RibbonControl-AutoHidden

To control the ribbon's expansion state

in code, use the RibbonControlBase.State property to control the ribbon's expansion state.

See Also