DisplayColors Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets the colors of the text control. The property value is an object of the type WPF.TextControlColors.
Syntax
public TextControlColors DisplayColors { get; set; }Public Property DisplayColors As TextControlColorsExamples
The following example uses TextControl.DisplayColors to configure display colors as part of the text control workflow. The configured value is checked before the workflow continues.
textControl.DisplayColors = new TXTextControl.WPF.TextControlColors();
if (textControl.DisplayColors != null)
{
Console.WriteLine("Text Control: Display Colors is available.");
}textControl.DisplayColors = New TXTextControl.WPF.TextControlColors()
If textControl.DisplayColors IsNot Nothing Then
Console.WriteLine("Text Control: Display Colors is available.")
End If