RibbonControl.ApplicationIcon Property
Gets or sets an image displayed in the Application Button.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
public Bitmap ApplicationIcon { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Bitmap | null | A Bitmap object which specifies the image displayed in the Application Button. |
Remarks
In the Office 2007 Ribbon style (see RibbonControl.RibbonStyle), the size of the Application Button is 44x42. If the size of the assigned image exceeds the button’s size, it is resized to the button’s size. The size of the circle within the Application Button is 36x36 pixels.
In the Office 2010 Ribbon style, the size of the assigned image should be 16x16. In this style, it’s also possible to display text within the Application Button, provided that no image is assigned to the button. Use the RibbonControl.ApplicationButtonText property to specify the text.
Note
The ApplicationIcon property is equivalent to the Image property accessible through the RibbonControl.ApplicationButtonImageOptions property.