如何在WPF 4 vb.net中强制文本框关闭插入模式. [英] How to force a textbox to have insert mode off in WPF 4 vb.net.

查看:62
本文介绍了如何在WPF 4 vb.net中强制文本框关闭插入模式.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要WPF表单上的文本框像传统的插入键功能一样,您可以在键入时覆盖字符而不插入字符. IE浏览器,我需要关闭默认插入字符功能.还必须能够在以下情况下将其打开 需要.

I need my textboxs on my WPF form to act like the traditional insert key function where you could override characters as you type and not insert them. IE I need to turn off the defualt insert characters feature. It also has to be able to be turned on when needed.

感谢您的阅读,希望能对您有所帮助!

Thank you for reading, hope you can help!

推荐答案

您是说用户在文本框中输入字符,如果不允许使用该字符,是否要将其从文本框中删除?
Do you mean as the user types a character in a textbox, if the character is not allowed, you want to remove it from the textbox?


这篇关于如何在WPF 4 vb.net中强制文本框关闭插入模式.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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