Block. Copy Selection ToClipboard Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies the selected content to the Windows clipboard.
public: virtual void CopySelectionToClipboard() = CopySelectionToClipboard;
public void CopySelectionToClipboard();
Public Sub CopySelectionToClipboard ()
Windows 10, version 1809 (introduced in 10.0.17763.0)
Windows.Foundation.UniversalApiContract (introduced in v7.0)
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).