TX Text Control .NET for WPF

SupportedCheckedCharacters Property

Property|Introduced in 28.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets possible characters which can be used to display the checkbox in the checked state. The characters depend on the font used to display the text field.

Syntax

public char[] SupportedCheckedCharacters { get; }

Examples

The following example adds a terms-and-conditions check box to a form by using CheckFormField.SupportedCheckedCharacters.

CheckFormField checkFormField = new(false) { Name = "AcceptTerms" };
textControl.FormFields.Add(checkFormField);

foreach (char character in checkFormField.SupportedCheckedCharacters)
{
    Console.WriteLine(character);
}