IColumnGuideCollection Interface
Provides the base requirements for a collection of IColumnGuide instances to be displayed within an ITextView.
public interface IColumnGuideCollection : IList<IColumnGuide>, ICollection<IColumnGuide>, IEnumerable<IColumnGuide>, IEnumerable, INotifyCollectionChanged
Methods
Add(ColumnGuidePlacement, Int32, LineKind, Int32, Nullable<Color>)
Creates and adds a new instance of IColumnGuide.
IColumnGuide Add(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 | Int32 | The column number when |
lineKind | LineKind | The kind of line to use. |
thickness | Int32 | The thickness of the line. |
color | Nullable<Color> | The color of the line or |
Returns
- IColumnGuide:
The IColumnGuide that was created.
Add(Int32)
Creates and adds a new instance of IColumnGuide for a solid line guide to be placed at a specific column index.
IColumnGuide Add(int column)
Parameter | Type | Description |
---|---|---|
column | Int32 | The column where the guide will be placed. |
Returns
- IColumnGuide:
The IColumnGuide that was created.
Add(Int32, LineKind)
Creates and adds a new instance of IColumnGuide for a guide to be placed at a specific column index.
IColumnGuide Add(int column, LineKind lineKind)
Parameter | Type | Description |
---|---|---|
column | Int32 | The column where the guide will be placed. |
lineKind | LineKind | The kind of line to use. |
Returns
- IColumnGuide:
The IColumnGuide that was created.