Click here to Skip to main content
15,881,803 members
Articles / Desktop Programming / WPF

WPFSpark: 6 of n: FluidProgressBar

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
19 Jan 2012Ms-PL4 min read 45.1K   1.5K   20  
A Windows Phone style indeterminate ProgressBar in WPF.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using WPFSpark;

namespace WPFSparkClient
{
    /// <summary>
    /// Interaction logic for SparkWindowDemo.xaml
    /// </summary>
    public partial class SparkWindowDemo : SparkWindow
    {
        public SparkWindowDemo()
        {
            InitializeComponent();
        }

        protected override void OnAbout(object sender, RoutedEventArgs e)
        {
            MsgBox mbox = new MsgBox();
            mbox.Title = "About";
            mbox.Owner = this;
            mbox.ShowDialog();
            base.OnAbout(sender, e);
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
Software Developer
United States United States
An individual with more than a decade of experience in desktop computing and mobile app development primarily on the Microsoft platform. He loves programming in C#, WPF & XAML related technologies.
Current interests include web application development, developing rich user experiences across various platforms and exploring his creative side.

Ratish's personal blog: wpfspark.wordpress.com

Comments and Discussions