---
title: "StateChangingEventArgs Constructor "
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_WinControls_StateChangingEventArgs_ctor_2_21a93576.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/)

# StateChangingEventArgs Constructor 
 
Creates and initializes new [StateChangingEventArgs](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_StateChangingEventArgs.htm.md) class instance.
 
**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 New ( _item As IListItem, _stateType As StateType _
)
```
 
```csharp
public StateChangingEventArgs(IListItem item,StateType stateType
)
```
 
### Parameters
 
 - item
     - Type: [Aurigma.GraphicsMill.WinControls.IListItem](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IListItem.htm.md)
The list item object whose state is about to be changed.

 - stateType
     - Type: [Aurigma.GraphicsMill.WinControls.StateType](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_StateType.htm.md)
 [StateType](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_StateType.htm.md) value which identifies the state which is about to be changed.
   
## See Also

### Reference

- [StateChangingEventArgs Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_StateChangingEventArgs.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
