SetImageList Method
Description
Associates an ImageList with the GridControl.
Syntax
Public Sub SetImageList( _
ByVal [ImageList] As Object _
)
Parameters
- ImageList: Name of the ImageList.
Remarks
This allows you to use images from the ImageList in your GridControl.
Example
This sample illustrates how to add images from an ImageList.
' This will add the images from the imagelist to the GridControl's collection of images
' The images will be added to the GridControl's Icons collection in the order that they
' are in the imagelist. The icons will be added at index zero (0) and increment by 1 for
' each additional image in the imagelist.
wndGridControl.SetImageList ImageListGrid
See Also
- TrackControl Control
- Icons Property
- ImageManagerIcons Object
- AddIcon Method
- LoadBitmap Method
- LoadIcon Method
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.