Class LineView
A straight line control either horizontal or vertical
public class LineView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize
- Inheritance
-
LineView
- Implements
- Inherited Members
Constructors
- LineView()
Creates a horizontal line
- LineView(Orientation)
Creates a horizontal or vertical line based on
orientation
Properties
- EndingAnchor
The rune to display at the end of the line (right end of horizontal line or bottom end of vertical). If not specified then LineRune is used
- LineRune
The symbol to use for drawing the line
- Orientation
The direction of the line. If you change this you will need to manually update the Width/Height of the control to cover a relevant area based on the new direction.
- StartingAnchor
The rune to display at the start of the line (left end of horizontal line or top end of vertical) If not specified then LineRune is used
Methods
- Redraw(Rect)
Draws the line including any starting/ending anchors