如何使用渐进式酒吧? [英] how to work with Progressive bar?

查看:32
本文介绍了如何使用渐进式酒吧?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将数据从WPF"中的一个位置复制到另一个位置.单击复制按钮应启用进度条,并在复制所有数据后立即关闭进度条?请帮帮我?

I am copying the data from one location to another location in "WPF".On click of the copy button the progress bar should be enabled and after copying all the data immediately the progressive bar should be closed?pls help me out?

推荐答案

只需设置 ProgressBar 的 IsEnabled 属性

Simply set the IsEnabled property of your ProgressBar

将可见性设置为 System.Windows.Visibility.Collapsed 以隐藏它.

Set the Visibility to System.Windows.Visibility.Collapsed to hide it.

这篇关于如何使用渐进式酒吧?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆