Wait control / wait cursor in Pro style

239
3
Jump to solution
12-02-2020 05:17 AM
DanielRoth
Esri Contributor

Hi,

Is there a way to show the following waiting control on a Dockpane while my custom WPF control is loading data? Also I'd like to change its label (not "Loading Map ..."). Help or any hints are much appreciated.

loading_map_control.png

Regards,

Daniel

Reply
0 Kudos
1 Solution

Accepted Solutions
GintautasKmieliauskas
Regular Contributor
Reply
0 Kudos
3 Replies
GintautasKmieliauskas
Regular Contributor
Reply
0 Kudos
DanielRoth
Esri Contributor

Hi Gintautas,

Thanks for your help. For the moment I use the CircularAnimationControl but that's not exactly what I'm looking for. For instance I didn't find out how to resize it. I'd rather prefer to use the control in the attached image which appears while a map is loading. I'd like my custom control to look  Pro-ish.

Thanks.

Reply
0 Kudos
DanielRoth
Esri Contributor

I found out how to resize the CircularAnimationControl. Like this the control works for me. Thanks.

<controls:CircularAnimationControl Grid.Row="2" Foreground="{DynamicResource Esri_BorderSelectedBrush }" SpeedRatio="0.5" Width="30" Height="30" Visibility="{Binding Loading, Converter={StaticResource VisibilityConverter}}"/>

 

Reply
0 Kudos