Id Property
Description
Numeric identifier of the gallery item.
Property Type
Read-write property.
Syntax (Visual Basic)
Public Property Id() As Integer
Remarks
The Id of the gallery item is used to uniquely identify the control. Label items will have an Id of 0 by default. You can change this if you like, but the AddLabel method does not allow you to set it at the time of creation.
The Id can be useful when determining which item is getting drawn in the DrawItem event.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.