GalleryItemGroup.GetItemByValue(Object) Method

Gets a GalleryItem that matches the specific value.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

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

Parameters

Name Type Description
value Object

An Object that is the GalleryItem value.

Returns

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