Skip to main content

BaseGallery.GetItemByValue(Object) Method

Gets a GalleryItem that matches the specific value.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public GalleryItem GetItemByValue(
    object value
)

Parameters

Name Type Description
value Object

An Object that is the GalleryItem value.

Returns

Type Description
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