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