Back to Devexpress

RibbonControl.ApplicationIcon Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-b7139654.md

latest3.1 KB
Original Source

RibbonControl.ApplicationIcon Property

Gets or sets an image displayed in the Application Button.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
public Bitmap ApplicationIcon { get; set; }
vb
<DefaultValue(Nothing)>
<DXCategory("Appearance")>
<Browsable(False)>
Public Property ApplicationIcon As Bitmap

Property Value

TypeDefaultDescription
Bitmapnull

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.

See Also

ApplicationButtonText

ApplicationButtonDropDownControl

RibbonStyle

RibbonForm

Ribbon Form

Application Button

ApplicationButtonImageOptions

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace