TX Text Control .NET for Windows Forms

ColumnLineColor Property

Property|Introduced in 15.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the color of a dividing line between two columns.

Syntax

public Color ColumnLineColor { get; set; }

Examples

The following example configures the layout of the first document section by using SectionFormat.ColumnLineColor.

SectionFormat sectionFormat = textControl.Sections[1].Format;

sectionFormat.ColumnLineColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Column Line Color used by Section Format: {sectionFormat.ColumnLineColor}");

Remarks

The property's default value is the system color for text.

The property returns its default value when the text selection contains multiple sections with mixed setting. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.