Skip to content

Detect Clipboard Changes #12618

@scottkuhl

Description

@scottkuhl

Problem
The current implementation of Clipboard does not have an event to listen for content changes.

Solution
Add an EventHandler to the IClipboard interface for monitoring changes.

event EventHandler<EventArgs> ClipboardContentChanged;

Workaround
If an application needs to detect items added to the clipboard it can use a polling timer.

Additional context
You can find an example implementation of this in the .NET MAUI source code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions