Represents a line control.
The Line control enables you to draw lines on a form or container at design time or run time.
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.
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: