# Javascript: TXTextControl.clipboardMode Property

> Gets or sets the clipboard mode (client or server). The clipboard mode determines if the key combinations Ctrl+C, Ctrl+V and Ctrl+X copy to and from the client clipboard or if content is copied to and from the server clipboard. Possible values for this property are defined in the enumeration ClipboardMode.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TXTextControl.clipboardMode Property
- **228 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/clipboardmode-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/clipboardmode-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/clipboardmode-property/llms-full.txt

---

### Description

Gets or sets the clipboard mode (client or server). The clipboard mode determines if the key combinations Ctrl+C, Ctrl+V and Ctrl+X copy to and from the client clipboard or if content is copied to and from the server clipboard. Possible values for this property are defined in the enumeration ClipboardMode.

### Syntax

```javascript
<ClipboardMode> TXTextControl.clipboardMode
```

### Examples

The following example demonstrates `TXTextControl.clipboardMode` in a practical document-editing workflow. It gets or sets the clipboard mode (client or server). The clipboard mode determines if the key combinations Ctrl+C, Ctrl+V and Ctrl+X copy to and from the client clipboard or if content is copied to and from the server clipboard. Possible values for this property are defined in the enumeration ClipboardMode.

```javascript
const clipboardMode = tXTextControl.clipboardMode;
console.log("clipboard mode:", clipboardMode);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.ClipboardMode Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/clipboardmode-enumeration/llms-full.txt)
- **Next:** [TXTextControl.Color Object](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol-color/llms-full.txt)
