Reputation: 3407
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!
Upvotes: 1
Views: 1544
Reputation: 69987
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.
Upvotes: 1