protected override async Task <BitmapSource> GetThumbnail() { ThumbMaxHeight = 80; if (Item.IsFileShare) { var thumb = Utils.GetImageFromRessource("share.png"); thumb.Freeze(); return(thumb); } if (Item.IsNetwork()) { return(Item.Details.Thumbnail); } if (IsPicture) { ThumbMaxHeight = 120; } return(await ThumbnailProvider.GetLargeThumbnailAsync(Item.Path).ConfigureAwait(false)); }
protected override Task <BitmapSource> GetThumbnail() { return(ThumbnailProvider.GetLargeThumbnailAsync(Item?.AssemblyPath)); }
protected override Task <BitmapSource> GetThumbnail() { return(ThumbnailProvider.GetLargeThumbnailAsync(Item.FileName)); }