Windows Phone Application Bar TextBox

删除回忆录丶 提交于 2019-12-12 02:47:01

问题


I was wondering, if it is somehow possible to add a TextBox in the Application Bar area (the same way the Internet Explorer does), but I didn't find any information source about this. Have you any idea, how to accomplish this task?


回答1:


You will not be able to add UIElements inside ApplicationBar as it is not derived from UIElement.

Alternatively, you can try adding a Grid at the bottom of the screen and color it similar to the ApplicationBar. Then add a TextBlock inside the Grid. This is just a workaround and not recommended as it is not according to the standards.

You can also check the following link: http://www.maxpaulousky.com/blog/archive/2011/01/10/bindable-application-bar-extensions-for-windows-phone-7.aspx



来源:https://stackoverflow.com/questions/8975315/windows-phone-application-bar-textbox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!