TX Text Control .NET for Windows Forms

SelectionViewMode Property

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

Description

Specifies whether text selections are displayed with a transparent bitmap or through inverting the text.

Syntax

public SelectionViewMode SelectionViewMode { get; set; }

Members

ValueDescription
ClassicWhen text is selected, this text is inverted on the screen.
TransparentBitmapWhen text is selected, a transparent bitmap is used to display the selection.

Examples

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

textControl.SelectionViewMode = SelectionViewMode.Classic;
textControl.Update();