Skip to main content
Tab

RibbonGalleryBarItem.ImageHeight Property

Specifies the height of gallery item images.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue(typeof(Unit), "32")]
public virtual Unit ImageHeight { get; set; }

Property Value

Type Default Description
Unit "32"

A Unit value specifying an image height.

Remarks

Use the ImageHeight and RibbonGalleryBarItem.ImageWidth properties to specify the size of gallery item images (RibbonGalleryItem.Image) in the gallery bar item. To specify the image position, use the RibbonGalleryBarItem.ImagePosition property.

Example

ASPxRibbon_GalleryItemAndGroup

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