Tab
A newer version of this page is available. Switch to the current version.

RibbonGalleryItem.Image Property

Gets the settings of an image displayed by the gallery item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public RibbonItemImageProperties Image { get; }

Property Value

Type Description
RibbonItemImageProperties

A RibbonItemImageProperties object that contains image settings.

Remarks

The Image property provides access to the settings of a gallery item image.

You can specify the size of item images using the RibbonGalleryBarItem.ImageHeight and RibbonGalleryBarItem.ImageWidth properties for Gallery Bar items, or the RibbonGalleryProperties.ImageHeight and RibbonGalleryProperties.ImageWidth properties for Gallery Drop-Down items.

The image position can be specified using the RibbonGalleryBarItem.ImagePosition property for Gallery Bar items, or the RibbonGalleryProperties.ImagePosition property for Gallery Drop-Down items.

Examples

ASPxRibbon_GalleryItemAndGroup