ViewSize property (ImageList Control)

C++ Builder example

Delphi example

 

Builder Syntax

int ViewSize;

Delphi Syntax

ViewSize: Longint;

Overview

Refer to Using the Image List Control.

Remarks

(Read only) (Runtime only) Contains the ImageList Control's view size.

The value of this property may be in rows or columns. The value depends on the current scroll style. If the ScrollStyle property is SCROLLSTYLE_VERTICAL, then the value will indicate rows. If the ScrollStyle property is SCROLLSTYLE_HORIZONTAL, then the value will indicate columns.

For more information on the LEADImageListItem data type, refer to the Item property.

See Also

Elements:

ScrollStyle property, FirstVisibleItem property

Topics:

Raster Images: Displaying Images