TX Text Control .NET for Windows Forms

HideSelection Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets a value indicating whether the selected text in the Text Control remains highlighted when the control loses focus.

Syntax

public bool HideSelection { get; set; }

Examples

The following example uses TextControl.HideSelection to configure hide selection as part of the text control workflow. The change is then applied to the active document or user interface.

textControl.HideSelection = false;
textControl.Update();