Skip to main content
A newer version of this page is available. .

AccordionControlElementBase.Image Property

Gets or sets the image displayed in the element header.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.1.dll

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.

By default, the auto-height feature is enabled for element headers. It 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