SelectionStyle property (ImageList Control)

C++ Builder example

Delphi example

 

Builder Syntax

int SelectionStyle

Delphi Syntax

SelectionStyle: Integer

Overview

Refer to Using the Image List Control.

Remarks

(Published property) Specifies the style used to display items that have the selected attribute.

Setting

Description

SELECTIONSTYLE_SELECTCOLOR

show selected items using the SelectionColor

SELECTIONSTYLE_PRESSEDBUTTON

show selected items as pressed buttons

SELECTIONSTYLE_USERBITMAP

show selected items using a user-defined bitmap.

The default setting is SELECTIONSTYLE_SELECTCOLOR.

See Also

Elements:

SetSelectionBitmap method, AllowSelection property, SelectionColor property, OnItemSelected event, Item property, SelectAll method, HitTest method

Topics:

Raster Images: Displaying Images