Table of Contents

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

image GalleryImage

Properties

Caption

public string? Caption { get; }

Property Value

string

Full

[ExcludeFromCodeCoverage]
public Bitmap? Full { get; set; }

Property Value

Bitmap

HasCaption

public bool HasCaption { get; }

Property Value

bool

IsSelected

[ExcludeFromCodeCoverage]
public bool IsSelected { get; set; }

Property Value

bool

Thumbnail

[ExcludeFromCodeCoverage]
public Bitmap? Thumbnail { get; set; }

Property Value

Bitmap

Methods

LoadFullAsync(CancellationToken)

public Task LoadFullAsync(CancellationToken ct)

Parameters

ct CancellationToken

Returns

Task

LoadThumbnailAsync(CancellationToken)

public Task LoadThumbnailAsync(CancellationToken ct)

Parameters

ct CancellationToken

Returns

Task