---
title: "IListItem..::.GetIconKey Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IListItem_GetIconKey_1_033ca863.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/)

# IListItem.GetIconKey Method 
 
Returns a key of the item icon for the specified [View](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_VirtualListView_View.htm.md) of the [ThumbnailListView](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ThumbnailListView.htm.md) control.
 
**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
  
```
Function GetIconKey ( _view As View _
) As Object
```
 
```csharp
                Object GetIconKey(View view
)
```
 
### Parameters
 
 - view
     - Type: [Aurigma.GraphicsMill.WinControls.View](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_View.htm.md)
 [View](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_View.htm.md) enumeration member identifying the view mode to extract an icon index for.
 
### Return Value
An key of the item icon in one of the control image lists. The image list depends on the specified view parameter. If the item has no icon for specified view, **null** is returned.
   
## See Also

### Reference

- [IListItem Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IListItem.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
