Class GalleryImageViewModel
- Namespace
- McServerLauncher.ViewModels
- Assembly
- McServerLauncher.dll
One gallery image: a thumbnail for the strip and the full picture for the viewer.
public class GalleryImageViewModel : ObservableObject, INotifyPropertyChanged, INotifyPropertyChanging
- Inheritance
-
GalleryImageViewModel
- Implements
- Inherited Members
Constructors
GalleryImageViewModel(GalleryImage)
public GalleryImageViewModel(GalleryImage image)
Parameters
imageGalleryImage
Properties
Caption
public string? Caption { get; }
Property Value
Full
[ExcludeFromCodeCoverage]
public Bitmap? Full { get; set; }
Property Value
- Bitmap
HasCaption
public bool HasCaption { get; }
Property Value
IsSelected
[ExcludeFromCodeCoverage]
public bool IsSelected { get; set; }
Property Value
Thumbnail
[ExcludeFromCodeCoverage]
public Bitmap? Thumbnail { get; set; }
Property Value
- Bitmap
Methods
LoadFullAsync(CancellationToken)
public Task LoadFullAsync(CancellationToken ct)
Parameters
Returns
LoadThumbnailAsync(CancellationToken)
public Task LoadThumbnailAsync(CancellationToken ct)