---
title: "RectangleController Class"
canonical: https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_RectangleController.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# RectangleController Class

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
This is a base class for all the navigators or rubberbands which should display a rectangle.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```csharp
public abstract class RectangleController : UserInputController, IPostBackDataHandler
```
 
## Remarks
  
This class implements the functionality for displaying a rectangle rubberband. You can change the rectangle appearance with RectangleController.outlineColor, RectangleController.outlineWidth, and RectangleController.outlineStyle properties.
 
## Inheritance Hierarchy
  
- [System..Object](http://msdn2.microsoft.com/en-us/library/e5kfa45b)
    - *+* [System.Web.UI..Control](http://msdn2.microsoft.com/en-us/library/983zwx2h)
        - *+* [System.Web.UI.WebControls..WebControl](http://msdn2.microsoft.com/en-us/library/k1x24e42)
            - *+* [Aurigma.GraphicsMill.AjaxControls..BaseScriptControl](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BaseScriptControl.htm.md)
                - *+* [Aurigma.GraphicsMill.AjaxControls..UserInputController](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_UserInputController.htm.md)
                    - *+* Aurigma.GraphicsMill.AjaxControls..RectangleController
                        - *+* [Aurigma.GraphicsMill.AjaxControls..RectangleRubberband](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_RectangleRubberband.htm.md)
                        - *+* [Aurigma.GraphicsMill.AjaxControls..ZoomRectangleNavigator](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_ZoomRectangleNavigator.htm.md)
   
## See Also

### Reference

- [RectangleController Members](https://www.graphicsmill.com/docs/gmwc/AllMembers_T_Aurigma_GraphicsMill_AjaxControls_RectangleController.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
