Back to Devexpress

AccordionControlElementBase.Image Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrolelementbase-646f90bc.md

latest3.0 KB
Original Source

AccordionControlElementBase.Image Property

Gets or sets the image displayed in the element header.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public Image Image { get; set; }
vb
<Browsable(False)>
Public Property Image As Image

Property Value

TypeDescription
Image

The image displayed in the element header.

|

Remarks

It’s possible to assign an image to the element with either the Image or AccordionControlElementBase.ImageIndex property.

If images are specified using both of these properties, the Image property takes priority over the ImageIndex property.

The AccordionControl adjusts the header height to accommodate the contents (image, text, custom control, and context buttons) in their entirety. The AccordionControlElementBase.ImageLayoutMode property allows you to limit the image display height and specify the way the assigned image is scaled.

See Also

Text

HeaderIndent

CaptionShowMode

CaptionImageIndent

ImageIndex

ImageLayoutMode

HeaderControl

ItemContextButtons

GroupContextButtons

AccordionControlElementBase Class

AccordionControlElementBase Members

DevExpress.XtraBars.Navigation Namespace