Back to Devexpress

RibbonControl.Image Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-0d2d1527.md

latest3.1 KB
Original Source

RibbonControl.Image Property

Gets or sets the custom background image for this RibbonControl.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Image Image { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Property Image As Image

Property Value

TypeDefaultDescription
Imagenull

A Image object that is the custom background image for this RibbonControl.

|

Remarks

The Image property specifies the image drawn at the RibbonControl page header region and form title bar (in case the RibbonControl is embedded in a Ribbon Form).

An image assigned to the Image property is drawn as is, without scaling. The only layout option available for a background image is the RibbonControl.ImageAlignment property, which takes the following values.

See Also

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace