​
​
​

Gets or sets the color of the light part of a separator. This color is only used with the VerticalColorScheme border style.

​ Introduced: X8.

Syntax

​public System.Windows.Media.Color SeparatorColorLight { get; set; }
​Public Property SeparatorColorLight As System.Windows.Media.Color

Examples

The following example uses the SeparatorColorLight property and sets the color of the light part of a separator to Yellow. The SeparatorColorLight property is only used with the VerticalColorScheme border style. Therefore initially the BorderStyle property is set to value VerticalColorScheme.

​TXTextControl.WPF.StatusBarColors colors = new TXTextControl.WPF.StatusBarColors();

colors.BorderStyle = TXTextControl.StatusBarBorderStyle.VerticalColorScheme;
colors.ForeColor   = System.Windows.Media.Colors.White;
colors.SeparatorColorLight = System.Windows.Media.Colors.Yellow;
​Dim colors As TXTextControl.WPF.StatusBarColors = New TXTextControl.WPF.StatusBarColors()

colors.BorderStyle = TXTextControl.StatusBarBorderStyle.ColorScheme
colors.ForeColor   = System.Windows.Media.Color.White
colors.SeparatorColorLight = System.Windows.Media.Color.Yellow
​