PermanentControlChars Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets a value indicating which control characters are shown permanently on the screen. The property's value can be a bitwise OR combination of the PermanentControlChar enumeration. The bitwise AND operator can be used to test for a given value.
Syntax
public PermanentControlChar PermanentControlChars { get; set; }Public Property PermanentControlChars As PermanentControlCharExamples
The following example uses TextControl.PermanentControlChars to configure permanent control chars as part of the text control workflow. The configured value is checked before the workflow continues.
textControl.PermanentControlChars = PermanentControlChar.Space;
Console.WriteLine($"Permanent Control Chars used by Text Control: {textControl.PermanentControlChars}");textControl.PermanentControlChars = PermanentControlChar.Space
Console.WriteLine($"Permanent Control Chars used by Text Control: {textControl.PermanentControlChars}")