I need to get numeric input from user in a WPF application runs on a touch screen device. The idea is to have a numeric keypad pops up when the TextBox
is focused.
I am using NavigationWindow
, and actually have already built a numeric keypad as a Page
. However, I don't want to navigate user to a new Page()
, because it would be nice to stay on the current page with its data.
Anyidea for the "pop up" numeric keypad in a NavigationWindow WPF app? Thanks!
When using a NavigationWindow
, you can also display a Page
using the Frame
Class . The Frame
can be any size and you can locate it anywhere you want on the current Page. From the linked page on MSDN:
Frame is a content control that provides the ability to navigate to and display content. Frame can be hosted within other content, as with other controls and elements.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.