Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8848493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:26:08+00:00 2026-06-14T12:26:08+00:00

I have a mainpage.xaml with this progressbar in : <ProgressBar x:Name=DataLoading Height=10 Margin=0,-14,0,0 Grid.Row=1

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T12:26:09+00:00Added an answer on June 14, 2026 at 12:26 pm

    Just add a bool property IsDataLoading to your ViewModel. Bind its value to the Visibilty property of your ProgressBar using the BooleanToVisibiltyConverter. Set the IsDataLoading property to true and false according to your webservice state.

    <Grid>
        <Grid.Resources>
            <BooleanToVisibiltyConverter x:Key="bool2VisConverter" />
        </Grid.Resources>
        <ProgressBar Visibility="{Binding IsDataLoading, Converter={StaticResource bool2VisConverter}}" />
    </Grid>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code in MainPage.xaml: <controls:PivotItem Header=first> <ListBox x:Name=MyListBox Margin=0,0,-12,0 ItemsSource={Binding ListBoxItem}> <ListBox.ItemTemplate>
I have 2 pages.(MainPage.xaml,second.xaml) MainPage.xaml is the Login page. In this page I send
I have an UserControl which has listbox. I put this UserControl on the Mainpage.xaml.
I have a Pivot on MainPage.xaml ; how can I call this from another
I have a Page in Silverlight which is Navigated from the MainPage.xaml, called OpenPage.xaml,
I have created blank C#/XAML Windows 8 application. Add simple XAML code: <Page x:Class=Blank.MainPage
I have a view (MainPage.xaml) which is bound to a ViewModel. In the ViewModel
i have 2 page i need to navigate mainpage.xaml to login.page xaml but it
I have a style for a textblock that is set inside my app.xaml this
Basic layout (VB.NET & WPF/XBAP) : I have a MainPage - mainpage.xaml Inside the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.