SelectionViewMode Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Specifies whether text selections are displayed with a transparent bitmap or through inverting the text.
Syntax
public SelectionViewMode SelectionViewMode { get; set; }Public Property SelectionViewMode As SelectionViewModeMembers
| Value | Description |
|---|---|
| Classic | When text is selected, this text is inverted on the screen. |
| TransparentBitmap | When 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();textControl.SelectionViewMode = SelectionViewMode.Classic
textControl.Update()