Код: Выделить всё
await MainThread.InvokeOnMainThreadAsync(async () =>
{
IEnumerable images = await FilePicker.PickMultipleAsync(new PickOptions()
{
FileTypes = new FilePickerFileType(new Dictionary
{
{ DevicePlatform.WinUI, [".jpg", ".png", ".jpeg", ".bmp", ".tif", ".tiff"] }
})
});
... // some code to parse the images
});
У кого -нибудь есть идеи?>
Подробнее здесь: https://stackoverflow.com/questions/796 ... ong-thread