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

  • Home
  • SEARCH
  • 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 94839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:33:52+00:00 2026-05-10T23:33:52+00:00

One of the nice feature of the Image control is that we can specified

  • 0

One of the nice feature of the Image control is that we can specified an Uri as the ImageSource and the image is automatically downloaded for us. This is great! However, the control doesn’t seem to have a property indicating if the image loading is in progress or not.

Is there a property telling us the status (Downloading, Downloaded, etc.) of the Image control?

Thanks!

  • 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. 2026-05-10T23:33:52+00:00Added an answer on May 10, 2026 at 11:33 pm

    As long as your ImageSource is a BitmapImage you could use the BitmapImage.DownloadCompleted event. The only problem I have found so far is that it only works from C#, so you would lose some flexibility. I’m guessing you could access that event from XAML, but I’m not sure how. The following sample starts loading the image with the click of a button, and updates a label when the image finished loading.

    XAML:

    <Grid>     <Grid.RowDefinitions>         <RowDefinition Height='50' />         <RowDefinition Height='50' />         <RowDefinition Height='*' />     </Grid.RowDefinitions>     <Image x:Name='image' Grid.Row='2'/>     <Label x:Name='label' Content='aaa' Grid.Row='1'  />     <Button Click='Button_Click' Content='Click to load image' Grid.Row='0' /> </Grid> 

    Code:

    private void Button_Click(object sender, RoutedEventArgs e) {     BitmapImage bi = new BitmapImage();     bi.BeginInit();     bi.DecodePixelHeight = 100;     bi.CacheOption = BitmapCacheOption.OnLoad;     bi.UriSource = new Uri('bigImageUri');     bi.EndInit();      bi.DownloadCompleted += new EventHandler(bi_DownloadCompleted);     image.Source = bi;    }  void bi_DownloadCompleted(object sender, EventArgs e) {     label.Content = 'dl completed'; } 

    Hope it helps!

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

Sidebar

Ask A Question

Stats

  • Questions 69k
  • Answers 69k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer You could take a look at StringTemplate, which is a… May 11, 2026 at 12:46 pm
  • added an answer Issue happened because Linq Datacontext was created before transactionscope. Solution… May 11, 2026 at 12:46 pm
  • added an answer You have to make no front end changes to implement… May 11, 2026 at 12:46 pm

Related Questions

One of the really nice things about python is the simplicity with which you
One of the articles I really enjoyed reading recently was Quality Control by Last.FM
One of the fun parts of multi-cultural programming is number formats. Americans use 10,000.50
One of the joys of working for a government healthcare agency is having to
I have put together a script which is very much like the flickr photostream
Doing some work on controlling printing via the System.Printing framework (main classes are PrintQueue,
I've noticed that there are awvully few programming tutorials in my native language (Latvian).
Let's say you have a class with a Uri property. Is there any way

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.