# ControlBorder class

Namespace: [Grasshopper2.UI.Flex](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.flex.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public class ControlBorder
```

Represents a border around an IControl.

## Constructors

- [ControlBorder](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.controlborder/ctor.md): Creates a new instance of the ControlBorder class.

## Properties

- [Colour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.controlborder/colour.md): Gets the colour of this border.
- [Size](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.controlborder/size.md): Gets the thickness of this border.
