Live Chat Icon For mobile
Live Chat Icon

How can I create a ProgressBar and use an animation to simulate the progress of an operation ?

Platform: WPF| Category: ProgressBar

This example creates a ProgressBar and uses an ’animation’ to simulate the progress of an operation.


<StatusBar Name='sbar' 
           VerticalAlignment='Bottom' Background='Beige' >

    <TextBlock>Downloading File</TextBlock>
    <ProgressBar Width='100' Height='20'
        <EventTrigger RoutedEvent='ProgressBar.Loaded'>
                From='0' To='100' Duration='0:0:5'  />
  <StatusBarItem HorizontalAlignment='Right'>
    <Image Source='images\help.bmp' Width='16' Height='16'/>

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.