---
title: "RectangleEventArgs Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_RectangleEventArgs.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/)

# RectangleEventArgs Class
 
Provides arguments for the events of the rectangle rubberband controls (inherited from the [RectangleRubberband](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_RectangleRubberband.htm.md) class).
 
**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 Class RectangleEventArgs _Inherits EventArgs
```
 
```csharp
public class RectangleEventArgs : EventArgs
```
 
## Remarks
  
This class is used by such events as:
 
- [RectangleChanging](https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_WinControls_RectangleRubberband_RectangleChanging.htm.md)
- [RectangleChanged](https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_WinControls_RectangleRubberband_RectangleChanged.htm.md)

This class contains single property [Rectangle](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_RectangleEventArgs_Rectangle.htm.md) which contain current size of the rectangle which represents the rubberband.
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - [System.EventArgs](http://msdn2.microsoft.com/en-us/118wxtk3)
        - Aurigma.GraphicsMill.WinControls.RectangleEventArgs
 
## Thread Safety
 Static members of this type are safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
   
## See Also

### Reference

- [RectangleEventArgs Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_WinControls_RectangleEventArgs.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
