Skip to main content

BaseGallery.GetCheckedItem() Method

Returns the checked (selected) gallery item (if only one item is selected).

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public GalleryItem GetCheckedItem()

Returns

Type Description
GalleryItem

The checked (selected) gallery item; otherwise, null (Nothing in VB).

Remarks

The GetCheckedItem method returns the gallery item that is the only checked item in the BaseGallery. If the BaseGallery has no checked items or more then one checked item, this method returns null (Nothing in VB).

See Also