WPF中的水平滑块位置 [英] Horizontal slider position in WPF

查看:138
本文介绍了WPF中的水平滑块位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用垂直滑块,我们可以看到滚动条位置的值。我正在使用WPF和Visual Studio 2010.请帮帮我。

解决方案

尝试使用Value属性,如下文所述(也有代码示例):

http://www.c-sharpcorner.com/uploadfile/mahesh / scrollbar-in-wpf / [ ^ ]



您可以在此处查看Scrollbar组件的详细信息:

在WPF中设置ScrollViewer / Scrollbar [ ^ ]



感谢。

I want to use vertical slider where we can see the value on scroller position. I am using WPF with Visual Studio 2010. Please help me.

解决方案

Try using "Value" property as described at below article (having code sample too):
http://www.c-sharpcorner.com/uploadfile/mahesh/scrollbar-in-wpf/[^]

You can see details of Scrollbar components here:
Styling A ScrollViewer/Scrollbar In WPF[^]

Thanks.


这篇关于WPF中的水平滑块位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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