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.v23.2.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. |
SmallWithText | If active, a ribbon item can be displayed as a small image with a caption. |
Large | If active, a ribbon item can be displayed as a large image with a caption. |
Default | If active, a ribbon item can be displayed as a large image with a caption. |
See Also