I have a mainpage.xaml with this progressbar in :
<ProgressBar x:Name="DataLoading" Height="10" Margin="0,-14,0,0" Grid.Row="1" VerticalAlignment="Top" IsIndeterminate="True"/>
Now i need to get this progressbar’s visibility to collapse after the webservice has been called? where would i go to get it? please help i am VERY new to mvvm and windowsphone dev? and please tell me what more code youneed to give me an answer thanks
1
Just add a bool property
IsDataLoadingto your ViewModel. Bind its value to the Visibilty property of yourProgressBarusing the BooleanToVisibiltyConverter. Set theIsDataLoadingproperty to true and false according to your webservice state.