BaseGallery.GetCheckedItem() Method

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

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public GalleryItem GetCheckedItem()
Public Function GetCheckedItem As GalleryItem

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