Skip to main content

RibbonButtonBase.SmallIcon Property

Gets or sets the ribbon button’s small icon (16x16 px). This is a dependency property.

Namespace: DevExpress.WinUI.Ribbon

Assembly: DevExpress.WinUI.Ribbon.v23.2.dll

NuGet Package: DevExpress.WinUI

#Declaration

[DP(null, Handler = "UpdateButtonPresenter")]
public DXIconSource SmallIcon { get; set; }

#Property Value

Type Description
DXIconSource

The ribbon button’s small icon.

#Remarks

The icon specified with the SmallIcon property is displayed when the RibbonButtonBase descendant’s DisplayMode property is set to any of the following values:

If a RibbonButtonBase descendant’s DisplayMode property is set to Large, specify the LargeIcon property to display the item’s icon.

See Also