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.v20.1.dll

Declaration

public ImageSource ApplicationButtonSmallIcon { get; set; }
Public Property ApplicationButtonSmallIcon As ImageSource

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.

See Also