AllowSelection property (ILEADRasterImgList)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

ImageListAllowSelectionConstants AllowSelection

Overview

Refer to Using the Image List Control.

Remarks

(Persistent property, available at design time) Specifies whether or not automatic item selection is allowed.

If automatic item selection is enabled, items are automatically selected and de-selected when the user clicks on them using the mouse.

Value

Meaning

IMGLST_ALLOWSELECTION_NONE

Automatic selection is disabled, selection is manual

IMGLST_ALLOWSELECTION_SINGLE

Automatic selection of single items is enabled

IMGLST_ALLOWSELECTION_MULTI

Automatic selection of multiple items is enabled

The default setting is IMGLST_ALLOWSELECTION_NONE.

Note:

When IMGLST_ALLOWSELECTION_MULTI is enabled, the user can select multiple items using the mouse and the CTRL and SHIFT keys.

See Also

Elements:

SelectionStyle property, SelectionColor property, ItemSelected event, Item property, SelectAll method, HitTest method

Topics:

Raster Images: Displaying Images