Skip to main content

RibbonGalleryItem.Image Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public RibbonItemImageProperties Image { get; }

Property Value

Type Description

A RibbonItemImageProperties object that contains image settings.


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.



<dx:RibbonGalleryBarItem ImageWidth="40" ImageHeight="19" ImagePosition="Left" ...>
          <dx:RibbonGalleryGroup Text="Office 2010">
                    <dx:RibbonGalleryItem Text="Office 2010 Blue" ToolTip="Office 2010 Blue">
                         <Image Url="Images/Galleries/ThemeOffice2010Blue.png"></Image>
See Also