Back to Devexpress

BaseGallery.ItemImageLocation Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-gallery-dot-basegallery-4d037860.md

latest2.5 KB
Original Source

BaseGallery.ItemImageLocation Property

Gets or sets the location of images within gallery items, relative to the items’ text.

Namespace : DevExpress.XtraBars.Ribbon.Gallery

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(Locations.Default)]
[DXCategory("Appearance")]
public Locations ItemImageLocation { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(Locations.Default)>
Public Property ItemImageLocation As Locations

Property Value

TypeDefaultDescription
LocationsDefault

A Locations enumeration value which specifies how the item’s image is positioned relative to the item’s text.

|

Available values:

NameDescription
Default

The same as the Locations.Top option.

| | Left |

An element is located at the left edge of another element.

| | Right |

An element is located at the right edge of another element.

| | Top |

An element is located at the top edge of another element.

| | Bottom |

An element is located at the bottom edge of another element.

|

Remarks

The visibility of an item’s text (GalleryItem.Caption and GalleryItem.Description) is specified by the BaseGallery.ShowItemText property.

See Also

Caption

Description

ShowItemText

BaseGallery Class

BaseGallery Members

DevExpress.XtraBars.Ribbon.Gallery Namespace