IClipboard Interface
Definition
Important
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.
Provides a way to work with text on the device clipboard.
public interface class IClipboard
public interface IClipboard
type IClipboard = interface
Public Interface IClipboard
Properties
HasText |
Gets a value indicating whether there is any text on the clipboard. |
Methods
GetTextAsync() |
Returns any text that is on the clipboard. |
SetTextAsync(String) |
Sets the contents of the clipboard to be the specified text. |
Events
ClipboardContentChanged |
Occurs when the clipboard content changes. |
Applies to
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.