Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ItemCheckMode Enum

Contains values that specify how gallery items can be selected.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum ItemCheckMode

#Members

Name Description

An item is not automatically checked on clicking.

Only a single item can be checked throughout the gallery. When checking another item, the previously checked item is unchecked.

A checked item can be unchecked when clicking on it again.

The same as the ItemCheckMode.SingleCheck option, except the following:

A checked item is NOT unchecked when clicking on it again.

Multiple items can be checked , by clicking them while holding the CTRL/SHIFT key.

An end-user can check a single item within each group. When checking another item, the previously checked item in the same group is unchecked.

A checked item can be unchecked when clicking on it again.

The same as the ItemCheckMode.SingleCheckInGroup option, except the following:

A checked item is NOT unchecked when clicking on it again.

Multiple items can be checked, but only within a single group. Checking any item within another group, unchecks items in the previous group.

To select multiple items, click them while holding the CTRL/SHIFT key.

#Related API Members

The following properties accept/return ItemCheckMode values:

#Remarks

Use the BaseGallery.ItemCheckMode property to specify whether multiple item selection is enabled, and how gallery items can be checked/selected.

See Also