开发者

How to get the canvas visible when the textbox gets focus?

I have added a Canvas to the Grid then added my custom keypad on the canvas. Now on TextBox.GotFoucs event I changed Canvas.Visibilty = Visiblity.Visible;

But the issue is that when the TextBox gets focus it shows the default keypad in front and my Canvas behind it. I want the Canvas to be displayed on top of the default keypad and should work as a text entry control to the TextBox开发者_Python百科. How can I do this?


The display of the SIP is handled by the operating system and will always be on top of the visual tree of any application. If you want to provide a custom SIP, you will need to provide an alternative input control, because the display of the native SIP is tied to input controls (such as TextBox, PasswordBox, etc.). You may find this article about creating a Bulgarian keyboard useful.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜