---
title: "LayerEventHandler Delegate"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_LayerEventHandler.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/)

# LayerEventHandler Delegate
 
This delegate represents a method that will handle the events raised when some layer is added.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
 
## Syntax
  
```
Public Delegate Sub LayerEventHandler ( _sender As Object, _e As LayerEventArgs _
)
```
 
```csharp
public delegate void LayerEventHandler(Object sender,LayerEventArgs e
)
```
 
### Parameters
 
 - sender
     - Type: [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)

 - e
     - Type: [Aurigma.GraphicsMill.WinControls.LayerEventArgs](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_LayerEventArgs.htm.md)
   
## See Also

### Reference

- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
