本文介绍了当 IsIndeterminate="True" 时,您如何显示进度?在 WPF 进度条中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这必须是最简单的问题,但我似乎无法弄清楚.我有进度条.如何让它显示进度?我该如何开始?

This has to be the simplest question of all, but I cannot seem to figure it out. I have the progress bar in place. How do I make it show progress? How do I start the thing?

<ProgressBar x:Name="ProgressUpload" Margin="5" IsIndeterminate="True" ></ProgressBar>

推荐答案

如果您将 IsIndeterminate 设置为 True,则进度的含义是某些事情正在进行中,但您无法确定确切的持续时间.因此,我只能告诉您将其设置为 false 并在其标准"行为中使用进度条.

If you set IsIndeterminate to True, the progress has the meaning that something is in progress but you cannot determine the exact duration. So, I can only tell you to set it to false and to use the progress bar in its "standard" behavior.

这篇关于当 IsIndeterminate="True" 时,您如何显示进度?在 WPF 进度条中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-27 13:43