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

RibbonButtonBase.DisplayMode Property

Gets or sets a flagged enumeration value that specifies the ribbon button’s possible states within a RibbonControl. This is a dependency property.

Namespace: DevExpress.WinUI.Ribbon

Assembly: DevExpress.WinUI.Ribbon.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(RibbonItemDisplayMode.Default, Handler = "UpdateButtonPresenter")]
public RibbonItemDisplayMode DisplayMode { get; set; }

Property Value

Type Description
RibbonItemDisplayMode

A set of RibbonItemDisplayMode flags that specify the ribbon button’s possible states within a RibbonControl.

Available values:

Name Description
SmallWithoutText

If active, a ribbon item can be displayed as a small image.

WinUI RibbonControl - Large Item

SmallWithText

If active, a ribbon item can be displayed as a small image with a caption.

WinUI RibbonControl - Large Item

Large

If active, a ribbon item can be displayed as a large image with a caption.

WinUI RibbonControl - Large Item

Default

If active, a ribbon item can be displayed as a large image with a caption.

See Also