TX Text Control .NET for WPF

EditableRegionHighlightMode Property

Property|Introduced in 30.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets a value indicating whether all the editable regions in the document are highlighted. The value of this property is only used if the highlight mode of a certain editable region is set to HighlightMode.Auto.

Syntax

public HighlightMode EditableRegionHighlightMode { get; set; }

Members

ValueDescription
ActivatedDefault. An editable region is highlighted when it contains the text input position.
AlwaysAll editable regions are highlighted.
NeverNo editable region is highlighted.
AutoThis value cannot be used for this property.

Examples

The following example uses TextControl.EditableRegionHighlightMode to configure editable region highlight mode as part of the text control workflow. The configured value is checked before the workflow continues.

textControl.EditableRegionHighlightMode = HighlightMode.Never;
Console.WriteLine($"Editable Region Highlight Mode used by Text Control: {textControl.EditableRegionHighlightMode}");