UncheckedCharacter Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets or sets the character which is used to display the checkbox in the unchecked state.
Syntax
public char UncheckedCharacter { get; set; }Public Property UncheckedCharacter As CharExamples
The following example adds a terms-and-conditions check box to a form by using CheckFormField.UncheckedCharacter.
CheckFormField checkFormField = new(false) { Name = "AcceptTerms" };
textControl.FormFields.Add(checkFormField);
checkFormField.UncheckedCharacter = 'A';
Console.WriteLine($"Unchecked Character used by Check Form Field: {checkFormField.UncheckedCharacter}");Dim checkFormField As New CheckFormField(False) With { .Name = "AcceptTerms" }
textControl.FormFields.Add(checkFormField)
checkFormField.UncheckedCharacter = "A"c
Console.WriteLine($"Unchecked Character used by Check Form Field: {checkFormField.UncheckedCharacter}")