# GH_HorizontalSeparator class

Namespace: [Grasshopper.GUI](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_HorizontalSeparator : GH_DoubleBufferedPanel
```

GUI elements for creating visual separations.

## Properties

- [DisplayMode](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-horizontalseparator/displaymode.md): Gets or sets the separator display mode.

## Methods

- [OnPaint](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-horizontalseparator/onpaint.md)
- [OnPaintBackground](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-horizontalseparator/onpaintbackground.md)
