Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
The ClipboardHelper class provides methods for interacting with the clipboard. It allows you to get and set text and RTF (Rich Text Format) data on the clipboard. This is useful for applications that need to manipulate clipboard data, such as copying and pasting formatted text.
Methods
| Method | Description |
|---|---|
| GetText() | Gets the text data from the clipboard. |
| SetRtf(String, String) | Sets the RTF data on the clipboard. |
| SetText(String) | Sets the text data on the clipboard. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Windows developer