Back to Devexpress

ISplashScreenManagerService.ViewModel Property

corelibraries-devexpress-dot-mvvm-dot-isplashscreenmanagerservice-838d6fd5.md

latest3.6 KB
Original Source

ISplashScreenManagerService.ViewModel Property

Provides access to the view model that stores the splash screen data and options.

Namespace : DevExpress.Mvvm

Assembly : DevExpress.Mvvm.v25.2.dll

NuGet Packages : DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

csharp
DXSplashScreenViewModel ViewModel { get; set; }
vb
Property ViewModel As DXSplashScreenViewModel

Property Value

TypeDescription
DXSplashScreenViewModel

A DevExpress.Mvvm.DXSplashScreenViewModel object.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the ViewModel property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-splash-screen-show-cancelable-wait-indicator/CS/SplashScreenManagerExample/ViewModels/MainViewModel.cs#L27

csharp
if(this.SplashScreenManagerService != null) {
    this.SplashScreenManagerService.ViewModel = new DXSplashScreenViewModel();
    this.InitSplashScreenViewModel(this.SplashScreenManagerService.ViewModel);

splashscreenmanagerservice/CS/ViewModel/MainViewModel.cs#L19

csharp
public void Display() {
    SplashScreenManagerService.ViewModel = new DXSplashScreenViewModel();
    SplashScreenManagerService.ViewModel.Subtitle = "Powered by DevExpress";

wpf-splash-screen-show-cancelable-wait-indicator/VB/SplashScreenManagerExample/ViewModels/MainViewModel.vb#L33

vb
If SplashScreenManagerService IsNot Nothing Then
    SplashScreenManagerService.ViewModel = New DXSplashScreenViewModel()
    InitSplashScreenViewModel(SplashScreenManagerService.ViewModel)

splashscreenmanagerservice/VB/ViewModel/MainViewModel.vb#L25

vb
Public Sub Display()
    SplashScreenManagerService.ViewModel = New DXSplashScreenViewModel()
    SplashScreenManagerService.ViewModel.Subtitle = "Powered by DevExpress"

See Also

ISplashScreenManagerService Interface

ISplashScreenManagerService Members

DevExpress.Mvvm Namespace