---
title: "IImageList..::.SetDefaultImage Method (Icon)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IImageList_SetDefaultImage_1_1e746547.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# IImageList.SetDefaultImage Method (Icon)
 
Inserts a new default icon into the image list.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Sub SetDefaultImage ( _icon As Icon _
)
```
 
```csharp
void SetDefaultImage(Icon icon
)
```
 
### Parameters
 
 - icon
     - Type: [System.Drawing.Icon](http://msdn2.microsoft.com/en-us/wkat843k)
The [Icon](http://msdn2.microsoft.com/en-us/wkat843k) class instance representing the icon that should be inserted into [IImageList](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IImageList.htm.md) and marked as default.
 
## Remarks
  
This icon will replace a previously added default icon.
   
## See Also

### Reference

- [IImageList Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IImageList.htm.md)
- [SetDefaultImage Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_IImageList_SetDefaultImage.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
