[API Proposal]: Unified, cross-platform Clipboard type #115041
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
needs-area-label
An area label is needed to ensure this gets routed to the appropriate area owners
Uh oh!
There was an error while loading. Please reload this page.
Background and motivation
Currently, there exist the
System.Windows.Clipboard
andSystem.Windows.Forms.Clipboard
types, which, of course, are only available on Windows. They also require enabling theUseWpf
orUseWindowsForms
MSBuild properties in the project.A single cross-platform equivalent in the base library would introduce the ability to get and set the data in the user's clipboard regardless of the type of app being written and regardless of the OS being targeted.
I don't know the intricacies of clipboards on other operating systems, so the implementation may be a lot more daunting than I anticipate. It may also be relevant to know what versions of a certain OS support which clipboard features.
API Proposal
API Usage
Alternative Designs
No response
Risks
No response
The text was updated successfully, but these errors were encountered: