ActiveFormFieldColor 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 highlight color of a form field containing the current text input position. To suppress highlighting the active FormField the property value can be set to Colors.Transparent.
Syntax
public Color ActiveFormFieldColor { get; set; }Public Property ActiveFormFieldColor As ColorExamples
The following example uses TextControlColors.ActiveFormFieldColor to configure active form field color as part of the text control colors workflow. The configured value is checked before the workflow continues.
textControlColors.ActiveFormFieldColor = System.Windows.Media.Colors.CornflowerBlue;
Console.WriteLine($"Active Form Field Color used by Text Control Colors: {textControlColors.ActiveFormFieldColor}");textControlColors.ActiveFormFieldColor = System.Windows.Media.Colors.CornflowerBlue
Console.WriteLine($"Active Form Field Color used by Text Control Colors: {textControlColors.ActiveFormFieldColor}")