Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AccordionControlElementBase.Image Property

Gets or sets the image displayed in the element header.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.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