---
title: "RectangleController..::.OutlineStyle Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_RectangleController_OutlineStyle.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.OutlineStyle Property 
 
Gets/sets the rectangle outline pen style (solid, dashed, etc).
 
**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
  
```
<BrowsableAttribute(True)> _
Public Property OutlineStyle As DashStyle
```
 
```csharp
[BrowsableAttribute(true)]
public DashStyle OutlineStyle { get; set; }
```
 
### Property Value
The pen style of the rectangle outline.
 
## Remarks
  
Since rectangle outline is drawn using GDI (through the [GdiGraphics](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_GdiGraphics.htm.md) class), pen style has the same limitations as a GDI pen. In particular, if the pen width (specified with the [OutlineWidth](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_RectangleController_OutlineWidth.htm.md) property) is larger than 1, pen style is always solid, regardless to this property value.
   
## See Also

### Reference

- [RectangleController Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_RectangleController.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
