Skip to content

Icons Property

See Also

GridControl Control | AddIcon Method | SetImageList Method | LoadBitmap Method | LoadIcon Method

See Also


Description

A collection of icons that can be used in GridRecordItem and GridColumn objects.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Icons() As [ImageManagerIcons](XtremeCalendarControl~ImageManagerIcons.md)

Remarks

Icons must be added to this collection using the AddIcon, LoadBitmap, LoadIcon, or SetImageList methods before they can be used in the GridControl.

Important note: The IconId cannot be zero (0). When using the AddIcon, LoadBitmap, and LoadIcon methods, you cannot assign an IconId of zero; the IconId must be a positive integer. When adding icons using the SetImageList method, the first icon in the image list will have an IconId of 1 if no other icons have already been added.

See Also

GridControl Control | AddIcon Method | SetImageList Method | LoadBitmap Method | LoadIcon Method

Example

Add icons using the AddIcon Method | Add icons using the LoadBitmap Method | Add icons using the LoadIcon Method | Using images from an ImageList | Assigning an Icon to a GridColumn | Assigning an Icon to a GridRecordItem


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