Back to Devexpress

GalleryItemGroup.GetItemByValue(Object) Method

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

latest1.9 KB
Original Source

GalleryItemGroup.GetItemByValue(Object) Method

Gets a GalleryItem that matches the specific value.

Namespace : DevExpress.XtraBars.Ribbon

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 and belongs to the current GalleryItemGroup.

|

Remarks

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

See Also

GalleryItemGroup Class

GalleryItemGroup Members

DevExpress.XtraBars.Ribbon Namespace