windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrolelementbase-a7d865b4.md
Gets or sets whether the header image (AccordionControlElementBase.Image or AccordionControlElementBase.ImageIndex) is resized and how this is performed.
Namespace : DevExpress.XtraBars.Navigation
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
public ImageLayoutMode ImageLayoutMode { get; set; }
<Browsable(False)>
Public Property ImageLayoutMode As ImageLayoutMode
| Type | Description |
|---|---|
| DevExpress.XtraBars.Navigation.ImageLayoutMode |
The image stretching mode.
|
The following stretching modes are available:
In the OriginalSize mode, the image height affects the header height, while in the Squeeze and Stretch modes, the header height limits the image display size. You can use the following properties to manually change the header height of elements: AccordionControlElementBase.Height, AccordionControl.ItemHeight and AccordionControl.GroupHeight.
Tip
The height of a header’s content region is determined by the header height minus content vertical margins.
See Also
AccordionControlElementBase Class