This example shows the WaitIndicator control. The control's DeferedVisibility
property is bound to the View Model's IsWaitIndicatorVisible
property.
<dx:WaitIndicator DeferedVisibility="{Binding IsWaitIndicatorVisible}" Content="{Binding WaitIndicatorText}">
<!-- ... -->
</dx:WaitIndicator>
The WaitIndicator works within the main application's UI thread. The UI freezes may affect the WaitIndicator animation.
To show an indicator while the main thread is locked, use the following components instead of a standalone WaitIndicator:
- SplashScreenManager (available in v20.1 and newer) - shows an indicator window in a separate thread;
- LoadingDecorator - automatically shows the splash screen when the content element is loaded;
- DXSplashScreen (obsolete; use in versions prior to v20.1) - shows an indicator window in a separate thread;
- MainWindow.xaml (VB: MainWindow.xaml)
- MainWindow.xaml.cs (VB: MainWindow.xaml.vb)
- MyViewModel.cs (VB: MyViewModel.vb)
(you will be redirected to DevExpress.com to submit your response)