Represents a line control.
The Line control enables you to draw lines on a form or container at design time or run time.
For a full list of properties, methods and events see the API documentation.


Line Size

The LineSize property can be used to get or set the height of the line in pixels.
Three Line controls with LineSize set to 1, 3, and 5 pixels, respectively.

Line Style

The LineStyle property can be used to customize the appearance of the line using one of the following presets:
  • None: No line.
  • Solid: A solid line.
  • Dotted: A dotted line.
  • Dashed: A dashed line.
  • Double: A double solid line.
Solid, Dotted, Dashed, and Double line styles.


Lines can be configured to be shown in a Horizontal or Vertical orientation:


JavaScript Widget

Class name
Theme appearance
"line", see Themes.
Source code