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

RibbonGalleryBarItem.ImageHeight Property

Specifies the height of gallery item images.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(typeof(Unit), "32")]
public virtual Unit ImageHeight { get; set; }
<DefaultValue(GetType(Unit), "32")>
Public Overridable Property ImageHeight As Unit

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.

Examples

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