ShowActivated Property
- Obsolete
- The assembly marks this as obsolete.
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Obsolete. Specifies whether a text field toggles its background to gray, if the current input position is in the field. The default setting of this property is false. This property is obsolete and has been superseded by the HighlightColor and HighlightMode properties.
Syntax
[]
public bool ShowActivated { get; set; }<Obsolete>
Public Property ShowActivated As BooleanExamples
The following example inserts a Word-compatible text field into a template by using TextField.ShowActivated.
TextField textField = new ApplicationField(ApplicationFieldFormat.MSWord, "MERGEFIELD", "Customer name", new[] { "CustomerName" });
textControl.TextFields.Add(textField);
textField.ShowActivated = true;
if (textField.ShowActivated)
{
Console.WriteLine("Text Field: Show Activated is enabled.");
}Dim textField As TextField = New ApplicationField(ApplicationFieldFormat.MSWord, "MERGEFIELD", "Customer name", New String() { "CustomerName" })
textControl.TextFields.Add(textField)
textField.ShowActivated = True
If textField.ShowActivated Then
Console.WriteLine("Text Field: Show Activated is enabled.")
End IfSee Also
Text Fields and Hypertext Links - Editing Marked Text Fields.