Back to Devexpress

GalleryItem(Image, String, String) Constructor

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-galleryitem-dot-ctor-x28-system-dot-drawing-dot-image-system-dot-string-system-dot-string-x29.md

latest2.0 KB
Original Source

GalleryItem(Image, String, String) Constructor

Initializes a new instance of the GalleryItem class with the specified image, caption and description.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public GalleryItem(
    Image image,
    string caption,
    string description
)
vb
Public Sub New(
    image As Image,
    caption As String,
    description As String
)

Parameters

NameTypeDescription
imageImage

A Image object which specifies the item’s image. This value is assigned to the GalleryItem.ImageOptions.Image property.

| | caption | String |

A string which specifies the item’s caption. This value is assigned to the GalleryItem.Caption property.

| | description | String |

A string which specifies the item’s description. This value is assigned to the GalleryItem.Description property.

|

See Also

GalleryItem Class

GalleryItem Members

DevExpress.XtraBars.Ribbon Namespace