开发者

WPF C#. need simple help about progress bar

开发者 https://www.devze.com 2023-03-30 12:39 出处:网络
I never used progres开发者_如何学编程s bar. Searched in internet but could not find something useful.

I never used progres开发者_如何学编程s bar. Searched in internet but could not find something useful. So i wanna to make progress bar like this:

WPF C#. need simple help about progress bar

which must work 10 seconds i think it must easy. Thanks.


WPF: IsIndeterminate

progressBar.IsIndeterminate = true;

WinForms: Style Marquee:

progressBar.Style = ProgressBarStyle.Marquee;


In WPF you'd set the IsIndeterminate property of the ProgressBar to true to get the effect you want. However, I don't think it provides a simple property for controlling the speed of it. You'd probably have to re-template the progress bar or something.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号