Select to view content in your preferred language

Symbol Covering Progress Bar

861
4
Jump to solution
09-19-2012 06:14 AM
JannalynPontello
Deactivated User
I have a progress bar on my Silverlight web map that is being covered by a plus symbol in the center of the map. I'm guessing the symbol is built in somehow, because I never added it. I need it to go away because users cannot see the percent complete on the progress bar, but I don't know where it's added. I checked the ESRI templates that can be downloaded and noticed one of them didn't have the symbol on the map, but I can't figure out what's different between that template and my own app. Any ideas?
0 Kudos
1 Solution

Accepted Solutions
LanceCrumbliss
Frequent Contributor
there is probably a couple of lines like

                    <Rectangle Width="2" Height="10" Fill="Black" Opacity="0.75" HorizontalAlignment="Center" VerticalAlignment="Center" IsHitTestVisible="False" />                     <Rectangle Height="2" Width="10" Fill="Black" Opacity="0.75" HorizontalAlignment="Center" VerticalAlignment="Center" IsHitTestVisible="False" />


somewhere in MainPage.xaml.  Remove them.

Lance

View solution in original post

0 Kudos
4 Replies
LanceCrumbliss
Frequent Contributor
there is probably a couple of lines like

                    <Rectangle Width="2" Height="10" Fill="Black" Opacity="0.75" HorizontalAlignment="Center" VerticalAlignment="Center" IsHitTestVisible="False" />                     <Rectangle Height="2" Width="10" Fill="Black" Opacity="0.75" HorizontalAlignment="Center" VerticalAlignment="Center" IsHitTestVisible="False" />


somewhere in MainPage.xaml.  Remove them.

Lance
0 Kudos
JannalynPontello
Deactivated User
If I remove them, then I lose the rectangle that draws when users zoom in and out. My website will be used by an older audience, so I need them to show up. Do you know if I can apply an attribute to the xaml so that the plus doesn't show? I'm not a programmer by trade, so it's at least good to know where the symbol is coming from.
0 Kudos
LanceCrumbliss
Frequent Contributor
my guess is that you removed the wrong one(s). 

And yes, you can make the cross-hair visible/collapsed by putting it in a grid and binding it's visibility to a property (and implementing INotifyPropertyChanged) in the code-behind.  You may need to use a ValueConverter to convert from Boolean to Visibility, depending on how you want to do it.

Lance
0 Kudos
JannalynPontello
Deactivated User
You were correct orginally. I somehow removed my ZoomFillSymbol, so it looked like removing those rectangles caused an issue. I wonder why they were even there to begin with, because my site works perfectly. Thanks for your quick help.
0 Kudos