---
title: "ListColumnCollection..::.IndexOf Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ListColumnCollection_IndexOf_1_2a29ac70.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/)

# ListColumnCollection.IndexOf Method 
 
Returns an index of the specified [ListColumn](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ListColumn.htm.md) class instance stored in this collection.
 
**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
  
```
Public Function IndexOf ( _value As ListColumn _
) As Integer
```
 
```csharp
public int IndexOf(ListColumn value
)
```
 
### Parameters
 
 - value
     - Type: [Aurigma.GraphicsMill.WinControls.ListColumn](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ListColumn.htm.md)
The [ListColumn](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ListColumn.htm.md) object to locate in the collection.
 
### Return Value
An integer value that specifies a zero-based index of the first occurrence of specified [ListColumn](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ListColumn.htm.md) object in the collection, if found; otherwise, -1.
   
## See Also

### Reference

- [ListColumnCollection Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ListColumnCollection.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
