In This Article

ColumnGuide Class

Represents a IColumnGuide within an ITextView.

public class ColumnGuide : IColumnGuide
Inheritance:
object object
Implements:
IColumnGuide

Constructors

ColumnGuide(ColumnGuidePlacement, double, LineKind, float, Color?)

Initializes a new instance of the ColumnGuide class.

public ColumnGuide(ColumnGuidePlacement placement, double placementValue, LineKind lineKind, float thickness, Color? color)
Parameter Type Description
placement ColumnGuidePlacement

Indicates how the column guide will be placed within its parent ITextView.

placementValue double

The column number when placement is set to Column, or the coordinate location on the x-axis when placement is set to Absolute.

lineKind LineKind

The kind of line to use.

thickness float

The thickness of the line.

color Color?

The color of the line or null to use a default color.

Properties

Color

Gets the explicitly-defined color of the line. When not defined, a default color will be used.

public Color? Color { get; }

Property Value

Color?

LineKind

Gets a LineKind indicating the kind of line to use.

public LineKind LineKind { get; }

Property Value

LineKind:

One of the LineKind values.

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 double PlacementValue { get; }

Property Value

double:

The column number when Placement is set to Column, or the coordinate location on the x-axis when Placement is set to Absolute.

Thickness

Gets the value that defines the thickness of the line.

public float Thickness { get; }

Property Value

float:

A positive, non-zero numerical value.

Inherited Members