Skip to content

SplashScreenViewModel class

The view model of the generic splash screen. It carries only presentation data and no application branding; an application supplies the branding by deriving from it and assigning the properties (background image, version, copyright) in its constructor.

Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Avalonia.Controls.ApplicationServices.dll
NuGet Package: Eremex.Avalonia.Controls.ApplicationServices

Declaration

public class SplashScreenViewModel : ViewModelBase

Constructors

name description
SplashScreenViewModel() The default constructor.

Properties

name description
BackgroundImage { get; set; }
Build { get; set; }
Copyright { get; set; }
Foreground { get; set; }
Icon { get; set; }
Progress { get; set; }
Version { get; set; }

Methods

name description
virtual SetText(…) Updates Progress. Override it to react to the caption as well, or to localize the message.

See Also