DefaultCheckedCharacter Field
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Represents the default character which is used to display the checkbox in the checked state.
Syntax
public const char DefaultCheckedCharacter = '☒';Public Const DefaultCheckedCharacter As Char = "☒"cExamples
The following example adds a terms-and-conditions check box to a form by using CheckFormField.DefaultCheckedCharacter.
CheckFormField checkFormField = new(false) { Name = "AcceptTerms" };
textControl.FormFields.Add(checkFormField);
Console.WriteLine($"Default Checked Character: {CheckFormField.DefaultCheckedCharacter}");
Console.WriteLine("Check Form Field is ready for use.");Dim checkFormField As New CheckFormField(False) With { .Name = "AcceptTerms" }
textControl.FormFields.Add(checkFormField)
Console.WriteLine($"Default Checked Character: {CheckFormField.DefaultCheckedCharacter}")
Console.WriteLine("Check Form Field is ready for use.")