# TextControl.SelectionViewMode Property

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

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 17.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControl.SelectionViewMode Property
- **393 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/selectionviewmode-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/selectionviewmode-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/selectionviewmode-property/llms-full.txt

---

### Description

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

### Syntax

```csharp
public SelectionViewMode SelectionViewMode { get; set; }
```

```vbnet
Public Property SelectionViewMode As SelectionViewMode
```

### Members

| 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 configured value is checked before the workflow continues.

```csharp
textControl.SelectionViewMode = SelectionViewMode.Classic;
Console.WriteLine($"Selection View Mode used by Text Control: {textControl.SelectionViewMode}");
```

```vbnet
textControl.SelectionViewMode = SelectionViewMode.Classic
Console.WriteLine($"Selection View Mode used by Text Control: {textControl.SelectionViewMode}")
```

---

## Nearby

- **Previous:** [TextControl.Selection Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/selection-property/llms-full.txt)
- **Next:** [TextControl.SelectObjects Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/selectobjects-property/llms-full.txt)
