---
title: "StateChangingEventArgs..::.Cancel Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_StateChangingEventArgs_Cancel.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.Cancel Property 
 
Gets/sets the value indicating whether the item state changes should be cancelled.
 
**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 Property Cancel As Boolean
```
 
```csharp
public bool Cancel { get; set; }
```
 
### Property Value
A [Boolean](http://msdn2.microsoft.com/en-us/a28wyd50) value indicating whether the item state changes should be cancelled.
   
## 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)
