Back to Devexpress

TdxGalleryControlOptionsBehavior.ItemCheckMode Property

vcl-dxgallerycontrol-dot-tdxgallerycontroloptionsbehavior.md

latest1.5 KB
Original Source

TdxGalleryControlOptionsBehavior.ItemCheckMode Property

Specifies item selection mode.

Declaration

delphi
property ItemCheckMode: TdxGalleryItemCheckMode read; write; default icmNone;

Property Value

TypeDefault
TdxGalleryItemCheckModeicmNone

Remarks

End-users can select and deselect gallery items with a click or by pressing the Space key while an item is focused. Depending on the ItemCheckMode property value, an end-user can keep single or multiple items selected at the same time.

Options include:

ValueDescription
icmMultipleMultiple items can be selected. Use the ItemMultiSelectKind property to specify the manner in which end-users can modify the item selection.
icmNoneItem selection is disabled.
icmSingleCheckOne or zero items can be selected.
icmSingleRadioOne item is always selected.

The image below shows the multi-selection mode (the ItemCheckMode property is set to icmMultiple ).

The default value of the ItemCheckMode property is icmNone.

See Also

TdxGalleryControlOptionsBehavior Class

TdxGalleryControlOptionsBehavior Members

dxGalleryControl Unit