TextBlock.CopySelectionToClipboard Method

Definition

Copies the selected content to the Windows clipboard.

C#
public void CopySelectionToClipboard();

Remarks

Important

If using a keyboard for text selection within a TextBlock, the user must first activate Caret Browsing (with the app in the foreground, press F7).

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6