CheckedCharacter Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the character which is used to display the checkbox in the checked state.
Syntax
public char CheckedCharacter { get; set; }Public Property CheckedCharacter As CharExamples
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}");Dim checkFormField As New CheckFormField(False) With { .Name = "AcceptTerms" }
textControl.FormFields.Add(checkFormField)
checkFormField.CheckedCharacter = "A"c
Console.WriteLine($"Checked Character used by Check Form Field: {checkFormField.CheckedCharacter}")