ImageList.Handle Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the handle of the image list object.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public IntPtr Handle { get; }

Property Value

Type: System.IntPtr

The handle for the image list. The default is null.

Exception Condition

Creating the handle for the ImageList failed.

This corresponds to a Win32 HIMAGELIST handle. The handle is not created until you need to use it. Getting the handle causes it to be created.

.NET Framework
Available since 1.1
Return to top