TX Text Control .NET for WPF

CheckedCharacter 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 or sets the character which is used to display the checkbox in the checked state.

Syntax

public char CheckedCharacter { get; set; }

Examples

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

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

checkFormField.CheckedCharacter = 'A';
Console.WriteLine($"Checked Character used by Check Form Field: {checkFormField.CheckedCharacter}");