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 8643209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:58:33+00:00 2026-06-12T11:58:33+00:00

I have many media elements in my application that are streamed via web. Sometimes

  • 0

I have many media elements in my application that are streamed via web. Sometimes I need to wait 2-3 seconds for that. That isn’t a problem for me. The problem is that I don’t know how to make some kind of animation of loading. I have an animated gif of loading bar but I don’t know how to display it. Any ideas ?

  • 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-12T11:58:34+00:00Added an answer on June 12, 2026 at 11:58 am

    You don’t need a gif for it. There is a XAML Control ProgressRing. Bind it’s IsActive property to a property which indicates that you are loading.

    Something like:

    public class DataService : BindableBase
    {
        private bool _isLoading;
    
        public bool IsLoading 
        {
            get 
            {
                return _isLoading;
            }
            set 
            {
                SetProperty(ref _isLoading, "IsLoading");
            }
        }
    
        public void MyMethodWhichTakesLongTime() 
        {
            IsLoading = true;
    
            // Do some time consumption
    
            IsLoading = false;
        }
    }
    

    For the XAML something like:

    <ProgressRing IsActive="{Binding IsLoading}" 
                  DataContext="{Binding MyDataService}" 
                  Width="50" 
                  Height="50" />
    

    Thanks to the binding (and the BindableBase which comes from the standard MS Templates (otherwise you need to implement INotifyPropertyChanged)) the ProgressRing will automatically get active, when your dataservice is doing something.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have many PowerPoint presentations that I need to be able to add to
I have many flags that I want to store them in an integer, so
I have many MySQL statements that are running under MySQL 4, but not MySQL
I have a model Campain which has many Media . I do this: Campain.all.medias
I'd like to say that I have read and tried many variations of the
I have a many-to-many relationship between two entities - Media and MediaCollection. I want
I have many forms which are working fine if i load them via normal
I have made a plugin where I store many images in the media field
my problem is : I have a page with several html tables that I
I have approximately 7 terabytes of various media files (pdf's, jpg's, tiff's) that currently

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.