本文介绍了如何知道TextBox是否包含输入光标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有任何布尔函数返回TextBox是否具有输入光标?
它应该看起来像这样:
Is there any boolean function that returns whether a TextBox has the input cursor in it or not?
it should look like this:
if(textBox1.HasCursor)
{
//do something
}
推荐答案
这篇关于如何知道TextBox是否包含输入光标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!