---
title: "VirtualListView..::.SetInsertMark Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_VirtualListView_SetInsertMark_2_2ffe03ff.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/)

# VirtualListView.SetInsertMark Method 
 
Sets the insertion point to the defined position.
 
**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 Sub SetInsertMark ( _index As Integer, _afterItem As Boolean _
)
```
 
```csharp
public void SetInsertMark(int index,bool afterItem
)
```
 
### Parameters
 
 - index
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
An index of the item next to one the insertion point should appear near.

 - afterItem
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
If **true** insertion point appears after the specified item; otherwise it appears before.
 
## Remarks
  
An insertion mark does not make sense for [Details](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_View.htm.md) view.
   
## See Also

### Reference

- [VirtualListView Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_VirtualListView.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
