---
title: "RectangleController Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_RectangleController.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/)

# RectangleController Class
 
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/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
Public MustInherit Class RectangleController _Inherits UserInputController _Implements IPostBackDataHandler
```
 
```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 [OutlineColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_RectangleController_OutlineColor.htm.md), [OutlineWidth](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_RectangleController_OutlineWidth.htm.md), and [OutlineStyle](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_RectangleController_OutlineStyle.htm.md) properties.
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - [System.Web.UI.Control](http://msdn2.microsoft.com/en-us/983zwx2h)
        - [System.Web.UI.WebControls.WebControl](http://msdn2.microsoft.com/en-us/k1x24e42)
            - [Aurigma.GraphicsMill.AjaxControls.BaseScriptControl](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseScriptControl.htm.md)
                - [Aurigma.GraphicsMill.AjaxControls.UserInputController](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_UserInputController.htm.md)
                    - Aurigma.GraphicsMill.AjaxControls.RectangleController
                        - [Aurigma.GraphicsMill.AjaxControls.ZoomRectangleNavigator](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_ZoomRectangleNavigator.htm.md)
                        - [Aurigma.GraphicsMill.AjaxControls.RectangleRubberband](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_RectangleRubberband.htm.md)
   
## See Also

### Reference

- [RectangleController Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_AjaxControls_RectangleController.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
