ColumnGuide Class
Represents a IColumnGuide within an ITextView.
public class ColumnGuide : IColumnGuide
- Inheritance:
- object object
- Implements:
- IColumnGuide
Constructors
ColumnGuide(ColumnGuidePlacement, int, LineKind, int, Color?)
Initializes a new instance of the ColumnGuide class.
public ColumnGuide(ColumnGuidePlacement placement, int placementValue, LineKind lineKind, int thickness, Color? color)
Parameter | Type | Description |
---|---|---|
placement | ColumnGuidePlacement | Indicates how the column guide will be placed within its parent ITextView. |
placementValue | int | The column number when |
lineKind | LineKind | The kind of line to use. |
thickness | int | The thickness of the line. |
color | Color? | The color of the line or |
Properties
Color
Gets the explicitly-defined color of the line. When not defined, a default color will be used.
LineKind
Gets a LineKind indicating the kind of line to use.
Placement
Gets a ColumnGuidePlacement indicating how the column guide will be placed within its parent ITextView.
public ColumnGuidePlacement Placement { get; }
Property Value
- ColumnGuidePlacement:
One of the ColumnGuidePlacement values.
See Also
PlacementValue
Gets the value that specifies where the column guide will be placed within its parent ITextView.
public int PlacementValue { get; }
Property Value
Thickness
Gets the value that defines the thickness of the line.