You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Implemented IClipboard.TryGetInProcessDataObjectAsync for X11
* [Win32] Implemented TryGetInProcessDataObjectAsync
* Rest of the platforms
* Run `nuke ValidateApiDiff`
---------
Co-authored-by: Max Katz <[email protected]>
Copy file name to clipboardExpand all lines: src/Avalonia.Base/Input/Platform/IClipboard.cs
+9
Original file line number
Diff line number
Diff line change
@@ -49,5 +49,14 @@ public interface IClipboard
49
49
/// <param name="format">A string that specifies the format of the data to retrieve. For a set of predefined data formats, see the <see cref="DataFormats"/> class.</param>
50
50
/// <returns></returns>
51
51
Task<object?>GetDataAsync(stringformat);
52
+
53
+
/// <summary>
54
+
/// If clipboard contains the IDataObject that was set by a previous call to <see cref="SetDataObjectAsync"/>,
55
+
/// return said IDataObject instance. Otherwise, return null.
56
+
/// Note that not every platform supports that method, on unsupported platforms this method will always return
0 commit comments