BaseGallery.GetCheckedItems() Method

Returns a list containing the currently checked (selected) gallery items.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public List<GalleryItem> GetCheckedItems()
Public Function GetCheckedItems As List(Of GalleryItem)

Returns

Type Description
List<GalleryItem>

A list that contains checked (selected) gallery items.

Remarks

Checked items are those whose GalleryItem.Checked properties are set to true. To allow items to be checked by an end-user, use the BaseGallery.ItemCheckMode property.

The GetCheckedItems method returns items that are checked within all gallery groups. If there is no checked item, the method returns an empty list.

To get items that are checked within specific groups, use GalleryItemGroup.GetCheckedItems.

See Also