ColumnLineColor Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the color of a dividing line between two columns.
Syntax
public Color ColumnLineColor { get; set; }Public Property ColumnLineColor As ColorExamples
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}");Dim sectionFormat As 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.