Пример #1
0
 public static string[]? GetFileDrop(this IReadFromClipboard clip) => clip.GetData(DataFormats.FileDrop) as string[];
Пример #2
0
 public static BitmapSource?GetImage(this IReadFromClipboard clip) =>
 clip.GetData(DataFormats.Bitmap) as BitmapSource;
Пример #3
0
 public static Stream?GetAudio(this IReadFromClipboard clip) => clip.GetData(DataFormats.WaveAudio) as Stream;