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

RibbonGalleryBarItem.ImagePosition Property

Gets or sets the position of ribbon gallery item images within the gallery bar item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(ImagePosition.Top)]
public virtual ImagePosition ImagePosition { get; set; }
<DefaultValue(ImagePosition.Top)>
Public Overridable Property ImagePosition As ImagePosition

Property Value

Type Default Description
ImagePosition

Top

One of the ImagePosition enumeration values.

Remarks

Use the ImagePosition property to specify the position of gallery item images in the current RibbonGalleryBarItem object.

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