Skip to main content

RibbonControl.ApplicationButtonSmallIcon Property

Gets or sets the image displayed within the Application Button in the Office2010 and OfficeSlim paint styles. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v24.2.dll

NuGet Package: DevExpress.Wpf.Ribbon

Declaration

public ImageSource ApplicationButtonSmallIcon { get; set; }

Property Value

Type Description
ImageSource

An ImageSource value that specifies the image displayed within the Application Button in the Office2010 paint style.

Remarks

A RibbonControl’s Application Button displays a large image in the Office2007 style, and a small image in the Office2010 and OfficeSlim paint styles (see RibbonControl.RibbonStyle).

Use the ApplicationButtonSmallIcon property to specify a custom small image for the Application Button. Its size should be 16x16 pixels, at 96 dpi. A large image can be specified with the RibbonControl.ApplicationButtonLargeIcon property.

In the Office2010 and OfficeSlim styles, the small image can be followed by text, specified by the RibbonControl.ApplicationButtonText property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ApplicationButtonSmallIcon property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also