Skip to content

Icon Property

See Also

See Also


Description

The id\index of an icon in an ImageList collection that will be displayed in the GridRecordItem.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Icon() As Long

Remarks

If a value is set, this icon will be displayed in the item.

This is the value/index/id used to identify the icon within an ImageList/Collection of icons. The icon at the value/index/id of the ImageList/Collection of Icons will be displayed in the GridRecordItem.

  • If Icons are in an ImageList: This value corresponds to an icon in the ImageList at the index specified by the Icon property. The index of an ImageList must start at 1 and increments by 1 for each additional icon.

  • If Icons are stored in the ImageManagerIcons object: This value corresponds to the Id given to the icon in the collection of icons. The id of an icon added to the ImageManagerIcons object can be any positive integer.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.