Tuesday July 7th

0 Kicks

Silverlight Progress Bar

One such puzzling absence from the Silverlight tool chest is a progress bar control. WPF has a progress bar, WinForms has a progress bar, but not Silverlight. Fortunately implementing one is not that hard and provided a great introduction to Silverlight's layout model.

4 comments

Well apparently this link is now dead.


Silverlight has a progress bar control built in.
Paste this XAML into the Page.xaml of any Silverlight 2 application:

<ProgressBar x:Name="pg2" Margin="10" Height="15" IsIndeterminate="True" />

I trust that you'll correct your post, it looks bad. We look at people's posts when we're recruiting, I expect other people do too.

For more info, have a look at the ProgressBar class in the System.Windows.Controls Namespace of the .NET class library for Silverlight:

http://msdn.microsoft.com/en-us/library/system.windows.controls.progressbar(VS.95).aspx

Sorry about the wording in the previous comment. I just copy/pasted an email I recieved from someone on this issue. They didn't feel like contributing to DNK, so I posted it here myself instead.

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network