摘要:
ProgressBar控件与传统WinForm使用方法完全一样,我们只需关注:Minimum——最小值,默认为0;Maximum——最大值,默认为100.Value——当前值。关键是它的控件模板,因为系统的默认主题不好看,很多时候我们是需要自定义样式和模板。老方法,先看定义:[csharp]view plaincopyprint?[TemplatePartAttribute(Name="PART_Track",Type=typeof(FrameworkElement))][TemplatePartAttribute(Name="PART_Indicator&quo 阅读全文
posted @ 2013-08-26 16:21
幕三少
阅读(6619)
评论(4)
推荐(0)