BaseGallery.ItemImageLayout Property

Gets or sets how a gallery item's image is displayed within the item's image area.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v20.1.dll


public ImageLayoutMode ItemImageLayout { get; set; }
Public Property ItemImageLayout As ImageLayoutMode

Property Value

Type Default Description


An ImageLayoutMode value that specifies how a gallery item's image is arranged.


An item's image (GalleryItem.Image/GalleryItem.ImageIndex) can be zoomed, stretched or aligned to various edges of the item's image area. Use the ItemImageLayout property to customize the image layout setting.

To learn how to specify a gallery item image's area size, see BaseGallery.ImageSize.

See Also