Skip to main content

AccordionControlElementBase.Image Property

Gets or sets the image displayed in the element header.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public Image Image { get; set; }

Property Value

Type Description
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.

AccordionControlElement-Image

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