Back to Devexpress

ISplashScreenManagerService.Close() Method

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

latest2.9 KB
Original Source

ISplashScreenManagerService.Close() Method

Hides the splash screen.

Namespace : DevExpress.Mvvm

Assembly : DevExpress.Mvvm.v25.2.dll

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

Declaration

csharp
void Close()
vb
Sub Close

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

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#L52

csharp
this.DispatcherService.Invoke(() => {
    this.SplashScreenManagerService.Close();
    worker.DoWork -= Worker_DoWork;

splashscreenmanagerservice/CS/ViewModel/MainViewModel.cs#L24

csharp
Thread.Sleep(TimeSpan.FromSeconds(Delay));
    SplashScreenManagerService.Close();
}

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

vb
DispatcherService.Invoke(Sub()
    SplashScreenManagerService.Close()
    RemoveHandler worker.DoWork, AddressOf Worker_DoWork

splashscreenmanagerservice/VB/ViewModel/MainViewModel.vb#L30

vb
Thread.Sleep(TimeSpan.FromSeconds(Delay))
    SplashScreenManagerService.Close()
End Sub

See Also

ISplashScreenManagerService Interface

ISplashScreenManagerService Members

DevExpress.Mvvm Namespace