Back to Devexpress

DXSplashScreenViewModel.Progress Property

corelibraries-devexpress-dot-mvvm-dot-dxsplashscreenviewmodel-cf4f5d6e.md

latest4.1 KB
Original Source

DXSplashScreenViewModel.Progress Property

Specifies the current position of the progress bar displayed by the splash screen.

Namespace : DevExpress.Mvvm

Assembly : DevExpress.Mvvm.v25.2.dll

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

Declaration

csharp
public double Progress { get; set; }
vb
Public Property Progress As Double

Property Value

TypeDescription
Double

A System.Double value from 0d to 100d.

|

Remarks

Set the IsIndeterminate property to true to apply the marquee style to the progress bar.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Progress 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-spreadsheet-create-custom-progress-indicator/CS/WpfSpreadsheetProgressSample/CustomSplashScreen.xaml#L22

xml
Width="240"
             Value="{Binding Progress}"/>
<TextBlock Text="Cancel"

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

csharp
.Invoke(() => {
this.SplashScreenManagerService.ViewModel.Progress = progressValue;
this.SplashScreenManagerService.ViewModel.Status = $"({progressValue} %) - {state}";

wpf-spreadsheet-create-custom-progress-indicator/CS/WpfSpreadsheetProgressSample/MainWindow.xaml.cs#L53

csharp
// Display the progress of the running operation in the splash screen.
    splashScreenManager.ViewModel.Progress = currentProgress;
}

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

vb
DispatcherService.Invoke(Sub()
    SplashScreenManagerService.ViewModel.Progress = progressValue
    SplashScreenManagerService.ViewModel.Status = $"({progressValue} %) - {state}"

wpf-spreadsheet-create-custom-progress-indicator/VB/WpfSpreadsheetProgressSample/MainWindow.xaml.vb#L56

vb
' Display the progress of the running operation in the splash screen.
    splashScreenManager.ViewModel.Progress = currentProgress
End Sub

See Also

DXSplashScreenViewModel Class

DXSplashScreenViewModel Members

DevExpress.Mvvm Namespace