Input (type) of the soft keyboard type, XNA way to start the soft keyboard, UIElement touch related events, touching graffiti
Introduced
Unique device for Windows Phone 7.5 (SDK 7.1)
Specify the type of soft keyboard
XNA to start the soft keyboard and get the information that the user entered
UIElement's Touch related events
Graffiti Board
Example
1. Demonstrates how to specify the type of soft keyboard
Inputscopedemo.xaml
<phone:phoneapplicationpage x:class= "Demo.Input.Keyboard.InputScopeDemo" xmlns= "http://schemas.microsoft.com /winfx/2006/xaml/presentation "xmlns:x=" Http://schemas.microsoft.com/winfx/2006/xaml "xmlns:phone=" Clr-namespace : Microsoft.phone.controls;assembly=microsoft.phone "xmlns:shell=" clr-namespace:microsoft.phone.shell;assembly= Microsoft.phone "xmlns:d=" http://schemas.microsoft.com/expression/blend/2008 "xmlns:mc=" http:// schemas.openxmlformats.org/markup-compatibility/2006 "fontfamily=" {StaticResource PhoneFontFamilyNormal} "FontSiz E= ' {StaticResource phonefontsizenormal} ' foreground= ' {StaticResource Phoneforegroundbrush} ' SupportedOrientations= "Portrait" orientation= "Portrait" mc:ignorable= "D" d:designheight= "768" d:designwidth= "The Shell:SystemTray.IsVis" ible= "True" > <grid x:name= "layoutroot" background= "Transparent" > <stackpanel orientation= "Ve Rtical "> <!--SIP contains numbers and decimal points, holding the period keyYou can display the ".,-"--> <textbox inputscope= "number"/> <!--SIP Press "123" to switch to the telephone keypad, and hold the period key to display "
.,-"--> <textbox inputscope=" Nameorphonenumber/> <!--SIP default display number and symbol keyboard--> <textbox inputscope= "Currencychinese"/> <!--SIP display phone dial keyboard--> <TEXTB ox> <TextBox.InputScope> <InputScope> <in Putscopename namevalue= "telephonenumber"/> </InputScope> </textbox.inpu
Tscope> </TextBox> <!--background Sets the inputscope of this TextBox to "Emailusername"--> <!--SIP includes @ and. com keys, and press the. com key to display ". org. com. NET"--> <textbox name= TextBox "keydown=" Textbox_keydown "/> </StackPanel> </Grid> </phone:phoneapplicationpag E>