Back to Devexpress

BaseGallery.GetItemByValue(Object) Method

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-gallery-dot-basegallery-dot-getitembyvalue-x28-system-dot-object-x29.md

latest1.9 KB
Original Source

BaseGallery.GetItemByValue(Object) Method

Gets a GalleryItem that matches the specific value.

Namespace : DevExpress.XtraBars.Ribbon.Gallery

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public GalleryItem GetItemByValue(
    object value
)
vb
Public Function GetItemByValue(
    value As Object
) As GalleryItem

Parameters

NameTypeDescription
valueObject

An Object that is the GalleryItem value.

|

Returns

TypeDescription
GalleryItem

A GalleryItem that matches the specific value.

|

Remarks

The GetItemByValue method returns a GalleryItem, whose GalleryItem.Value property equals the value parameter.

See Also

Value

BaseGallery Class

BaseGallery Members

DevExpress.XtraBars.Ribbon.Gallery Namespace