我在哪里可以找到 WPF 中的免费蒙版 TextBox? [英] Where can I find a free masked TextBox in WPF?

查看:26
本文介绍了我在哪里可以找到 WPF 中的免费蒙版 TextBox?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您知道在文本框中使用掩码(正则表达式)的任何免费可用的 WPF 组件吗?

Do you know any freely available WPF component for using masks (regex) in textbox?

推荐答案

我想你会在这个控件库中找到你需要的:http://www.codeplex.com/WPFDeveloperTools

I think you will find what you need in this control library: http://www.codeplex.com/WPFDeveloperTools

在所有其他有用的控件中寻找FilteredTextBox".我认为它不支持正则表达式,但它应该能够过滤出您需要的几乎所有内容,而且由于您将拥有源代码,因此您应该会发现它很容易增强.

Look for 'FilteredTextBox' amongst all the other useful controls. I don't think it does regex, but it should be able to filter just about everything you need, and since you will have the source, you should find it easy to enhance.

作为奖励,它在 CodePlex 上是免费和开源的.

As a bonus, it is free and open source on CodePlex.

您还可以在此处找到有关如何自己实施此功能的不错的博客文章:http://marlongrech.wordpress.com/2007/10/28/masked-textbox/

You can also find a nice blog post about how to go about implementing this yourself here: http://marlongrech.wordpress.com/2007/10/28/masked-textbox/

这篇关于我在哪里可以找到 WPF 中的免费蒙版 TextBox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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