WPF开发经验-实现自带触控键盘的TextBox

打印 上一主题 下一主题

主题 868|帖子 868|积分 2604

一 引入

项目有个新需求,当点击或触碰TextBox时,基于TextBox的相对位置,弹出一个自定义的Keyboard,如下图所示:

 

二 KeyboardControl

先实现一个自定义的KeyboardControl,它继承自Window。
Xaml代码如下:
  1. <Window x:Class="WpfApp1.KeyboardControl"
  2. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. <Window x:Class="WpfApp1.MainWindow"
  4.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8.         mc:Ignorable="d"
  9.         Title="MainWindow" Height="800" Width="1200">
  10.     <StackPanel>
  11.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12.                  Style="{StaticResource TouchTextBox}"/>
  13.     </StackPanel>
  14. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  15. <Window x:Class="WpfApp1.MainWindow"
  16.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  17.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  18.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  19.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  20.         mc:Ignorable="d"
  21.         Title="MainWindow" Height="800" Width="1200">
  22.     <StackPanel>
  23.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  24.                  Style="{StaticResource TouchTextBox}"/>
  25.     </StackPanel>
  26. </Window>    x:Class="WpfApp1.TouchTextBox">
  27.    
  28. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  29. <Window x:Class="WpfApp1.MainWindow"
  30.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  31.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  32.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  33.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  34.         mc:Ignorable="d"
  35.         Title="MainWindow" Height="800" Width="1200">
  36.     <StackPanel>
  37.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  38.                  Style="{StaticResource TouchTextBox}"/>
  39.     </StackPanel>
  40. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  41. <Window x:Class="WpfApp1.MainWindow"
  42.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  43.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  44.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  45.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  46.         mc:Ignorable="d"
  47.         Title="MainWindow" Height="800" Width="1200">
  48.     <StackPanel>
  49.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  50.                  Style="{StaticResource TouchTextBox}"/>
  51.     </StackPanel>
  52. </Window>    x:Class="WpfApp1.TouchTextBox">
  53.    
  54. </ResourceDictionary>xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  55. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  56. <Window x:Class="WpfApp1.MainWindow"
  57.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  58.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  59.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  60.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  61.         mc:Ignorable="d"
  62.         Title="MainWindow" Height="800" Width="1200">
  63.     <StackPanel>
  64.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  65.                  Style="{StaticResource TouchTextBox}"/>
  66.     </StackPanel>
  67. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  68. <Window x:Class="WpfApp1.MainWindow"
  69.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  70.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  71.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  72.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  73.         mc:Ignorable="d"
  74.         Title="MainWindow" Height="800" Width="1200">
  75.     <StackPanel>
  76.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  77.                  Style="{StaticResource TouchTextBox}"/>
  78.     </StackPanel>
  79. </Window>    x:Class="WpfApp1.TouchTextBox">
  80.    
  81. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  82. <Window x:Class="WpfApp1.MainWindow"
  83.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  84.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  85.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  86.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  87.         mc:Ignorable="d"
  88.         Title="MainWindow" Height="800" Width="1200">
  89.     <StackPanel>
  90.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  91.                  Style="{StaticResource TouchTextBox}"/>
  92.     </StackPanel>
  93. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  94. <Window x:Class="WpfApp1.MainWindow"
  95.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  96.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  97.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  98.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  99.         mc:Ignorable="d"
  100.         Title="MainWindow" Height="800" Width="1200">
  101.     <StackPanel>
  102.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  103.                  Style="{StaticResource TouchTextBox}"/>
  104.     </StackPanel>
  105. </Window>    x:Class="WpfApp1.TouchTextBox">
  106.    
  107. </ResourceDictionary>xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  108. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  109. <Window x:Class="WpfApp1.MainWindow"
  110.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  111.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  112.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  113.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  114.         mc:Ignorable="d"
  115.         Title="MainWindow" Height="800" Width="1200">
  116.     <StackPanel>
  117.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  118.                  Style="{StaticResource TouchTextBox}"/>
  119.     </StackPanel>
  120. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  121. <Window x:Class="WpfApp1.MainWindow"
  122.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  123.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  124.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  125.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  126.         mc:Ignorable="d"
  127.         Title="MainWindow" Height="800" Width="1200">
  128.     <StackPanel>
  129.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  130.                  Style="{StaticResource TouchTextBox}"/>
  131.     </StackPanel>
  132. </Window>    x:Class="WpfApp1.TouchTextBox">
  133.    
  134. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  135. <Window x:Class="WpfApp1.MainWindow"
  136.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  137.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  138.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  139.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  140.         mc:Ignorable="d"
  141.         Title="MainWindow" Height="800" Width="1200">
  142.     <StackPanel>
  143.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  144.                  Style="{StaticResource TouchTextBox}"/>
  145.     </StackPanel>
  146. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  147. <Window x:Class="WpfApp1.MainWindow"
  148.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  149.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  150.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  151.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  152.         mc:Ignorable="d"
  153.         Title="MainWindow" Height="800" Width="1200">
  154.     <StackPanel>
  155.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  156.                  Style="{StaticResource TouchTextBox}"/>
  157.     </StackPanel>
  158. </Window>    x:Class="WpfApp1.TouchTextBox">
  159.    
  160. </ResourceDictionary>xmlns:local="clr-namespace:WpfApp1" AllowsTransparency="True" WindowStyle="None"
  161. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  162. <Window x:Class="WpfApp1.MainWindow"
  163.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  164.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  165.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  166.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  167.         mc:Ignorable="d"
  168.         Title="MainWindow" Height="800" Width="1200">
  169.     <StackPanel>
  170.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  171.                  Style="{StaticResource TouchTextBox}"/>
  172.     </StackPanel>
  173. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  174. <Window x:Class="WpfApp1.MainWindow"
  175.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  176.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  177.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  178.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  179.         mc:Ignorable="d"
  180.         Title="MainWindow" Height="800" Width="1200">
  181.     <StackPanel>
  182.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  183.                  Style="{StaticResource TouchTextBox}"/>
  184.     </StackPanel>
  185. </Window>    x:Class="WpfApp1.TouchTextBox">
  186.    
  187. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  188. <Window x:Class="WpfApp1.MainWindow"
  189.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  190.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  191.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  192.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  193.         mc:Ignorable="d"
  194.         Title="MainWindow" Height="800" Width="1200">
  195.     <StackPanel>
  196.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  197.                  Style="{StaticResource TouchTextBox}"/>
  198.     </StackPanel>
  199. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  200. <Window x:Class="WpfApp1.MainWindow"
  201.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  202.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  203.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  204.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  205.         mc:Ignorable="d"
  206.         Title="MainWindow" Height="800" Width="1200">
  207.     <StackPanel>
  208.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  209.                  Style="{StaticResource TouchTextBox}"/>
  210.     </StackPanel>
  211. </Window>    x:Class="WpfApp1.TouchTextBox">
  212.    
  213. </ResourceDictionary>ResizeMode="NoResize" Background="Transparent" Height="290" Width="668">
  214. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  215. <Window x:Class="WpfApp1.MainWindow"
  216.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  217.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  218.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  219.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  220.         mc:Ignorable="d"
  221.         Title="MainWindow" Height="800" Width="1200">
  222.     <StackPanel>
  223.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  224.                  Style="{StaticResource TouchTextBox}"/>
  225.     </StackPanel>
  226. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  227. <Window x:Class="WpfApp1.MainWindow"
  228.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  229.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  230.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  231.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  232.         mc:Ignorable="d"
  233.         Title="MainWindow" Height="800" Width="1200">
  234.     <StackPanel>
  235.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  236.                  Style="{StaticResource TouchTextBox}"/>
  237.     </StackPanel>
  238. </Window>    x:Class="WpfApp1.TouchTextBox">
  239.    
  240. </ResourceDictionary><FrameworkElement.Resources>
  241. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  242. <Window x:Class="WpfApp1.MainWindow"
  243.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  244.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  245.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  246.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  247.         mc:Ignorable="d"
  248.         Title="MainWindow" Height="800" Width="1200">
  249.     <StackPanel>
  250.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  251.                  Style="{StaticResource TouchTextBox}"/>
  252.     </StackPanel>
  253. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  254. <Window x:Class="WpfApp1.MainWindow"
  255.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  256.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  257.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  258.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  259.         mc:Ignorable="d"
  260.         Title="MainWindow" Height="800" Width="1200">
  261.     <StackPanel>
  262.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  263.                  Style="{StaticResource TouchTextBox}"/>
  264.     </StackPanel>
  265. </Window>    x:Class="WpfApp1.TouchTextBox">
  266.    
  267. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  268. <Window x:Class="WpfApp1.MainWindow"
  269.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  270.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  271.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  272.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  273.         mc:Ignorable="d"
  274.         Title="MainWindow" Height="800" Width="1200">
  275.     <StackPanel>
  276.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  277.                  Style="{StaticResource TouchTextBox}"/>
  278.     </StackPanel>
  279. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  280. <Window x:Class="WpfApp1.MainWindow"
  281.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  282.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  283.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  284.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  285.         mc:Ignorable="d"
  286.         Title="MainWindow" Height="800" Width="1200">
  287.     <StackPanel>
  288.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  289.                  Style="{StaticResource TouchTextBox}"/>
  290.     </StackPanel>
  291. </Window>    x:Class="WpfApp1.TouchTextBox">
  292.    
  293. </ResourceDictionary><ResourceDictionary>
  294. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  295. <Window x:Class="WpfApp1.MainWindow"
  296.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  297.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  298.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  299.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  300.         mc:Ignorable="d"
  301.         Title="MainWindow" Height="800" Width="1200">
  302.     <StackPanel>
  303.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  304.                  Style="{StaticResource TouchTextBox}"/>
  305.     </StackPanel>
  306. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  307. <Window x:Class="WpfApp1.MainWindow"
  308.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  309.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  310.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  311.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  312.         mc:Ignorable="d"
  313.         Title="MainWindow" Height="800" Width="1200">
  314.     <StackPanel>
  315.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  316.                  Style="{StaticResource TouchTextBox}"/>
  317.     </StackPanel>
  318. </Window>    x:Class="WpfApp1.TouchTextBox">
  319.    
  320. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  321. <Window x:Class="WpfApp1.MainWindow"
  322.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  323.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  324.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  325.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  326.         mc:Ignorable="d"
  327.         Title="MainWindow" Height="800" Width="1200">
  328.     <StackPanel>
  329.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  330.                  Style="{StaticResource TouchTextBox}"/>
  331.     </StackPanel>
  332. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  333. <Window x:Class="WpfApp1.MainWindow"
  334.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  335.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  336.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  337.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  338.         mc:Ignorable="d"
  339.         Title="MainWindow" Height="800" Width="1200">
  340.     <StackPanel>
  341.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  342.                  Style="{StaticResource TouchTextBox}"/>
  343.     </StackPanel>
  344. </Window>    x:Class="WpfApp1.TouchTextBox">
  345.    
  346. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  347. <Window x:Class="WpfApp1.MainWindow"
  348.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  349.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  350.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  351.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  352.         mc:Ignorable="d"
  353.         Title="MainWindow" Height="800" Width="1200">
  354.     <StackPanel>
  355.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  356.                  Style="{StaticResource TouchTextBox}"/>
  357.     </StackPanel>
  358. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  359. <Window x:Class="WpfApp1.MainWindow"
  360.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  361.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  362.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  363.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  364.         mc:Ignorable="d"
  365.         Title="MainWindow" Height="800" Width="1200">
  366.     <StackPanel>
  367.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  368.                  Style="{StaticResource TouchTextBox}"/>
  369.     </StackPanel>
  370. </Window>    x:Class="WpfApp1.TouchTextBox">
  371.    
  372. </ResourceDictionary>
  373. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  374. <Window x:Class="WpfApp1.MainWindow"
  375.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  376.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  377.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  378.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  379.         mc:Ignorable="d"
  380.         Title="MainWindow" Height="800" Width="1200">
  381.     <StackPanel>
  382.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  383.                  Style="{StaticResource TouchTextBox}"/>
  384.     </StackPanel>
  385. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  386. <Window x:Class="WpfApp1.MainWindow"
  387.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  388.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  389.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  390.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  391.         mc:Ignorable="d"
  392.         Title="MainWindow" Height="800" Width="1200">
  393.     <StackPanel>
  394.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  395.                  Style="{StaticResource TouchTextBox}"/>
  396.     </StackPanel>
  397. </Window>    x:Class="WpfApp1.TouchTextBox">
  398.    
  399. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  400. <Window x:Class="WpfApp1.MainWindow"
  401.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  402.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  403.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  404.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  405.         mc:Ignorable="d"
  406.         Title="MainWindow" Height="800" Width="1200">
  407.     <StackPanel>
  408.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  409.                  Style="{StaticResource TouchTextBox}"/>
  410.     </StackPanel>
  411. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  412. <Window x:Class="WpfApp1.MainWindow"
  413.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  414.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  415.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  416.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  417.         mc:Ignorable="d"
  418.         Title="MainWindow" Height="800" Width="1200">
  419.     <StackPanel>
  420.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  421.                  Style="{StaticResource TouchTextBox}"/>
  422.     </StackPanel>
  423. </Window>    x:Class="WpfApp1.TouchTextBox">
  424.    
  425. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  426. <Window x:Class="WpfApp1.MainWindow"
  427.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  428.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  429.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  430.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  431.         mc:Ignorable="d"
  432.         Title="MainWindow" Height="800" Width="1200">
  433.     <StackPanel>
  434.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  435.                  Style="{StaticResource TouchTextBox}"/>
  436.     </StackPanel>
  437. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  438. <Window x:Class="WpfApp1.MainWindow"
  439.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  440.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  441.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  442.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  443.         mc:Ignorable="d"
  444.         Title="MainWindow" Height="800" Width="1200">
  445.     <StackPanel>
  446.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  447.                  Style="{StaticResource TouchTextBox}"/>
  448.     </StackPanel>
  449. </Window>    x:Class="WpfApp1.TouchTextBox">
  450.    
  451. </ResourceDictionary>
  452. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  453. <Window x:Class="WpfApp1.MainWindow"
  454.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  455.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  456.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  457.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  458.         mc:Ignorable="d"
  459.         Title="MainWindow" Height="800" Width="1200">
  460.     <StackPanel>
  461.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  462.                  Style="{StaticResource TouchTextBox}"/>
  463.     </StackPanel>
  464. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  465. <Window x:Class="WpfApp1.MainWindow"
  466.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  467.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  468.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  469.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  470.         mc:Ignorable="d"
  471.         Title="MainWindow" Height="800" Width="1200">
  472.     <StackPanel>
  473.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  474.                  Style="{StaticResource TouchTextBox}"/>
  475.     </StackPanel>
  476. </Window>    x:Class="WpfApp1.TouchTextBox">
  477.    
  478. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  479. <Window x:Class="WpfApp1.MainWindow"
  480.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  481.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  482.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  483.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  484.         mc:Ignorable="d"
  485.         Title="MainWindow" Height="800" Width="1200">
  486.     <StackPanel>
  487.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  488.                  Style="{StaticResource TouchTextBox}"/>
  489.     </StackPanel>
  490. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  491. <Window x:Class="WpfApp1.MainWindow"
  492.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  493.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  494.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  495.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  496.         mc:Ignorable="d"
  497.         Title="MainWindow" Height="800" Width="1200">
  498.     <StackPanel>
  499.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  500.                  Style="{StaticResource TouchTextBox}"/>
  501.     </StackPanel>
  502. </Window>    x:Class="WpfApp1.TouchTextBox">
  503.    
  504. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  505. <Window x:Class="WpfApp1.MainWindow"
  506.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  507.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  508.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  509.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  510.         mc:Ignorable="d"
  511.         Title="MainWindow" Height="800" Width="1200">
  512.     <StackPanel>
  513.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  514.                  Style="{StaticResource TouchTextBox}"/>
  515.     </StackPanel>
  516. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  517. <Window x:Class="WpfApp1.MainWindow"
  518.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  519.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  520.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  521.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  522.         mc:Ignorable="d"
  523.         Title="MainWindow" Height="800" Width="1200">
  524.     <StackPanel>
  525.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  526.                  Style="{StaticResource TouchTextBox}"/>
  527.     </StackPanel>
  528. </Window>    x:Class="WpfApp1.TouchTextBox">
  529.    
  530. </ResourceDictionary><local:CapsConverter x:Key="CapsConverter"/>
  531. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  532. <Window x:Class="WpfApp1.MainWindow"
  533.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  534.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  535.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  536.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  537.         mc:Ignorable="d"
  538.         Title="MainWindow" Height="800" Width="1200">
  539.     <StackPanel>
  540.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  541.                  Style="{StaticResource TouchTextBox}"/>
  542.     </StackPanel>
  543. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  544. <Window x:Class="WpfApp1.MainWindow"
  545.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  546.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  547.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  548.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  549.         mc:Ignorable="d"
  550.         Title="MainWindow" Height="800" Width="1200">
  551.     <StackPanel>
  552.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  553.                  Style="{StaticResource TouchTextBox}"/>
  554.     </StackPanel>
  555. </Window>    x:Class="WpfApp1.TouchTextBox">
  556.    
  557. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  558. <Window x:Class="WpfApp1.MainWindow"
  559.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  560.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  561.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  562.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  563.         mc:Ignorable="d"
  564.         Title="MainWindow" Height="800" Width="1200">
  565.     <StackPanel>
  566.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  567.                  Style="{StaticResource TouchTextBox}"/>
  568.     </StackPanel>
  569. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  570. <Window x:Class="WpfApp1.MainWindow"
  571.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  572.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  573.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  574.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  575.         mc:Ignorable="d"
  576.         Title="MainWindow" Height="800" Width="1200">
  577.     <StackPanel>
  578.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  579.                  Style="{StaticResource TouchTextBox}"/>
  580.     </StackPanel>
  581. </Window>    x:Class="WpfApp1.TouchTextBox">
  582.    
  583. </ResourceDictionary></ResourceDictionary>
  584. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  585. <Window x:Class="WpfApp1.MainWindow"
  586.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  587.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  588.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  589.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  590.         mc:Ignorable="d"
  591.         Title="MainWindow" Height="800" Width="1200">
  592.     <StackPanel>
  593.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  594.                  Style="{StaticResource TouchTextBox}"/>
  595.     </StackPanel>
  596. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  597. <Window x:Class="WpfApp1.MainWindow"
  598.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  599.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  600.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  601.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  602.         mc:Ignorable="d"
  603.         Title="MainWindow" Height="800" Width="1200">
  604.     <StackPanel>
  605.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  606.                  Style="{StaticResource TouchTextBox}"/>
  607.     </StackPanel>
  608. </Window>    x:Class="WpfApp1.TouchTextBox">
  609.    
  610. </ResourceDictionary></FrameworkElement.Resources>
  611. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  612. <Window x:Class="WpfApp1.MainWindow"
  613.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  614.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  615.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  616.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  617.         mc:Ignorable="d"
  618.         Title="MainWindow" Height="800" Width="1200">
  619.     <StackPanel>
  620.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  621.                  Style="{StaticResource TouchTextBox}"/>
  622.     </StackPanel>
  623. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  624. <Window x:Class="WpfApp1.MainWindow"
  625.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  626.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  627.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  628.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  629.         mc:Ignorable="d"
  630.         Title="MainWindow" Height="800" Width="1200">
  631.     <StackPanel>
  632.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  633.                  Style="{StaticResource TouchTextBox}"/>
  634.     </StackPanel>
  635. </Window>    x:Class="WpfApp1.TouchTextBox">
  636.    
  637. </ResourceDictionary><Border Background="Gray" CornerRadius="6" BorderThickness="1" BorderBrush="#333333">
  638. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  639. <Window x:Class="WpfApp1.MainWindow"
  640.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  641.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  642.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  643.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  644.         mc:Ignorable="d"
  645.         Title="MainWindow" Height="800" Width="1200">
  646.     <StackPanel>
  647.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  648.                  Style="{StaticResource TouchTextBox}"/>
  649.     </StackPanel>
  650. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  651. <Window x:Class="WpfApp1.MainWindow"
  652.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  653.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  654.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  655.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  656.         mc:Ignorable="d"
  657.         Title="MainWindow" Height="800" Width="1200">
  658.     <StackPanel>
  659.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  660.                  Style="{StaticResource TouchTextBox}"/>
  661.     </StackPanel>
  662. </Window>    x:Class="WpfApp1.TouchTextBox">
  663.    
  664. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  665. <Window x:Class="WpfApp1.MainWindow"
  666.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  667.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  668.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  669.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  670.         mc:Ignorable="d"
  671.         Title="MainWindow" Height="800" Width="1200">
  672.     <StackPanel>
  673.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  674.                  Style="{StaticResource TouchTextBox}"/>
  675.     </StackPanel>
  676. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  677. <Window x:Class="WpfApp1.MainWindow"
  678.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  679.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  680.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  681.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  682.         mc:Ignorable="d"
  683.         Title="MainWindow" Height="800" Width="1200">
  684.     <StackPanel>
  685.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  686.                  Style="{StaticResource TouchTextBox}"/>
  687.     </StackPanel>
  688. </Window>    x:Class="WpfApp1.TouchTextBox">
  689.    
  690. </ResourceDictionary><StackPanel Margin="5 10 5 5" >
  691. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  692. <Window x:Class="WpfApp1.MainWindow"
  693.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  694.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  695.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  696.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  697.         mc:Ignorable="d"
  698.         Title="MainWindow" Height="800" Width="1200">
  699.     <StackPanel>
  700.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  701.                  Style="{StaticResource TouchTextBox}"/>
  702.     </StackPanel>
  703. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  704. <Window x:Class="WpfApp1.MainWindow"
  705.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  706.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  707.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  708.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  709.         mc:Ignorable="d"
  710.         Title="MainWindow" Height="800" Width="1200">
  711.     <StackPanel>
  712.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  713.                  Style="{StaticResource TouchTextBox}"/>
  714.     </StackPanel>
  715. </Window>    x:Class="WpfApp1.TouchTextBox">
  716.    
  717. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  718. <Window x:Class="WpfApp1.MainWindow"
  719.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  720.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  721.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  722.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  723.         mc:Ignorable="d"
  724.         Title="MainWindow" Height="800" Width="1200">
  725.     <StackPanel>
  726.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  727.                  Style="{StaticResource TouchTextBox}"/>
  728.     </StackPanel>
  729. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  730. <Window x:Class="WpfApp1.MainWindow"
  731.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  732.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  733.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  734.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  735.         mc:Ignorable="d"
  736.         Title="MainWindow" Height="800" Width="1200">
  737.     <StackPanel>
  738.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  739.                  Style="{StaticResource TouchTextBox}"/>
  740.     </StackPanel>
  741. </Window>    x:Class="WpfApp1.TouchTextBox">
  742.    
  743. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  744. <Window x:Class="WpfApp1.MainWindow"
  745.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  746.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  747.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  748.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  749.         mc:Ignorable="d"
  750.         Title="MainWindow" Height="800" Width="1200">
  751.     <StackPanel>
  752.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  753.                  Style="{StaticResource TouchTextBox}"/>
  754.     </StackPanel>
  755. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  756. <Window x:Class="WpfApp1.MainWindow"
  757.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  758.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  759.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  760.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  761.         mc:Ignorable="d"
  762.         Title="MainWindow" Height="800" Width="1200">
  763.     <StackPanel>
  764.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  765.                  Style="{StaticResource TouchTextBox}"/>
  766.     </StackPanel>
  767. </Window>    x:Class="WpfApp1.TouchTextBox">
  768.    
  769. </ResourceDictionary><Grid>
  770. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  771. <Window x:Class="WpfApp1.MainWindow"
  772.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  773.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  774.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  775.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  776.         mc:Ignorable="d"
  777.         Title="MainWindow" Height="800" Width="1200">
  778.     <StackPanel>
  779.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  780.                  Style="{StaticResource TouchTextBox}"/>
  781.     </StackPanel>
  782. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  783. <Window x:Class="WpfApp1.MainWindow"
  784.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  785.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  786.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  787.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  788.         mc:Ignorable="d"
  789.         Title="MainWindow" Height="800" Width="1200">
  790.     <StackPanel>
  791.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  792.                  Style="{StaticResource TouchTextBox}"/>
  793.     </StackPanel>
  794. </Window>    x:Class="WpfApp1.TouchTextBox">
  795.    
  796. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  797. <Window x:Class="WpfApp1.MainWindow"
  798.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  799.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  800.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  801.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  802.         mc:Ignorable="d"
  803.         Title="MainWindow" Height="800" Width="1200">
  804.     <StackPanel>
  805.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  806.                  Style="{StaticResource TouchTextBox}"/>
  807.     </StackPanel>
  808. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  809. <Window x:Class="WpfApp1.MainWindow"
  810.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  811.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  812.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  813.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  814.         mc:Ignorable="d"
  815.         Title="MainWindow" Height="800" Width="1200">
  816.     <StackPanel>
  817.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  818.                  Style="{StaticResource TouchTextBox}"/>
  819.     </StackPanel>
  820. </Window>    x:Class="WpfApp1.TouchTextBox">
  821.    
  822. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  823. <Window x:Class="WpfApp1.MainWindow"
  824.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  825.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  826.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  827.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  828.         mc:Ignorable="d"
  829.         Title="MainWindow" Height="800" Width="1200">
  830.     <StackPanel>
  831.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  832.                  Style="{StaticResource TouchTextBox}"/>
  833.     </StackPanel>
  834. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  835. <Window x:Class="WpfApp1.MainWindow"
  836.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  837.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  838.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  839.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  840.         mc:Ignorable="d"
  841.         Title="MainWindow" Height="800" Width="1200">
  842.     <StackPanel>
  843.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  844.                  Style="{StaticResource TouchTextBox}"/>
  845.     </StackPanel>
  846. </Window>    x:Class="WpfApp1.TouchTextBox">
  847.    
  848. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  849. <Window x:Class="WpfApp1.MainWindow"
  850.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  851.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  852.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  853.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  854.         mc:Ignorable="d"
  855.         Title="MainWindow" Height="800" Width="1200">
  856.     <StackPanel>
  857.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  858.                  Style="{StaticResource TouchTextBox}"/>
  859.     </StackPanel>
  860. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  861. <Window x:Class="WpfApp1.MainWindow"
  862.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  863.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  864.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  865.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  866.         mc:Ignorable="d"
  867.         Title="MainWindow" Height="800" Width="1200">
  868.     <StackPanel>
  869.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  870.                  Style="{StaticResource TouchTextBox}"/>
  871.     </StackPanel>
  872. </Window>    x:Class="WpfApp1.TouchTextBox">
  873.    
  874. </ResourceDictionary><TextBox Name="tbValue" FontSize="28" Height="40"
  875. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  876. <Window x:Class="WpfApp1.MainWindow"
  877.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  878.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  879.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  880.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  881.         mc:Ignorable="d"
  882.         Title="MainWindow" Height="800" Width="1200">
  883.     <StackPanel>
  884.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  885.                  Style="{StaticResource TouchTextBox}"/>
  886.     </StackPanel>
  887. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  888. <Window x:Class="WpfApp1.MainWindow"
  889.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  890.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  891.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  892.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  893.         mc:Ignorable="d"
  894.         Title="MainWindow" Height="800" Width="1200">
  895.     <StackPanel>
  896.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  897.                  Style="{StaticResource TouchTextBox}"/>
  898.     </StackPanel>
  899. </Window>    x:Class="WpfApp1.TouchTextBox">
  900.    
  901. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  902. <Window x:Class="WpfApp1.MainWindow"
  903.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  904.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  905.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  906.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  907.         mc:Ignorable="d"
  908.         Title="MainWindow" Height="800" Width="1200">
  909.     <StackPanel>
  910.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  911.                  Style="{StaticResource TouchTextBox}"/>
  912.     </StackPanel>
  913. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  914. <Window x:Class="WpfApp1.MainWindow"
  915.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  916.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  917.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  918.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  919.         mc:Ignorable="d"
  920.         Title="MainWindow" Height="800" Width="1200">
  921.     <StackPanel>
  922.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  923.                  Style="{StaticResource TouchTextBox}"/>
  924.     </StackPanel>
  925. </Window>    x:Class="WpfApp1.TouchTextBox">
  926.    
  927. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  928. <Window x:Class="WpfApp1.MainWindow"
  929.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  930.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  931.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  932.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  933.         mc:Ignorable="d"
  934.         Title="MainWindow" Height="800" Width="1200">
  935.     <StackPanel>
  936.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  937.                  Style="{StaticResource TouchTextBox}"/>
  938.     </StackPanel>
  939. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  940. <Window x:Class="WpfApp1.MainWindow"
  941.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  942.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  943.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  944.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  945.         mc:Ignorable="d"
  946.         Title="MainWindow" Height="800" Width="1200">
  947.     <StackPanel>
  948.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  949.                  Style="{StaticResource TouchTextBox}"/>
  950.     </StackPanel>
  951. </Window>    x:Class="WpfApp1.TouchTextBox">
  952.    
  953. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  954. <Window x:Class="WpfApp1.MainWindow"
  955.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  956.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  957.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  958.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  959.         mc:Ignorable="d"
  960.         Title="MainWindow" Height="800" Width="1200">
  961.     <StackPanel>
  962.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  963.                  Style="{StaticResource TouchTextBox}"/>
  964.     </StackPanel>
  965. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  966. <Window x:Class="WpfApp1.MainWindow"
  967.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  968.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  969.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  970.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  971.         mc:Ignorable="d"
  972.         Title="MainWindow" Height="800" Width="1200">
  973.     <StackPanel>
  974.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  975.                  Style="{StaticResource TouchTextBox}"/>
  976.     </StackPanel>
  977. </Window>    x:Class="WpfApp1.TouchTextBox">
  978.    
  979. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  980. <Window x:Class="WpfApp1.MainWindow"
  981.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  982.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  983.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  984.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  985.         mc:Ignorable="d"
  986.         Title="MainWindow" Height="800" Width="1200">
  987.     <StackPanel>
  988.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  989.                  Style="{StaticResource TouchTextBox}"/>
  990.     </StackPanel>
  991. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  992. <Window x:Class="WpfApp1.MainWindow"
  993.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  994.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  995.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  996.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  997.         mc:Ignorable="d"
  998.         Title="MainWindow" Height="800" Width="1200">
  999.     <StackPanel>
  1000.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1001.                  Style="{StaticResource TouchTextBox}"/>
  1002.     </StackPanel>
  1003. </Window>    x:Class="WpfApp1.TouchTextBox">
  1004.    
  1005. </ResourceDictionary>Background="Transparent" BorderBrush="Silver" BorderThickness="1"
  1006. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1007. <Window x:Class="WpfApp1.MainWindow"
  1008.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1009.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1010.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1011.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1012.         mc:Ignorable="d"
  1013.         Title="MainWindow" Height="800" Width="1200">
  1014.     <StackPanel>
  1015.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1016.                  Style="{StaticResource TouchTextBox}"/>
  1017.     </StackPanel>
  1018. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1019. <Window x:Class="WpfApp1.MainWindow"
  1020.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1021.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1022.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1023.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1024.         mc:Ignorable="d"
  1025.         Title="MainWindow" Height="800" Width="1200">
  1026.     <StackPanel>
  1027.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1028.                  Style="{StaticResource TouchTextBox}"/>
  1029.     </StackPanel>
  1030. </Window>    x:Class="WpfApp1.TouchTextBox">
  1031.    
  1032. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1033. <Window x:Class="WpfApp1.MainWindow"
  1034.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1035.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1036.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1037.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1038.         mc:Ignorable="d"
  1039.         Title="MainWindow" Height="800" Width="1200">
  1040.     <StackPanel>
  1041.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1042.                  Style="{StaticResource TouchTextBox}"/>
  1043.     </StackPanel>
  1044. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1045. <Window x:Class="WpfApp1.MainWindow"
  1046.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1047.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1048.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1049.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1050.         mc:Ignorable="d"
  1051.         Title="MainWindow" Height="800" Width="1200">
  1052.     <StackPanel>
  1053.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1054.                  Style="{StaticResource TouchTextBox}"/>
  1055.     </StackPanel>
  1056. </Window>    x:Class="WpfApp1.TouchTextBox">
  1057.    
  1058. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1059. <Window x:Class="WpfApp1.MainWindow"
  1060.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1061.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1062.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1063.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1064.         mc:Ignorable="d"
  1065.         Title="MainWindow" Height="800" Width="1200">
  1066.     <StackPanel>
  1067.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1068.                  Style="{StaticResource TouchTextBox}"/>
  1069.     </StackPanel>
  1070. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1071. <Window x:Class="WpfApp1.MainWindow"
  1072.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1073.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1074.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1075.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1076.         mc:Ignorable="d"
  1077.         Title="MainWindow" Height="800" Width="1200">
  1078.     <StackPanel>
  1079.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1080.                  Style="{StaticResource TouchTextBox}"/>
  1081.     </StackPanel>
  1082. </Window>    x:Class="WpfApp1.TouchTextBox">
  1083.    
  1084. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1085. <Window x:Class="WpfApp1.MainWindow"
  1086.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1087.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1088.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1089.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1090.         mc:Ignorable="d"
  1091.         Title="MainWindow" Height="800" Width="1200">
  1092.     <StackPanel>
  1093.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1094.                  Style="{StaticResource TouchTextBox}"/>
  1095.     </StackPanel>
  1096. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1097. <Window x:Class="WpfApp1.MainWindow"
  1098.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1099.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1100.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1101.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1102.         mc:Ignorable="d"
  1103.         Title="MainWindow" Height="800" Width="1200">
  1104.     <StackPanel>
  1105.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1106.                  Style="{StaticResource TouchTextBox}"/>
  1107.     </StackPanel>
  1108. </Window>    x:Class="WpfApp1.TouchTextBox">
  1109.    
  1110. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1111. <Window x:Class="WpfApp1.MainWindow"
  1112.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1113.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1114.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1115.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1116.         mc:Ignorable="d"
  1117.         Title="MainWindow" Height="800" Width="1200">
  1118.     <StackPanel>
  1119.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1120.                  Style="{StaticResource TouchTextBox}"/>
  1121.     </StackPanel>
  1122. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1123. <Window x:Class="WpfApp1.MainWindow"
  1124.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1125.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1126.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1127.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1128.         mc:Ignorable="d"
  1129.         Title="MainWindow" Height="800" Width="1200">
  1130.     <StackPanel>
  1131.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1132.                  Style="{StaticResource TouchTextBox}"/>
  1133.     </StackPanel>
  1134. </Window>    x:Class="WpfApp1.TouchTextBox">
  1135.    
  1136. </ResourceDictionary>Foreground="White" HorizontalContentAlignment="Right"
  1137. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1138. <Window x:Class="WpfApp1.MainWindow"
  1139.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1140.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1141.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1142.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1143.         mc:Ignorable="d"
  1144.         Title="MainWindow" Height="800" Width="1200">
  1145.     <StackPanel>
  1146.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1147.                  Style="{StaticResource TouchTextBox}"/>
  1148.     </StackPanel>
  1149. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1150. <Window x:Class="WpfApp1.MainWindow"
  1151.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1152.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1153.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1154.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1155.         mc:Ignorable="d"
  1156.         Title="MainWindow" Height="800" Width="1200">
  1157.     <StackPanel>
  1158.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1159.                  Style="{StaticResource TouchTextBox}"/>
  1160.     </StackPanel>
  1161. </Window>    x:Class="WpfApp1.TouchTextBox">
  1162.    
  1163. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1164. <Window x:Class="WpfApp1.MainWindow"
  1165.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1166.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1167.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1168.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1169.         mc:Ignorable="d"
  1170.         Title="MainWindow" Height="800" Width="1200">
  1171.     <StackPanel>
  1172.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1173.                  Style="{StaticResource TouchTextBox}"/>
  1174.     </StackPanel>
  1175. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1176. <Window x:Class="WpfApp1.MainWindow"
  1177.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1178.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1179.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1180.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1181.         mc:Ignorable="d"
  1182.         Title="MainWindow" Height="800" Width="1200">
  1183.     <StackPanel>
  1184.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1185.                  Style="{StaticResource TouchTextBox}"/>
  1186.     </StackPanel>
  1187. </Window>    x:Class="WpfApp1.TouchTextBox">
  1188.    
  1189. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1190. <Window x:Class="WpfApp1.MainWindow"
  1191.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1192.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1193.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1194.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1195.         mc:Ignorable="d"
  1196.         Title="MainWindow" Height="800" Width="1200">
  1197.     <StackPanel>
  1198.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1199.                  Style="{StaticResource TouchTextBox}"/>
  1200.     </StackPanel>
  1201. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1202. <Window x:Class="WpfApp1.MainWindow"
  1203.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1204.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1205.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1206.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1207.         mc:Ignorable="d"
  1208.         Title="MainWindow" Height="800" Width="1200">
  1209.     <StackPanel>
  1210.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1211.                  Style="{StaticResource TouchTextBox}"/>
  1212.     </StackPanel>
  1213. </Window>    x:Class="WpfApp1.TouchTextBox">
  1214.    
  1215. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1216. <Window x:Class="WpfApp1.MainWindow"
  1217.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1218.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1219.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1220.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1221.         mc:Ignorable="d"
  1222.         Title="MainWindow" Height="800" Width="1200">
  1223.     <StackPanel>
  1224.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1225.                  Style="{StaticResource TouchTextBox}"/>
  1226.     </StackPanel>
  1227. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1228. <Window x:Class="WpfApp1.MainWindow"
  1229.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1230.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1231.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1232.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1233.         mc:Ignorable="d"
  1234.         Title="MainWindow" Height="800" Width="1200">
  1235.     <StackPanel>
  1236.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1237.                  Style="{StaticResource TouchTextBox}"/>
  1238.     </StackPanel>
  1239. </Window>    x:Class="WpfApp1.TouchTextBox">
  1240.    
  1241. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1242. <Window x:Class="WpfApp1.MainWindow"
  1243.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1244.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1245.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1246.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1247.         mc:Ignorable="d"
  1248.         Title="MainWindow" Height="800" Width="1200">
  1249.     <StackPanel>
  1250.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1251.                  Style="{StaticResource TouchTextBox}"/>
  1252.     </StackPanel>
  1253. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1254. <Window x:Class="WpfApp1.MainWindow"
  1255.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1256.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1257.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1258.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1259.         mc:Ignorable="d"
  1260.         Title="MainWindow" Height="800" Width="1200">
  1261.     <StackPanel>
  1262.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1263.                  Style="{StaticResource TouchTextBox}"/>
  1264.     </StackPanel>
  1265. </Window>    x:Class="WpfApp1.TouchTextBox">
  1266.    
  1267. </ResourceDictionary>SelectionChanged="tbValue_TextChanged"
  1268. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1269. <Window x:Class="WpfApp1.MainWindow"
  1270.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1271.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1272.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1273.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1274.         mc:Ignorable="d"
  1275.         Title="MainWindow" Height="800" Width="1200">
  1276.     <StackPanel>
  1277.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1278.                  Style="{StaticResource TouchTextBox}"/>
  1279.     </StackPanel>
  1280. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1281. <Window x:Class="WpfApp1.MainWindow"
  1282.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1283.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1284.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1285.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1286.         mc:Ignorable="d"
  1287.         Title="MainWindow" Height="800" Width="1200">
  1288.     <StackPanel>
  1289.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1290.                  Style="{StaticResource TouchTextBox}"/>
  1291.     </StackPanel>
  1292. </Window>    x:Class="WpfApp1.TouchTextBox">
  1293.    
  1294. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1295. <Window x:Class="WpfApp1.MainWindow"
  1296.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1297.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1298.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1299.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1300.         mc:Ignorable="d"
  1301.         Title="MainWindow" Height="800" Width="1200">
  1302.     <StackPanel>
  1303.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1304.                  Style="{StaticResource TouchTextBox}"/>
  1305.     </StackPanel>
  1306. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1307. <Window x:Class="WpfApp1.MainWindow"
  1308.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1309.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1310.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1311.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1312.         mc:Ignorable="d"
  1313.         Title="MainWindow" Height="800" Width="1200">
  1314.     <StackPanel>
  1315.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1316.                  Style="{StaticResource TouchTextBox}"/>
  1317.     </StackPanel>
  1318. </Window>    x:Class="WpfApp1.TouchTextBox">
  1319.    
  1320. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1321. <Window x:Class="WpfApp1.MainWindow"
  1322.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1323.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1324.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1325.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1326.         mc:Ignorable="d"
  1327.         Title="MainWindow" Height="800" Width="1200">
  1328.     <StackPanel>
  1329.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1330.                  Style="{StaticResource TouchTextBox}"/>
  1331.     </StackPanel>
  1332. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1333. <Window x:Class="WpfApp1.MainWindow"
  1334.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1335.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1336.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1337.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1338.         mc:Ignorable="d"
  1339.         Title="MainWindow" Height="800" Width="1200">
  1340.     <StackPanel>
  1341.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1342.                  Style="{StaticResource TouchTextBox}"/>
  1343.     </StackPanel>
  1344. </Window>    x:Class="WpfApp1.TouchTextBox">
  1345.    
  1346. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1347. <Window x:Class="WpfApp1.MainWindow"
  1348.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1349.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1350.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1351.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1352.         mc:Ignorable="d"
  1353.         Title="MainWindow" Height="800" Width="1200">
  1354.     <StackPanel>
  1355.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1356.                  Style="{StaticResource TouchTextBox}"/>
  1357.     </StackPanel>
  1358. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1359. <Window x:Class="WpfApp1.MainWindow"
  1360.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1361.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1362.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1363.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1364.         mc:Ignorable="d"
  1365.         Title="MainWindow" Height="800" Width="1200">
  1366.     <StackPanel>
  1367.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1368.                  Style="{StaticResource TouchTextBox}"/>
  1369.     </StackPanel>
  1370. </Window>    x:Class="WpfApp1.TouchTextBox">
  1371.    
  1372. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1373. <Window x:Class="WpfApp1.MainWindow"
  1374.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1375.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1376.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1377.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1378.         mc:Ignorable="d"
  1379.         Title="MainWindow" Height="800" Width="1200">
  1380.     <StackPanel>
  1381.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1382.                  Style="{StaticResource TouchTextBox}"/>
  1383.     </StackPanel>
  1384. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1385. <Window x:Class="WpfApp1.MainWindow"
  1386.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1387.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1388.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1389.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1390.         mc:Ignorable="d"
  1391.         Title="MainWindow" Height="800" Width="1200">
  1392.     <StackPanel>
  1393.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1394.                  Style="{StaticResource TouchTextBox}"/>
  1395.     </StackPanel>
  1396. </Window>    x:Class="WpfApp1.TouchTextBox">
  1397.    
  1398. </ResourceDictionary>TextChanged="tbValue_TextChanged" />
  1399. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1400. <Window x:Class="WpfApp1.MainWindow"
  1401.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1402.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1403.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1404.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1405.         mc:Ignorable="d"
  1406.         Title="MainWindow" Height="800" Width="1200">
  1407.     <StackPanel>
  1408.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1409.                  Style="{StaticResource TouchTextBox}"/>
  1410.     </StackPanel>
  1411. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1412. <Window x:Class="WpfApp1.MainWindow"
  1413.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1414.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1415.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1416.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1417.         mc:Ignorable="d"
  1418.         Title="MainWindow" Height="800" Width="1200">
  1419.     <StackPanel>
  1420.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1421.                  Style="{StaticResource TouchTextBox}"/>
  1422.     </StackPanel>
  1423. </Window>    x:Class="WpfApp1.TouchTextBox">
  1424.    
  1425. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1426. <Window x:Class="WpfApp1.MainWindow"
  1427.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1428.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1429.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1430.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1431.         mc:Ignorable="d"
  1432.         Title="MainWindow" Height="800" Width="1200">
  1433.     <StackPanel>
  1434.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1435.                  Style="{StaticResource TouchTextBox}"/>
  1436.     </StackPanel>
  1437. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1438. <Window x:Class="WpfApp1.MainWindow"
  1439.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1440.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1441.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1442.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1443.         mc:Ignorable="d"
  1444.         Title="MainWindow" Height="800" Width="1200">
  1445.     <StackPanel>
  1446.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1447.                  Style="{StaticResource TouchTextBox}"/>
  1448.     </StackPanel>
  1449. </Window>    x:Class="WpfApp1.TouchTextBox">
  1450.    
  1451. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1452. <Window x:Class="WpfApp1.MainWindow"
  1453.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1454.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1455.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1456.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1457.         mc:Ignorable="d"
  1458.         Title="MainWindow" Height="800" Width="1200">
  1459.     <StackPanel>
  1460.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1461.                  Style="{StaticResource TouchTextBox}"/>
  1462.     </StackPanel>
  1463. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1464. <Window x:Class="WpfApp1.MainWindow"
  1465.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1466.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1467.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1468.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1469.         mc:Ignorable="d"
  1470.         Title="MainWindow" Height="800" Width="1200">
  1471.     <StackPanel>
  1472.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1473.                  Style="{StaticResource TouchTextBox}"/>
  1474.     </StackPanel>
  1475. </Window>    x:Class="WpfApp1.TouchTextBox">
  1476.    
  1477. </ResourceDictionary></Grid>
  1478. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1479. <Window x:Class="WpfApp1.MainWindow"
  1480.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1481.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1482.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1483.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1484.         mc:Ignorable="d"
  1485.         Title="MainWindow" Height="800" Width="1200">
  1486.     <StackPanel>
  1487.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1488.                  Style="{StaticResource TouchTextBox}"/>
  1489.     </StackPanel>
  1490. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1491. <Window x:Class="WpfApp1.MainWindow"
  1492.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1493.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1494.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1495.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1496.         mc:Ignorable="d"
  1497.         Title="MainWindow" Height="800" Width="1200">
  1498.     <StackPanel>
  1499.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1500.                  Style="{StaticResource TouchTextBox}"/>
  1501.     </StackPanel>
  1502. </Window>    x:Class="WpfApp1.TouchTextBox">
  1503.    
  1504. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1505. <Window x:Class="WpfApp1.MainWindow"
  1506.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1507.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1508.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1509.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1510.         mc:Ignorable="d"
  1511.         Title="MainWindow" Height="800" Width="1200">
  1512.     <StackPanel>
  1513.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1514.                  Style="{StaticResource TouchTextBox}"/>
  1515.     </StackPanel>
  1516. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1517. <Window x:Class="WpfApp1.MainWindow"
  1518.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1519.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1520.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1521.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1522.         mc:Ignorable="d"
  1523.         Title="MainWindow" Height="800" Width="1200">
  1524.     <StackPanel>
  1525.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1526.                  Style="{StaticResource TouchTextBox}"/>
  1527.     </StackPanel>
  1528. </Window>    x:Class="WpfApp1.TouchTextBox">
  1529.    
  1530. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1531. <Window x:Class="WpfApp1.MainWindow"
  1532.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1533.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1534.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1535.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1536.         mc:Ignorable="d"
  1537.         Title="MainWindow" Height="800" Width="1200">
  1538.     <StackPanel>
  1539.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1540.                  Style="{StaticResource TouchTextBox}"/>
  1541.     </StackPanel>
  1542. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1543. <Window x:Class="WpfApp1.MainWindow"
  1544.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1545.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1546.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1547.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1548.         mc:Ignorable="d"
  1549.         Title="MainWindow" Height="800" Width="1200">
  1550.     <StackPanel>
  1551.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1552.                  Style="{StaticResource TouchTextBox}"/>
  1553.     </StackPanel>
  1554. </Window>    x:Class="WpfApp1.TouchTextBox">
  1555.    
  1556. </ResourceDictionary><WrapPanel  Orientation="Vertical" >
  1557. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1558. <Window x:Class="WpfApp1.MainWindow"
  1559.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1560.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1561.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1562.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1563.         mc:Ignorable="d"
  1564.         Title="MainWindow" Height="800" Width="1200">
  1565.     <StackPanel>
  1566.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1567.                  Style="{StaticResource TouchTextBox}"/>
  1568.     </StackPanel>
  1569. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1570. <Window x:Class="WpfApp1.MainWindow"
  1571.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1572.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1573.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1574.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1575.         mc:Ignorable="d"
  1576.         Title="MainWindow" Height="800" Width="1200">
  1577.     <StackPanel>
  1578.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1579.                  Style="{StaticResource TouchTextBox}"/>
  1580.     </StackPanel>
  1581. </Window>    x:Class="WpfApp1.TouchTextBox">
  1582.    
  1583. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1584. <Window x:Class="WpfApp1.MainWindow"
  1585.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1586.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1587.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1588.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1589.         mc:Ignorable="d"
  1590.         Title="MainWindow" Height="800" Width="1200">
  1591.     <StackPanel>
  1592.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1593.                  Style="{StaticResource TouchTextBox}"/>
  1594.     </StackPanel>
  1595. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1596. <Window x:Class="WpfApp1.MainWindow"
  1597.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1598.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1599.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1600.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1601.         mc:Ignorable="d"
  1602.         Title="MainWindow" Height="800" Width="1200">
  1603.     <StackPanel>
  1604.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1605.                  Style="{StaticResource TouchTextBox}"/>
  1606.     </StackPanel>
  1607. </Window>    x:Class="WpfApp1.TouchTextBox">
  1608.    
  1609. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1610. <Window x:Class="WpfApp1.MainWindow"
  1611.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1612.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1613.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1614.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1615.         mc:Ignorable="d"
  1616.         Title="MainWindow" Height="800" Width="1200">
  1617.     <StackPanel>
  1618.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1619.                  Style="{StaticResource TouchTextBox}"/>
  1620.     </StackPanel>
  1621. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1622. <Window x:Class="WpfApp1.MainWindow"
  1623.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1624.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1625.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1626.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1627.         mc:Ignorable="d"
  1628.         Title="MainWindow" Height="800" Width="1200">
  1629.     <StackPanel>
  1630.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1631.                  Style="{StaticResource TouchTextBox}"/>
  1632.     </StackPanel>
  1633. </Window>    x:Class="WpfApp1.TouchTextBox">
  1634.    
  1635. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1636. <Window x:Class="WpfApp1.MainWindow"
  1637.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1638.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1639.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1640.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1641.         mc:Ignorable="d"
  1642.         Title="MainWindow" Height="800" Width="1200">
  1643.     <StackPanel>
  1644.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1645.                  Style="{StaticResource TouchTextBox}"/>
  1646.     </StackPanel>
  1647. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1648. <Window x:Class="WpfApp1.MainWindow"
  1649.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1650.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1651.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1652.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1653.         mc:Ignorable="d"
  1654.         Title="MainWindow" Height="800" Width="1200">
  1655.     <StackPanel>
  1656.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1657.                  Style="{StaticResource TouchTextBox}"/>
  1658.     </StackPanel>
  1659. </Window>    x:Class="WpfApp1.TouchTextBox">
  1660.    
  1661. </ResourceDictionary><WrapPanel Margin="0 10 0 0">
  1662. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1663. <Window x:Class="WpfApp1.MainWindow"
  1664.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1665.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1666.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1667.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1668.         mc:Ignorable="d"
  1669.         Title="MainWindow" Height="800" Width="1200">
  1670.     <StackPanel>
  1671.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1672.                  Style="{StaticResource TouchTextBox}"/>
  1673.     </StackPanel>
  1674. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1675. <Window x:Class="WpfApp1.MainWindow"
  1676.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1677.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1678.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1679.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1680.         mc:Ignorable="d"
  1681.         Title="MainWindow" Height="800" Width="1200">
  1682.     <StackPanel>
  1683.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1684.                  Style="{StaticResource TouchTextBox}"/>
  1685.     </StackPanel>
  1686. </Window>    x:Class="WpfApp1.TouchTextBox">
  1687.    
  1688. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1689. <Window x:Class="WpfApp1.MainWindow"
  1690.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1691.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1692.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1693.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1694.         mc:Ignorable="d"
  1695.         Title="MainWindow" Height="800" Width="1200">
  1696.     <StackPanel>
  1697.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1698.                  Style="{StaticResource TouchTextBox}"/>
  1699.     </StackPanel>
  1700. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1701. <Window x:Class="WpfApp1.MainWindow"
  1702.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1703.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1704.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1705.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1706.         mc:Ignorable="d"
  1707.         Title="MainWindow" Height="800" Width="1200">
  1708.     <StackPanel>
  1709.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1710.                  Style="{StaticResource TouchTextBox}"/>
  1711.     </StackPanel>
  1712. </Window>    x:Class="WpfApp1.TouchTextBox">
  1713.    
  1714. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1715. <Window x:Class="WpfApp1.MainWindow"
  1716.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1717.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1718.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1719.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1720.         mc:Ignorable="d"
  1721.         Title="MainWindow" Height="800" Width="1200">
  1722.     <StackPanel>
  1723.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1724.                  Style="{StaticResource TouchTextBox}"/>
  1725.     </StackPanel>
  1726. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1727. <Window x:Class="WpfApp1.MainWindow"
  1728.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1729.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1730.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1731.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1732.         mc:Ignorable="d"
  1733.         Title="MainWindow" Height="800" Width="1200">
  1734.     <StackPanel>
  1735.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1736.                  Style="{StaticResource TouchTextBox}"/>
  1737.     </StackPanel>
  1738. </Window>    x:Class="WpfApp1.TouchTextBox">
  1739.    
  1740. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1741. <Window x:Class="WpfApp1.MainWindow"
  1742.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1743.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1744.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1745.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1746.         mc:Ignorable="d"
  1747.         Title="MainWindow" Height="800" Width="1200">
  1748.     <StackPanel>
  1749.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1750.                  Style="{StaticResource TouchTextBox}"/>
  1751.     </StackPanel>
  1752. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1753. <Window x:Class="WpfApp1.MainWindow"
  1754.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1755.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1756.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1757.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1758.         mc:Ignorable="d"
  1759.         Title="MainWindow" Height="800" Width="1200">
  1760.     <StackPanel>
  1761.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1762.                  Style="{StaticResource TouchTextBox}"/>
  1763.     </StackPanel>
  1764. </Window>    x:Class="WpfApp1.TouchTextBox">
  1765.    
  1766. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1767. <Window x:Class="WpfApp1.MainWindow"
  1768.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1769.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1770.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1771.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1772.         mc:Ignorable="d"
  1773.         Title="MainWindow" Height="800" Width="1200">
  1774.     <StackPanel>
  1775.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1776.                  Style="{StaticResource TouchTextBox}"/>
  1777.     </StackPanel>
  1778. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1779. <Window x:Class="WpfApp1.MainWindow"
  1780.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1781.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1782.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1783.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1784.         mc:Ignorable="d"
  1785.         Title="MainWindow" Height="800" Width="1200">
  1786.     <StackPanel>
  1787.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1788.                  Style="{StaticResource TouchTextBox}"/>
  1789.     </StackPanel>
  1790. </Window>    x:Class="WpfApp1.TouchTextBox">
  1791.    
  1792. </ResourceDictionary><Button Content="1" Click="Button_Click"  Style="{StaticResource btnNum}" />
  1793. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1794. <Window x:Class="WpfApp1.MainWindow"
  1795.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1796.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1797.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1798.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1799.         mc:Ignorable="d"
  1800.         Title="MainWindow" Height="800" Width="1200">
  1801.     <StackPanel>
  1802.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1803.                  Style="{StaticResource TouchTextBox}"/>
  1804.     </StackPanel>
  1805. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1806. <Window x:Class="WpfApp1.MainWindow"
  1807.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1808.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1809.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1810.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1811.         mc:Ignorable="d"
  1812.         Title="MainWindow" Height="800" Width="1200">
  1813.     <StackPanel>
  1814.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1815.                  Style="{StaticResource TouchTextBox}"/>
  1816.     </StackPanel>
  1817. </Window>    x:Class="WpfApp1.TouchTextBox">
  1818.    
  1819. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1820. <Window x:Class="WpfApp1.MainWindow"
  1821.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1822.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1823.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1824.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1825.         mc:Ignorable="d"
  1826.         Title="MainWindow" Height="800" Width="1200">
  1827.     <StackPanel>
  1828.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1829.                  Style="{StaticResource TouchTextBox}"/>
  1830.     </StackPanel>
  1831. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1832. <Window x:Class="WpfApp1.MainWindow"
  1833.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1834.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1835.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1836.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1837.         mc:Ignorable="d"
  1838.         Title="MainWindow" Height="800" Width="1200">
  1839.     <StackPanel>
  1840.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1841.                  Style="{StaticResource TouchTextBox}"/>
  1842.     </StackPanel>
  1843. </Window>    x:Class="WpfApp1.TouchTextBox">
  1844.    
  1845. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1846. <Window x:Class="WpfApp1.MainWindow"
  1847.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1848.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1849.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1850.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1851.         mc:Ignorable="d"
  1852.         Title="MainWindow" Height="800" Width="1200">
  1853.     <StackPanel>
  1854.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1855.                  Style="{StaticResource TouchTextBox}"/>
  1856.     </StackPanel>
  1857. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1858. <Window x:Class="WpfApp1.MainWindow"
  1859.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1860.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1861.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1862.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1863.         mc:Ignorable="d"
  1864.         Title="MainWindow" Height="800" Width="1200">
  1865.     <StackPanel>
  1866.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1867.                  Style="{StaticResource TouchTextBox}"/>
  1868.     </StackPanel>
  1869. </Window>    x:Class="WpfApp1.TouchTextBox">
  1870.    
  1871. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1872. <Window x:Class="WpfApp1.MainWindow"
  1873.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1874.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1875.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1876.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1877.         mc:Ignorable="d"
  1878.         Title="MainWindow" Height="800" Width="1200">
  1879.     <StackPanel>
  1880.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1881.                  Style="{StaticResource TouchTextBox}"/>
  1882.     </StackPanel>
  1883. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1884. <Window x:Class="WpfApp1.MainWindow"
  1885.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1886.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1887.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1888.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1889.         mc:Ignorable="d"
  1890.         Title="MainWindow" Height="800" Width="1200">
  1891.     <StackPanel>
  1892.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1893.                  Style="{StaticResource TouchTextBox}"/>
  1894.     </StackPanel>
  1895. </Window>    x:Class="WpfApp1.TouchTextBox">
  1896.    
  1897. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1898. <Window x:Class="WpfApp1.MainWindow"
  1899.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1900.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1901.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1902.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1903.         mc:Ignorable="d"
  1904.         Title="MainWindow" Height="800" Width="1200">
  1905.     <StackPanel>
  1906.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1907.                  Style="{StaticResource TouchTextBox}"/>
  1908.     </StackPanel>
  1909. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1910. <Window x:Class="WpfApp1.MainWindow"
  1911.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1912.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1913.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1914.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1915.         mc:Ignorable="d"
  1916.         Title="MainWindow" Height="800" Width="1200">
  1917.     <StackPanel>
  1918.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1919.                  Style="{StaticResource TouchTextBox}"/>
  1920.     </StackPanel>
  1921. </Window>    x:Class="WpfApp1.TouchTextBox">
  1922.    
  1923. </ResourceDictionary><Button Content="2" Click="Button_Click"  Style="{StaticResource btnNum}" />
  1924. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1925. <Window x:Class="WpfApp1.MainWindow"
  1926.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1927.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1928.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1929.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1930.         mc:Ignorable="d"
  1931.         Title="MainWindow" Height="800" Width="1200">
  1932.     <StackPanel>
  1933.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1934.                  Style="{StaticResource TouchTextBox}"/>
  1935.     </StackPanel>
  1936. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1937. <Window x:Class="WpfApp1.MainWindow"
  1938.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1939.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1940.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1941.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1942.         mc:Ignorable="d"
  1943.         Title="MainWindow" Height="800" Width="1200">
  1944.     <StackPanel>
  1945.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1946.                  Style="{StaticResource TouchTextBox}"/>
  1947.     </StackPanel>
  1948. </Window>    x:Class="WpfApp1.TouchTextBox">
  1949.    
  1950. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1951. <Window x:Class="WpfApp1.MainWindow"
  1952.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1953.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1954.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1955.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1956.         mc:Ignorable="d"
  1957.         Title="MainWindow" Height="800" Width="1200">
  1958.     <StackPanel>
  1959.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1960.                  Style="{StaticResource TouchTextBox}"/>
  1961.     </StackPanel>
  1962. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1963. <Window x:Class="WpfApp1.MainWindow"
  1964.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1965.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1966.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1967.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1968.         mc:Ignorable="d"
  1969.         Title="MainWindow" Height="800" Width="1200">
  1970.     <StackPanel>
  1971.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1972.                  Style="{StaticResource TouchTextBox}"/>
  1973.     </StackPanel>
  1974. </Window>    x:Class="WpfApp1.TouchTextBox">
  1975.    
  1976. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1977. <Window x:Class="WpfApp1.MainWindow"
  1978.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1979.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1980.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1981.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1982.         mc:Ignorable="d"
  1983.         Title="MainWindow" Height="800" Width="1200">
  1984.     <StackPanel>
  1985.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1986.                  Style="{StaticResource TouchTextBox}"/>
  1987.     </StackPanel>
  1988. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1989. <Window x:Class="WpfApp1.MainWindow"
  1990.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1991.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1992.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1993.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1994.         mc:Ignorable="d"
  1995.         Title="MainWindow" Height="800" Width="1200">
  1996.     <StackPanel>
  1997.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1998.                  Style="{StaticResource TouchTextBox}"/>
  1999.     </StackPanel>
  2000. </Window>    x:Class="WpfApp1.TouchTextBox">
  2001.    
  2002. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2003. <Window x:Class="WpfApp1.MainWindow"
  2004.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2005.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2006.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2007.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2008.         mc:Ignorable="d"
  2009.         Title="MainWindow" Height="800" Width="1200">
  2010.     <StackPanel>
  2011.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2012.                  Style="{StaticResource TouchTextBox}"/>
  2013.     </StackPanel>
  2014. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2015. <Window x:Class="WpfApp1.MainWindow"
  2016.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2017.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2018.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2019.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2020.         mc:Ignorable="d"
  2021.         Title="MainWindow" Height="800" Width="1200">
  2022.     <StackPanel>
  2023.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2024.                  Style="{StaticResource TouchTextBox}"/>
  2025.     </StackPanel>
  2026. </Window>    x:Class="WpfApp1.TouchTextBox">
  2027.    
  2028. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2029. <Window x:Class="WpfApp1.MainWindow"
  2030.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2031.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2032.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2033.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2034.         mc:Ignorable="d"
  2035.         Title="MainWindow" Height="800" Width="1200">
  2036.     <StackPanel>
  2037.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2038.                  Style="{StaticResource TouchTextBox}"/>
  2039.     </StackPanel>
  2040. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2041. <Window x:Class="WpfApp1.MainWindow"
  2042.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2043.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2044.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2045.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2046.         mc:Ignorable="d"
  2047.         Title="MainWindow" Height="800" Width="1200">
  2048.     <StackPanel>
  2049.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2050.                  Style="{StaticResource TouchTextBox}"/>
  2051.     </StackPanel>
  2052. </Window>    x:Class="WpfApp1.TouchTextBox">
  2053.    
  2054. </ResourceDictionary><Button Content="3" Click="Button_Click"  Style="{StaticResource btnNum}" />
  2055. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2056. <Window x:Class="WpfApp1.MainWindow"
  2057.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2058.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2059.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2060.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2061.         mc:Ignorable="d"
  2062.         Title="MainWindow" Height="800" Width="1200">
  2063.     <StackPanel>
  2064.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2065.                  Style="{StaticResource TouchTextBox}"/>
  2066.     </StackPanel>
  2067. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2068. <Window x:Class="WpfApp1.MainWindow"
  2069.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2070.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2071.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2072.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2073.         mc:Ignorable="d"
  2074.         Title="MainWindow" Height="800" Width="1200">
  2075.     <StackPanel>
  2076.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2077.                  Style="{StaticResource TouchTextBox}"/>
  2078.     </StackPanel>
  2079. </Window>    x:Class="WpfApp1.TouchTextBox">
  2080.    
  2081. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2082. <Window x:Class="WpfApp1.MainWindow"
  2083.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2084.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2085.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2086.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2087.         mc:Ignorable="d"
  2088.         Title="MainWindow" Height="800" Width="1200">
  2089.     <StackPanel>
  2090.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2091.                  Style="{StaticResource TouchTextBox}"/>
  2092.     </StackPanel>
  2093. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2094. <Window x:Class="WpfApp1.MainWindow"
  2095.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2096.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2097.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2098.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2099.         mc:Ignorable="d"
  2100.         Title="MainWindow" Height="800" Width="1200">
  2101.     <StackPanel>
  2102.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2103.                  Style="{StaticResource TouchTextBox}"/>
  2104.     </StackPanel>
  2105. </Window>    x:Class="WpfApp1.TouchTextBox">
  2106.    
  2107. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2108. <Window x:Class="WpfApp1.MainWindow"
  2109.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2110.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2111.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2112.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2113.         mc:Ignorable="d"
  2114.         Title="MainWindow" Height="800" Width="1200">
  2115.     <StackPanel>
  2116.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2117.                  Style="{StaticResource TouchTextBox}"/>
  2118.     </StackPanel>
  2119. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2120. <Window x:Class="WpfApp1.MainWindow"
  2121.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2122.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2123.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2124.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2125.         mc:Ignorable="d"
  2126.         Title="MainWindow" Height="800" Width="1200">
  2127.     <StackPanel>
  2128.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2129.                  Style="{StaticResource TouchTextBox}"/>
  2130.     </StackPanel>
  2131. </Window>    x:Class="WpfApp1.TouchTextBox">
  2132.    
  2133. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2134. <Window x:Class="WpfApp1.MainWindow"
  2135.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2136.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2137.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2138.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2139.         mc:Ignorable="d"
  2140.         Title="MainWindow" Height="800" Width="1200">
  2141.     <StackPanel>
  2142.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2143.                  Style="{StaticResource TouchTextBox}"/>
  2144.     </StackPanel>
  2145. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2146. <Window x:Class="WpfApp1.MainWindow"
  2147.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2148.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2149.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2150.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2151.         mc:Ignorable="d"
  2152.         Title="MainWindow" Height="800" Width="1200">
  2153.     <StackPanel>
  2154.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2155.                  Style="{StaticResource TouchTextBox}"/>
  2156.     </StackPanel>
  2157. </Window>    x:Class="WpfApp1.TouchTextBox">
  2158.    
  2159. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2160. <Window x:Class="WpfApp1.MainWindow"
  2161.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2162.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2163.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2164.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2165.         mc:Ignorable="d"
  2166.         Title="MainWindow" Height="800" Width="1200">
  2167.     <StackPanel>
  2168.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2169.                  Style="{StaticResource TouchTextBox}"/>
  2170.     </StackPanel>
  2171. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2172. <Window x:Class="WpfApp1.MainWindow"
  2173.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2174.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2175.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2176.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2177.         mc:Ignorable="d"
  2178.         Title="MainWindow" Height="800" Width="1200">
  2179.     <StackPanel>
  2180.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2181.                  Style="{StaticResource TouchTextBox}"/>
  2182.     </StackPanel>
  2183. </Window>    x:Class="WpfApp1.TouchTextBox">
  2184.    
  2185. </ResourceDictionary><Button Content="4" Click="Button_Click"  Style="{StaticResource btnNum}" />
  2186. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2187. <Window x:Class="WpfApp1.MainWindow"
  2188.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2189.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2190.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2191.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2192.         mc:Ignorable="d"
  2193.         Title="MainWindow" Height="800" Width="1200">
  2194.     <StackPanel>
  2195.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2196.                  Style="{StaticResource TouchTextBox}"/>
  2197.     </StackPanel>
  2198. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2199. <Window x:Class="WpfApp1.MainWindow"
  2200.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2201.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2202.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2203.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2204.         mc:Ignorable="d"
  2205.         Title="MainWindow" Height="800" Width="1200">
  2206.     <StackPanel>
  2207.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2208.                  Style="{StaticResource TouchTextBox}"/>
  2209.     </StackPanel>
  2210. </Window>    x:Class="WpfApp1.TouchTextBox">
  2211.    
  2212. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2213. <Window x:Class="WpfApp1.MainWindow"
  2214.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2215.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2216.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2217.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2218.         mc:Ignorable="d"
  2219.         Title="MainWindow" Height="800" Width="1200">
  2220.     <StackPanel>
  2221.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2222.                  Style="{StaticResource TouchTextBox}"/>
  2223.     </StackPanel>
  2224. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2225. <Window x:Class="WpfApp1.MainWindow"
  2226.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2227.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2228.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2229.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2230.         mc:Ignorable="d"
  2231.         Title="MainWindow" Height="800" Width="1200">
  2232.     <StackPanel>
  2233.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2234.                  Style="{StaticResource TouchTextBox}"/>
  2235.     </StackPanel>
  2236. </Window>    x:Class="WpfApp1.TouchTextBox">
  2237.    
  2238. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2239. <Window x:Class="WpfApp1.MainWindow"
  2240.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2241.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2242.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2243.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2244.         mc:Ignorable="d"
  2245.         Title="MainWindow" Height="800" Width="1200">
  2246.     <StackPanel>
  2247.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2248.                  Style="{StaticResource TouchTextBox}"/>
  2249.     </StackPanel>
  2250. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2251. <Window x:Class="WpfApp1.MainWindow"
  2252.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2253.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2254.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2255.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2256.         mc:Ignorable="d"
  2257.         Title="MainWindow" Height="800" Width="1200">
  2258.     <StackPanel>
  2259.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2260.                  Style="{StaticResource TouchTextBox}"/>
  2261.     </StackPanel>
  2262. </Window>    x:Class="WpfApp1.TouchTextBox">
  2263.    
  2264. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2265. <Window x:Class="WpfApp1.MainWindow"
  2266.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2267.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2268.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2269.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2270.         mc:Ignorable="d"
  2271.         Title="MainWindow" Height="800" Width="1200">
  2272.     <StackPanel>
  2273.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2274.                  Style="{StaticResource TouchTextBox}"/>
  2275.     </StackPanel>
  2276. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2277. <Window x:Class="WpfApp1.MainWindow"
  2278.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2279.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2280.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2281.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2282.         mc:Ignorable="d"
  2283.         Title="MainWindow" Height="800" Width="1200">
  2284.     <StackPanel>
  2285.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2286.                  Style="{StaticResource TouchTextBox}"/>
  2287.     </StackPanel>
  2288. </Window>    x:Class="WpfApp1.TouchTextBox">
  2289.    
  2290. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2291. <Window x:Class="WpfApp1.MainWindow"
  2292.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2293.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2294.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2295.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2296.         mc:Ignorable="d"
  2297.         Title="MainWindow" Height="800" Width="1200">
  2298.     <StackPanel>
  2299.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2300.                  Style="{StaticResource TouchTextBox}"/>
  2301.     </StackPanel>
  2302. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2303. <Window x:Class="WpfApp1.MainWindow"
  2304.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2305.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2306.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2307.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2308.         mc:Ignorable="d"
  2309.         Title="MainWindow" Height="800" Width="1200">
  2310.     <StackPanel>
  2311.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2312.                  Style="{StaticResource TouchTextBox}"/>
  2313.     </StackPanel>
  2314. </Window>    x:Class="WpfApp1.TouchTextBox">
  2315.    
  2316. </ResourceDictionary><Button Content="5" Click="Button_Click"  Style="{StaticResource btnNum}" />
  2317. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2318. <Window x:Class="WpfApp1.MainWindow"
  2319.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2320.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2321.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2322.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2323.         mc:Ignorable="d"
  2324.         Title="MainWindow" Height="800" Width="1200">
  2325.     <StackPanel>
  2326.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2327.                  Style="{StaticResource TouchTextBox}"/>
  2328.     </StackPanel>
  2329. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2330. <Window x:Class="WpfApp1.MainWindow"
  2331.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2332.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2333.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2334.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2335.         mc:Ignorable="d"
  2336.         Title="MainWindow" Height="800" Width="1200">
  2337.     <StackPanel>
  2338.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2339.                  Style="{StaticResource TouchTextBox}"/>
  2340.     </StackPanel>
  2341. </Window>    x:Class="WpfApp1.TouchTextBox">
  2342.    
  2343. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2344. <Window x:Class="WpfApp1.MainWindow"
  2345.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2346.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2347.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2348.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2349.         mc:Ignorable="d"
  2350.         Title="MainWindow" Height="800" Width="1200">
  2351.     <StackPanel>
  2352.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2353.                  Style="{StaticResource TouchTextBox}"/>
  2354.     </StackPanel>
  2355. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2356. <Window x:Class="WpfApp1.MainWindow"
  2357.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2358.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2359.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2360.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2361.         mc:Ignorable="d"
  2362.         Title="MainWindow" Height="800" Width="1200">
  2363.     <StackPanel>
  2364.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2365.                  Style="{StaticResource TouchTextBox}"/>
  2366.     </StackPanel>
  2367. </Window>    x:Class="WpfApp1.TouchTextBox">
  2368.    
  2369. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2370. <Window x:Class="WpfApp1.MainWindow"
  2371.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2372.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2373.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2374.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2375.         mc:Ignorable="d"
  2376.         Title="MainWindow" Height="800" Width="1200">
  2377.     <StackPanel>
  2378.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2379.                  Style="{StaticResource TouchTextBox}"/>
  2380.     </StackPanel>
  2381. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2382. <Window x:Class="WpfApp1.MainWindow"
  2383.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2384.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2385.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2386.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2387.         mc:Ignorable="d"
  2388.         Title="MainWindow" Height="800" Width="1200">
  2389.     <StackPanel>
  2390.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2391.                  Style="{StaticResource TouchTextBox}"/>
  2392.     </StackPanel>
  2393. </Window>    x:Class="WpfApp1.TouchTextBox">
  2394.    
  2395. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2396. <Window x:Class="WpfApp1.MainWindow"
  2397.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2398.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2399.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2400.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2401.         mc:Ignorable="d"
  2402.         Title="MainWindow" Height="800" Width="1200">
  2403.     <StackPanel>
  2404.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2405.                  Style="{StaticResource TouchTextBox}"/>
  2406.     </StackPanel>
  2407. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2408. <Window x:Class="WpfApp1.MainWindow"
  2409.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2410.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2411.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2412.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2413.         mc:Ignorable="d"
  2414.         Title="MainWindow" Height="800" Width="1200">
  2415.     <StackPanel>
  2416.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2417.                  Style="{StaticResource TouchTextBox}"/>
  2418.     </StackPanel>
  2419. </Window>    x:Class="WpfApp1.TouchTextBox">
  2420.    
  2421. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2422. <Window x:Class="WpfApp1.MainWindow"
  2423.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2424.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2425.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2426.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2427.         mc:Ignorable="d"
  2428.         Title="MainWindow" Height="800" Width="1200">
  2429.     <StackPanel>
  2430.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2431.                  Style="{StaticResource TouchTextBox}"/>
  2432.     </StackPanel>
  2433. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2434. <Window x:Class="WpfApp1.MainWindow"
  2435.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2436.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2437.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2438.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2439.         mc:Ignorable="d"
  2440.         Title="MainWindow" Height="800" Width="1200">
  2441.     <StackPanel>
  2442.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2443.                  Style="{StaticResource TouchTextBox}"/>
  2444.     </StackPanel>
  2445. </Window>    x:Class="WpfApp1.TouchTextBox">
  2446.    
  2447. </ResourceDictionary><Button Content="6" Click="Button_Click"  Style="{StaticResource btnNum}" />
  2448. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2449. <Window x:Class="WpfApp1.MainWindow"
  2450.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2451.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2452.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2453.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2454.         mc:Ignorable="d"
  2455.         Title="MainWindow" Height="800" Width="1200">
  2456.     <StackPanel>
  2457.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2458.                  Style="{StaticResource TouchTextBox}"/>
  2459.     </StackPanel>
  2460. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2461. <Window x:Class="WpfApp1.MainWindow"
  2462.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2463.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2464.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2465.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2466.         mc:Ignorable="d"
  2467.         Title="MainWindow" Height="800" Width="1200">
  2468.     <StackPanel>
  2469.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2470.                  Style="{StaticResource TouchTextBox}"/>
  2471.     </StackPanel>
  2472. </Window>    x:Class="WpfApp1.TouchTextBox">
  2473.    
  2474. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2475. <Window x:Class="WpfApp1.MainWindow"
  2476.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2477.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2478.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2479.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2480.         mc:Ignorable="d"
  2481.         Title="MainWindow" Height="800" Width="1200">
  2482.     <StackPanel>
  2483.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2484.                  Style="{StaticResource TouchTextBox}"/>
  2485.     </StackPanel>
  2486. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2487. <Window x:Class="WpfApp1.MainWindow"
  2488.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2489.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2490.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2491.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2492.         mc:Ignorable="d"
  2493.         Title="MainWindow" Height="800" Width="1200">
  2494.     <StackPanel>
  2495.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2496.                  Style="{StaticResource TouchTextBox}"/>
  2497.     </StackPanel>
  2498. </Window>    x:Class="WpfApp1.TouchTextBox">
  2499.    
  2500. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2501. <Window x:Class="WpfApp1.MainWindow"
  2502.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2503.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2504.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2505.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2506.         mc:Ignorable="d"
  2507.         Title="MainWindow" Height="800" Width="1200">
  2508.     <StackPanel>
  2509.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2510.                  Style="{StaticResource TouchTextBox}"/>
  2511.     </StackPanel>
  2512. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2513. <Window x:Class="WpfApp1.MainWindow"
  2514.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2515.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2516.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2517.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2518.         mc:Ignorable="d"
  2519.         Title="MainWindow" Height="800" Width="1200">
  2520.     <StackPanel>
  2521.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2522.                  Style="{StaticResource TouchTextBox}"/>
  2523.     </StackPanel>
  2524. </Window>    x:Class="WpfApp1.TouchTextBox">
  2525.    
  2526. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2527. <Window x:Class="WpfApp1.MainWindow"
  2528.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2529.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2530.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2531.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2532.         mc:Ignorable="d"
  2533.         Title="MainWindow" Height="800" Width="1200">
  2534.     <StackPanel>
  2535.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2536.                  Style="{StaticResource TouchTextBox}"/>
  2537.     </StackPanel>
  2538. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2539. <Window x:Class="WpfApp1.MainWindow"
  2540.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2541.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2542.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2543.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2544.         mc:Ignorable="d"
  2545.         Title="MainWindow" Height="800" Width="1200">
  2546.     <StackPanel>
  2547.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2548.                  Style="{StaticResource TouchTextBox}"/>
  2549.     </StackPanel>
  2550. </Window>    x:Class="WpfApp1.TouchTextBox">
  2551.    
  2552. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2553. <Window x:Class="WpfApp1.MainWindow"
  2554.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2555.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2556.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2557.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2558.         mc:Ignorable="d"
  2559.         Title="MainWindow" Height="800" Width="1200">
  2560.     <StackPanel>
  2561.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2562.                  Style="{StaticResource TouchTextBox}"/>
  2563.     </StackPanel>
  2564. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2565. <Window x:Class="WpfApp1.MainWindow"
  2566.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2567.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2568.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2569.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2570.         mc:Ignorable="d"
  2571.         Title="MainWindow" Height="800" Width="1200">
  2572.     <StackPanel>
  2573.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2574.                  Style="{StaticResource TouchTextBox}"/>
  2575.     </StackPanel>
  2576. </Window>    x:Class="WpfApp1.TouchTextBox">
  2577.    
  2578. </ResourceDictionary><Button Content="7" Click="Button_Click"  Style="{StaticResource btnNum}" />
  2579. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2580. <Window x:Class="WpfApp1.MainWindow"
  2581.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2582.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2583.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2584.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2585.         mc:Ignorable="d"
  2586.         Title="MainWindow" Height="800" Width="1200">
  2587.     <StackPanel>
  2588.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2589.                  Style="{StaticResource TouchTextBox}"/>
  2590.     </StackPanel>
  2591. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2592. <Window x:Class="WpfApp1.MainWindow"
  2593.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2594.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2595.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2596.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2597.         mc:Ignorable="d"
  2598.         Title="MainWindow" Height="800" Width="1200">
  2599.     <StackPanel>
  2600.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2601.                  Style="{StaticResource TouchTextBox}"/>
  2602.     </StackPanel>
  2603. </Window>    x:Class="WpfApp1.TouchTextBox">
  2604.    
  2605. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2606. <Window x:Class="WpfApp1.MainWindow"
  2607.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2608.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2609.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2610.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2611.         mc:Ignorable="d"
  2612.         Title="MainWindow" Height="800" Width="1200">
  2613.     <StackPanel>
  2614.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2615.                  Style="{StaticResource TouchTextBox}"/>
  2616.     </StackPanel>
  2617. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2618. <Window x:Class="WpfApp1.MainWindow"
  2619.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2620.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2621.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2622.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2623.         mc:Ignorable="d"
  2624.         Title="MainWindow" Height="800" Width="1200">
  2625.     <StackPanel>
  2626.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2627.                  Style="{StaticResource TouchTextBox}"/>
  2628.     </StackPanel>
  2629. </Window>    x:Class="WpfApp1.TouchTextBox">
  2630.    
  2631. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2632. <Window x:Class="WpfApp1.MainWindow"
  2633.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2634.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2635.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2636.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2637.         mc:Ignorable="d"
  2638.         Title="MainWindow" Height="800" Width="1200">
  2639.     <StackPanel>
  2640.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2641.                  Style="{StaticResource TouchTextBox}"/>
  2642.     </StackPanel>
  2643. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2644. <Window x:Class="WpfApp1.MainWindow"
  2645.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2646.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2647.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2648.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2649.         mc:Ignorable="d"
  2650.         Title="MainWindow" Height="800" Width="1200">
  2651.     <StackPanel>
  2652.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2653.                  Style="{StaticResource TouchTextBox}"/>
  2654.     </StackPanel>
  2655. </Window>    x:Class="WpfApp1.TouchTextBox">
  2656.    
  2657. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2658. <Window x:Class="WpfApp1.MainWindow"
  2659.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2660.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2661.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2662.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2663.         mc:Ignorable="d"
  2664.         Title="MainWindow" Height="800" Width="1200">
  2665.     <StackPanel>
  2666.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2667.                  Style="{StaticResource TouchTextBox}"/>
  2668.     </StackPanel>
  2669. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2670. <Window x:Class="WpfApp1.MainWindow"
  2671.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2672.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2673.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2674.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2675.         mc:Ignorable="d"
  2676.         Title="MainWindow" Height="800" Width="1200">
  2677.     <StackPanel>
  2678.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2679.                  Style="{StaticResource TouchTextBox}"/>
  2680.     </StackPanel>
  2681. </Window>    x:Class="WpfApp1.TouchTextBox">
  2682.    
  2683. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2684. <Window x:Class="WpfApp1.MainWindow"
  2685.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2686.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2687.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2688.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2689.         mc:Ignorable="d"
  2690.         Title="MainWindow" Height="800" Width="1200">
  2691.     <StackPanel>
  2692.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2693.                  Style="{StaticResource TouchTextBox}"/>
  2694.     </StackPanel>
  2695. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2696. <Window x:Class="WpfApp1.MainWindow"
  2697.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2698.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2699.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2700.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2701.         mc:Ignorable="d"
  2702.         Title="MainWindow" Height="800" Width="1200">
  2703.     <StackPanel>
  2704.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2705.                  Style="{StaticResource TouchTextBox}"/>
  2706.     </StackPanel>
  2707. </Window>    x:Class="WpfApp1.TouchTextBox">
  2708.    
  2709. </ResourceDictionary><Button Content="8" Click="Button_Click"  Style="{StaticResource btnNum}" />
  2710. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2711. <Window x:Class="WpfApp1.MainWindow"
  2712.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2713.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2714.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2715.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2716.         mc:Ignorable="d"
  2717.         Title="MainWindow" Height="800" Width="1200">
  2718.     <StackPanel>
  2719.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2720.                  Style="{StaticResource TouchTextBox}"/>
  2721.     </StackPanel>
  2722. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2723. <Window x:Class="WpfApp1.MainWindow"
  2724.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2725.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2726.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2727.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2728.         mc:Ignorable="d"
  2729.         Title="MainWindow" Height="800" Width="1200">
  2730.     <StackPanel>
  2731.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2732.                  Style="{StaticResource TouchTextBox}"/>
  2733.     </StackPanel>
  2734. </Window>    x:Class="WpfApp1.TouchTextBox">
  2735.    
  2736. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2737. <Window x:Class="WpfApp1.MainWindow"
  2738.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2739.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2740.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2741.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2742.         mc:Ignorable="d"
  2743.         Title="MainWindow" Height="800" Width="1200">
  2744.     <StackPanel>
  2745.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2746.                  Style="{StaticResource TouchTextBox}"/>
  2747.     </StackPanel>
  2748. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2749. <Window x:Class="WpfApp1.MainWindow"
  2750.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2751.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2752.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2753.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2754.         mc:Ignorable="d"
  2755.         Title="MainWindow" Height="800" Width="1200">
  2756.     <StackPanel>
  2757.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2758.                  Style="{StaticResource TouchTextBox}"/>
  2759.     </StackPanel>
  2760. </Window>    x:Class="WpfApp1.TouchTextBox">
  2761.    
  2762. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2763. <Window x:Class="WpfApp1.MainWindow"
  2764.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2765.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2766.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2767.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2768.         mc:Ignorable="d"
  2769.         Title="MainWindow" Height="800" Width="1200">
  2770.     <StackPanel>
  2771.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2772.                  Style="{StaticResource TouchTextBox}"/>
  2773.     </StackPanel>
  2774. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2775. <Window x:Class="WpfApp1.MainWindow"
  2776.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2777.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2778.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2779.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2780.         mc:Ignorable="d"
  2781.         Title="MainWindow" Height="800" Width="1200">
  2782.     <StackPanel>
  2783.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2784.                  Style="{StaticResource TouchTextBox}"/>
  2785.     </StackPanel>
  2786. </Window>    x:Class="WpfApp1.TouchTextBox">
  2787.    
  2788. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2789. <Window x:Class="WpfApp1.MainWindow"
  2790.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2791.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2792.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2793.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2794.         mc:Ignorable="d"
  2795.         Title="MainWindow" Height="800" Width="1200">
  2796.     <StackPanel>
  2797.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2798.                  Style="{StaticResource TouchTextBox}"/>
  2799.     </StackPanel>
  2800. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2801. <Window x:Class="WpfApp1.MainWindow"
  2802.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2803.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2804.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2805.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2806.         mc:Ignorable="d"
  2807.         Title="MainWindow" Height="800" Width="1200">
  2808.     <StackPanel>
  2809.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2810.                  Style="{StaticResource TouchTextBox}"/>
  2811.     </StackPanel>
  2812. </Window>    x:Class="WpfApp1.TouchTextBox">
  2813.    
  2814. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2815. <Window x:Class="WpfApp1.MainWindow"
  2816.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2817.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2818.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2819.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2820.         mc:Ignorable="d"
  2821.         Title="MainWindow" Height="800" Width="1200">
  2822.     <StackPanel>
  2823.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2824.                  Style="{StaticResource TouchTextBox}"/>
  2825.     </StackPanel>
  2826. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2827. <Window x:Class="WpfApp1.MainWindow"
  2828.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2829.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2830.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2831.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2832.         mc:Ignorable="d"
  2833.         Title="MainWindow" Height="800" Width="1200">
  2834.     <StackPanel>
  2835.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2836.                  Style="{StaticResource TouchTextBox}"/>
  2837.     </StackPanel>
  2838. </Window>    x:Class="WpfApp1.TouchTextBox">
  2839.    
  2840. </ResourceDictionary><Button Content="9" Click="Button_Click"  Style="{StaticResource btnNum}" />
  2841. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2842. <Window x:Class="WpfApp1.MainWindow"
  2843.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2844.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2845.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2846.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2847.         mc:Ignorable="d"
  2848.         Title="MainWindow" Height="800" Width="1200">
  2849.     <StackPanel>
  2850.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2851.                  Style="{StaticResource TouchTextBox}"/>
  2852.     </StackPanel>
  2853. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2854. <Window x:Class="WpfApp1.MainWindow"
  2855.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2856.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2857.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2858.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2859.         mc:Ignorable="d"
  2860.         Title="MainWindow" Height="800" Width="1200">
  2861.     <StackPanel>
  2862.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2863.                  Style="{StaticResource TouchTextBox}"/>
  2864.     </StackPanel>
  2865. </Window>    x:Class="WpfApp1.TouchTextBox">
  2866.    
  2867. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2868. <Window x:Class="WpfApp1.MainWindow"
  2869.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2870.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2871.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2872.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2873.         mc:Ignorable="d"
  2874.         Title="MainWindow" Height="800" Width="1200">
  2875.     <StackPanel>
  2876.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2877.                  Style="{StaticResource TouchTextBox}"/>
  2878.     </StackPanel>
  2879. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2880. <Window x:Class="WpfApp1.MainWindow"
  2881.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2882.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2883.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2884.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2885.         mc:Ignorable="d"
  2886.         Title="MainWindow" Height="800" Width="1200">
  2887.     <StackPanel>
  2888.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2889.                  Style="{StaticResource TouchTextBox}"/>
  2890.     </StackPanel>
  2891. </Window>    x:Class="WpfApp1.TouchTextBox">
  2892.    
  2893. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2894. <Window x:Class="WpfApp1.MainWindow"
  2895.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2896.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2897.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2898.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2899.         mc:Ignorable="d"
  2900.         Title="MainWindow" Height="800" Width="1200">
  2901.     <StackPanel>
  2902.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2903.                  Style="{StaticResource TouchTextBox}"/>
  2904.     </StackPanel>
  2905. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2906. <Window x:Class="WpfApp1.MainWindow"
  2907.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2908.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2909.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2910.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2911.         mc:Ignorable="d"
  2912.         Title="MainWindow" Height="800" Width="1200">
  2913.     <StackPanel>
  2914.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2915.                  Style="{StaticResource TouchTextBox}"/>
  2916.     </StackPanel>
  2917. </Window>    x:Class="WpfApp1.TouchTextBox">
  2918.    
  2919. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2920. <Window x:Class="WpfApp1.MainWindow"
  2921.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2922.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2923.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2924.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2925.         mc:Ignorable="d"
  2926.         Title="MainWindow" Height="800" Width="1200">
  2927.     <StackPanel>
  2928.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2929.                  Style="{StaticResource TouchTextBox}"/>
  2930.     </StackPanel>
  2931. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2932. <Window x:Class="WpfApp1.MainWindow"
  2933.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2934.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2935.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2936.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2937.         mc:Ignorable="d"
  2938.         Title="MainWindow" Height="800" Width="1200">
  2939.     <StackPanel>
  2940.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2941.                  Style="{StaticResource TouchTextBox}"/>
  2942.     </StackPanel>
  2943. </Window>    x:Class="WpfApp1.TouchTextBox">
  2944.    
  2945. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2946. <Window x:Class="WpfApp1.MainWindow"
  2947.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2948.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2949.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2950.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2951.         mc:Ignorable="d"
  2952.         Title="MainWindow" Height="800" Width="1200">
  2953.     <StackPanel>
  2954.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2955.                  Style="{StaticResource TouchTextBox}"/>
  2956.     </StackPanel>
  2957. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2958. <Window x:Class="WpfApp1.MainWindow"
  2959.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2960.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2961.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2962.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2963.         mc:Ignorable="d"
  2964.         Title="MainWindow" Height="800" Width="1200">
  2965.     <StackPanel>
  2966.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2967.                  Style="{StaticResource TouchTextBox}"/>
  2968.     </StackPanel>
  2969. </Window>    x:Class="WpfApp1.TouchTextBox">
  2970.    
  2971. </ResourceDictionary><Button Content="0" Click="Button_Click"  Style="{StaticResource btnNum}" />
  2972. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2973. <Window x:Class="WpfApp1.MainWindow"
  2974.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2975.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2976.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2977.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2978.         mc:Ignorable="d"
  2979.         Title="MainWindow" Height="800" Width="1200">
  2980.     <StackPanel>
  2981.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2982.                  Style="{StaticResource TouchTextBox}"/>
  2983.     </StackPanel>
  2984. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2985. <Window x:Class="WpfApp1.MainWindow"
  2986.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2987.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2988.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2989.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2990.         mc:Ignorable="d"
  2991.         Title="MainWindow" Height="800" Width="1200">
  2992.     <StackPanel>
  2993.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2994.                  Style="{StaticResource TouchTextBox}"/>
  2995.     </StackPanel>
  2996. </Window>    x:Class="WpfApp1.TouchTextBox">
  2997.    
  2998. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2999. <Window x:Class="WpfApp1.MainWindow"
  3000.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3001.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3002.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3003.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3004.         mc:Ignorable="d"
  3005.         Title="MainWindow" Height="800" Width="1200">
  3006.     <StackPanel>
  3007.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3008.                  Style="{StaticResource TouchTextBox}"/>
  3009.     </StackPanel>
  3010. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3011. <Window x:Class="WpfApp1.MainWindow"
  3012.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3013.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3014.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3015.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3016.         mc:Ignorable="d"
  3017.         Title="MainWindow" Height="800" Width="1200">
  3018.     <StackPanel>
  3019.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3020.                  Style="{StaticResource TouchTextBox}"/>
  3021.     </StackPanel>
  3022. </Window>    x:Class="WpfApp1.TouchTextBox">
  3023.    
  3024. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3025. <Window x:Class="WpfApp1.MainWindow"
  3026.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3027.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3028.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3029.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3030.         mc:Ignorable="d"
  3031.         Title="MainWindow" Height="800" Width="1200">
  3032.     <StackPanel>
  3033.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3034.                  Style="{StaticResource TouchTextBox}"/>
  3035.     </StackPanel>
  3036. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3037. <Window x:Class="WpfApp1.MainWindow"
  3038.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3039.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3040.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3041.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3042.         mc:Ignorable="d"
  3043.         Title="MainWindow" Height="800" Width="1200">
  3044.     <StackPanel>
  3045.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3046.                  Style="{StaticResource TouchTextBox}"/>
  3047.     </StackPanel>
  3048. </Window>    x:Class="WpfApp1.TouchTextBox">
  3049.    
  3050. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3051. <Window x:Class="WpfApp1.MainWindow"
  3052.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3053.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3054.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3055.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3056.         mc:Ignorable="d"
  3057.         Title="MainWindow" Height="800" Width="1200">
  3058.     <StackPanel>
  3059.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3060.                  Style="{StaticResource TouchTextBox}"/>
  3061.     </StackPanel>
  3062. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3063. <Window x:Class="WpfApp1.MainWindow"
  3064.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3065.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3066.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3067.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3068.         mc:Ignorable="d"
  3069.         Title="MainWindow" Height="800" Width="1200">
  3070.     <StackPanel>
  3071.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3072.                  Style="{StaticResource TouchTextBox}"/>
  3073.     </StackPanel>
  3074. </Window>    x:Class="WpfApp1.TouchTextBox">
  3075.    
  3076. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3077. <Window x:Class="WpfApp1.MainWindow"
  3078.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3079.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3080.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3081.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3082.         mc:Ignorable="d"
  3083.         Title="MainWindow" Height="800" Width="1200">
  3084.     <StackPanel>
  3085.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3086.                  Style="{StaticResource TouchTextBox}"/>
  3087.     </StackPanel>
  3088. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3089. <Window x:Class="WpfApp1.MainWindow"
  3090.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3091.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3092.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3093.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3094.         mc:Ignorable="d"
  3095.         Title="MainWindow" Height="800" Width="1200">
  3096.     <StackPanel>
  3097.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3098.                  Style="{StaticResource TouchTextBox}"/>
  3099.     </StackPanel>
  3100. </Window>    x:Class="WpfApp1.TouchTextBox">
  3101.    
  3102. </ResourceDictionary><Button Content="-" Click="Button_Click"  Style="{StaticResource btnNum}" />
  3103. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3104. <Window x:Class="WpfApp1.MainWindow"
  3105.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3106.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3107.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3108.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3109.         mc:Ignorable="d"
  3110.         Title="MainWindow" Height="800" Width="1200">
  3111.     <StackPanel>
  3112.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3113.                  Style="{StaticResource TouchTextBox}"/>
  3114.     </StackPanel>
  3115. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3116. <Window x:Class="WpfApp1.MainWindow"
  3117.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3118.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3119.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3120.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3121.         mc:Ignorable="d"
  3122.         Title="MainWindow" Height="800" Width="1200">
  3123.     <StackPanel>
  3124.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3125.                  Style="{StaticResource TouchTextBox}"/>
  3126.     </StackPanel>
  3127. </Window>    x:Class="WpfApp1.TouchTextBox">
  3128.    
  3129. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3130. <Window x:Class="WpfApp1.MainWindow"
  3131.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3132.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3133.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3134.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3135.         mc:Ignorable="d"
  3136.         Title="MainWindow" Height="800" Width="1200">
  3137.     <StackPanel>
  3138.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3139.                  Style="{StaticResource TouchTextBox}"/>
  3140.     </StackPanel>
  3141. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3142. <Window x:Class="WpfApp1.MainWindow"
  3143.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3144.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3145.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3146.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3147.         mc:Ignorable="d"
  3148.         Title="MainWindow" Height="800" Width="1200">
  3149.     <StackPanel>
  3150.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3151.                  Style="{StaticResource TouchTextBox}"/>
  3152.     </StackPanel>
  3153. </Window>    x:Class="WpfApp1.TouchTextBox">
  3154.    
  3155. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3156. <Window x:Class="WpfApp1.MainWindow"
  3157.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3158.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3159.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3160.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3161.         mc:Ignorable="d"
  3162.         Title="MainWindow" Height="800" Width="1200">
  3163.     <StackPanel>
  3164.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3165.                  Style="{StaticResource TouchTextBox}"/>
  3166.     </StackPanel>
  3167. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3168. <Window x:Class="WpfApp1.MainWindow"
  3169.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3170.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3171.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3172.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3173.         mc:Ignorable="d"
  3174.         Title="MainWindow" Height="800" Width="1200">
  3175.     <StackPanel>
  3176.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3177.                  Style="{StaticResource TouchTextBox}"/>
  3178.     </StackPanel>
  3179. </Window>    x:Class="WpfApp1.TouchTextBox">
  3180.    
  3181. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3182. <Window x:Class="WpfApp1.MainWindow"
  3183.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3184.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3185.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3186.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3187.         mc:Ignorable="d"
  3188.         Title="MainWindow" Height="800" Width="1200">
  3189.     <StackPanel>
  3190.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3191.                  Style="{StaticResource TouchTextBox}"/>
  3192.     </StackPanel>
  3193. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3194. <Window x:Class="WpfApp1.MainWindow"
  3195.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3196.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3197.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3198.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3199.         mc:Ignorable="d"
  3200.         Title="MainWindow" Height="800" Width="1200">
  3201.     <StackPanel>
  3202.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3203.                  Style="{StaticResource TouchTextBox}"/>
  3204.     </StackPanel>
  3205. </Window>    x:Class="WpfApp1.TouchTextBox">
  3206.    
  3207. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3208. <Window x:Class="WpfApp1.MainWindow"
  3209.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3210.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3211.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3212.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3213.         mc:Ignorable="d"
  3214.         Title="MainWindow" Height="800" Width="1200">
  3215.     <StackPanel>
  3216.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3217.                  Style="{StaticResource TouchTextBox}"/>
  3218.     </StackPanel>
  3219. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3220. <Window x:Class="WpfApp1.MainWindow"
  3221.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3222.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3223.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3224.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3225.         mc:Ignorable="d"
  3226.         Title="MainWindow" Height="800" Width="1200">
  3227.     <StackPanel>
  3228.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3229.                  Style="{StaticResource TouchTextBox}"/>
  3230.     </StackPanel>
  3231. </Window>    x:Class="WpfApp1.TouchTextBox">
  3232.    
  3233. </ResourceDictionary><Button Content="Del" Click="DELButton_Click"   Style="{StaticResource btnFunc}"  Margin="0 0 0 5"/>
  3234. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3235. <Window x:Class="WpfApp1.MainWindow"
  3236.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3237.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3238.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3239.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3240.         mc:Ignorable="d"
  3241.         Title="MainWindow" Height="800" Width="1200">
  3242.     <StackPanel>
  3243.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3244.                  Style="{StaticResource TouchTextBox}"/>
  3245.     </StackPanel>
  3246. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3247. <Window x:Class="WpfApp1.MainWindow"
  3248.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3249.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3250.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3251.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3252.         mc:Ignorable="d"
  3253.         Title="MainWindow" Height="800" Width="1200">
  3254.     <StackPanel>
  3255.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3256.                  Style="{StaticResource TouchTextBox}"/>
  3257.     </StackPanel>
  3258. </Window>    x:Class="WpfApp1.TouchTextBox">
  3259.    
  3260. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3261. <Window x:Class="WpfApp1.MainWindow"
  3262.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3263.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3264.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3265.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3266.         mc:Ignorable="d"
  3267.         Title="MainWindow" Height="800" Width="1200">
  3268.     <StackPanel>
  3269.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3270.                  Style="{StaticResource TouchTextBox}"/>
  3271.     </StackPanel>
  3272. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3273. <Window x:Class="WpfApp1.MainWindow"
  3274.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3275.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3276.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3277.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3278.         mc:Ignorable="d"
  3279.         Title="MainWindow" Height="800" Width="1200">
  3280.     <StackPanel>
  3281.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3282.                  Style="{StaticResource TouchTextBox}"/>
  3283.     </StackPanel>
  3284. </Window>    x:Class="WpfApp1.TouchTextBox">
  3285.    
  3286. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3287. <Window x:Class="WpfApp1.MainWindow"
  3288.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3289.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3290.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3291.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3292.         mc:Ignorable="d"
  3293.         Title="MainWindow" Height="800" Width="1200">
  3294.     <StackPanel>
  3295.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3296.                  Style="{StaticResource TouchTextBox}"/>
  3297.     </StackPanel>
  3298. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3299. <Window x:Class="WpfApp1.MainWindow"
  3300.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3301.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3302.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3303.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3304.         mc:Ignorable="d"
  3305.         Title="MainWindow" Height="800" Width="1200">
  3306.     <StackPanel>
  3307.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3308.                  Style="{StaticResource TouchTextBox}"/>
  3309.     </StackPanel>
  3310. </Window>    x:Class="WpfApp1.TouchTextBox">
  3311.    
  3312. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3313. <Window x:Class="WpfApp1.MainWindow"
  3314.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3315.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3316.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3317.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3318.         mc:Ignorable="d"
  3319.         Title="MainWindow" Height="800" Width="1200">
  3320.     <StackPanel>
  3321.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3322.                  Style="{StaticResource TouchTextBox}"/>
  3323.     </StackPanel>
  3324. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3325. <Window x:Class="WpfApp1.MainWindow"
  3326.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3327.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3328.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3329.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3330.         mc:Ignorable="d"
  3331.         Title="MainWindow" Height="800" Width="1200">
  3332.     <StackPanel>
  3333.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3334.                  Style="{StaticResource TouchTextBox}"/>
  3335.     </StackPanel>
  3336. </Window>    x:Class="WpfApp1.TouchTextBox">
  3337.    
  3338. </ResourceDictionary></WrapPanel>
  3339. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3340. <Window x:Class="WpfApp1.MainWindow"
  3341.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3342.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3343.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3344.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3345.         mc:Ignorable="d"
  3346.         Title="MainWindow" Height="800" Width="1200">
  3347.     <StackPanel>
  3348.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3349.                  Style="{StaticResource TouchTextBox}"/>
  3350.     </StackPanel>
  3351. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3352. <Window x:Class="WpfApp1.MainWindow"
  3353.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3354.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3355.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3356.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3357.         mc:Ignorable="d"
  3358.         Title="MainWindow" Height="800" Width="1200">
  3359.     <StackPanel>
  3360.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3361.                  Style="{StaticResource TouchTextBox}"/>
  3362.     </StackPanel>
  3363. </Window>    x:Class="WpfApp1.TouchTextBox">
  3364.    
  3365. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3366. <Window x:Class="WpfApp1.MainWindow"
  3367.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3368.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3369.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3370.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3371.         mc:Ignorable="d"
  3372.         Title="MainWindow" Height="800" Width="1200">
  3373.     <StackPanel>
  3374.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3375.                  Style="{StaticResource TouchTextBox}"/>
  3376.     </StackPanel>
  3377. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3378. <Window x:Class="WpfApp1.MainWindow"
  3379.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3380.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3381.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3382.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3383.         mc:Ignorable="d"
  3384.         Title="MainWindow" Height="800" Width="1200">
  3385.     <StackPanel>
  3386.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3387.                  Style="{StaticResource TouchTextBox}"/>
  3388.     </StackPanel>
  3389. </Window>    x:Class="WpfApp1.TouchTextBox">
  3390.    
  3391. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3392. <Window x:Class="WpfApp1.MainWindow"
  3393.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3394.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3395.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3396.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3397.         mc:Ignorable="d"
  3398.         Title="MainWindow" Height="800" Width="1200">
  3399.     <StackPanel>
  3400.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3401.                  Style="{StaticResource TouchTextBox}"/>
  3402.     </StackPanel>
  3403. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3404. <Window x:Class="WpfApp1.MainWindow"
  3405.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3406.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3407.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3408.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3409.         mc:Ignorable="d"
  3410.         Title="MainWindow" Height="800" Width="1200">
  3411.     <StackPanel>
  3412.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3413.                  Style="{StaticResource TouchTextBox}"/>
  3414.     </StackPanel>
  3415. </Window>    x:Class="WpfApp1.TouchTextBox">
  3416.    
  3417. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3418. <Window x:Class="WpfApp1.MainWindow"
  3419.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3420.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3421.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3422.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3423.         mc:Ignorable="d"
  3424.         Title="MainWindow" Height="800" Width="1200">
  3425.     <StackPanel>
  3426.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3427.                  Style="{StaticResource TouchTextBox}"/>
  3428.     </StackPanel>
  3429. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3430. <Window x:Class="WpfApp1.MainWindow"
  3431.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3432.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3433.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3434.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3435.         mc:Ignorable="d"
  3436.         Title="MainWindow" Height="800" Width="1200">
  3437.     <StackPanel>
  3438.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3439.                  Style="{StaticResource TouchTextBox}"/>
  3440.     </StackPanel>
  3441. </Window>    x:Class="WpfApp1.TouchTextBox">
  3442.    
  3443. </ResourceDictionary><WrapPanel Margin="25 0 0 0">
  3444. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3445. <Window x:Class="WpfApp1.MainWindow"
  3446.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3447.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3448.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3449.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3450.         mc:Ignorable="d"
  3451.         Title="MainWindow" Height="800" Width="1200">
  3452.     <StackPanel>
  3453.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3454.                  Style="{StaticResource TouchTextBox}"/>
  3455.     </StackPanel>
  3456. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3457. <Window x:Class="WpfApp1.MainWindow"
  3458.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3459.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3460.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3461.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3462.         mc:Ignorable="d"
  3463.         Title="MainWindow" Height="800" Width="1200">
  3464.     <StackPanel>
  3465.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3466.                  Style="{StaticResource TouchTextBox}"/>
  3467.     </StackPanel>
  3468. </Window>    x:Class="WpfApp1.TouchTextBox">
  3469.    
  3470. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3471. <Window x:Class="WpfApp1.MainWindow"
  3472.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3473.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3474.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3475.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3476.         mc:Ignorable="d"
  3477.         Title="MainWindow" Height="800" Width="1200">
  3478.     <StackPanel>
  3479.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3480.                  Style="{StaticResource TouchTextBox}"/>
  3481.     </StackPanel>
  3482. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3483. <Window x:Class="WpfApp1.MainWindow"
  3484.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3485.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3486.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3487.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3488.         mc:Ignorable="d"
  3489.         Title="MainWindow" Height="800" Width="1200">
  3490.     <StackPanel>
  3491.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3492.                  Style="{StaticResource TouchTextBox}"/>
  3493.     </StackPanel>
  3494. </Window>    x:Class="WpfApp1.TouchTextBox">
  3495.    
  3496. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3497. <Window x:Class="WpfApp1.MainWindow"
  3498.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3499.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3500.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3501.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3502.         mc:Ignorable="d"
  3503.         Title="MainWindow" Height="800" Width="1200">
  3504.     <StackPanel>
  3505.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3506.                  Style="{StaticResource TouchTextBox}"/>
  3507.     </StackPanel>
  3508. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3509. <Window x:Class="WpfApp1.MainWindow"
  3510.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3511.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3512.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3513.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3514.         mc:Ignorable="d"
  3515.         Title="MainWindow" Height="800" Width="1200">
  3516.     <StackPanel>
  3517.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3518.                  Style="{StaticResource TouchTextBox}"/>
  3519.     </StackPanel>
  3520. </Window>    x:Class="WpfApp1.TouchTextBox">
  3521.    
  3522. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3523. <Window x:Class="WpfApp1.MainWindow"
  3524.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3525.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3526.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3527.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3528.         mc:Ignorable="d"
  3529.         Title="MainWindow" Height="800" Width="1200">
  3530.     <StackPanel>
  3531.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3532.                  Style="{StaticResource TouchTextBox}"/>
  3533.     </StackPanel>
  3534. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3535. <Window x:Class="WpfApp1.MainWindow"
  3536.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3537.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3538.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3539.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3540.         mc:Ignorable="d"
  3541.         Title="MainWindow" Height="800" Width="1200">
  3542.     <StackPanel>
  3543.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3544.                  Style="{StaticResource TouchTextBox}"/>
  3545.     </StackPanel>
  3546. </Window>    x:Class="WpfApp1.TouchTextBox">
  3547.    
  3548. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3549. <Window x:Class="WpfApp1.MainWindow"
  3550.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3551.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3552.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3553.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3554.         mc:Ignorable="d"
  3555.         Title="MainWindow" Height="800" Width="1200">
  3556.     <StackPanel>
  3557.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3558.                  Style="{StaticResource TouchTextBox}"/>
  3559.     </StackPanel>
  3560. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3561. <Window x:Class="WpfApp1.MainWindow"
  3562.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3563.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3564.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3565.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3566.         mc:Ignorable="d"
  3567.         Title="MainWindow" Height="800" Width="1200">
  3568.     <StackPanel>
  3569.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3570.                  Style="{StaticResource TouchTextBox}"/>
  3571.     </StackPanel>
  3572. </Window>    x:Class="WpfApp1.TouchTextBox">
  3573.    
  3574. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=q}"
  3575. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3576. <Window x:Class="WpfApp1.MainWindow"
  3577.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3578.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3579.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3580.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3581.         mc:Ignorable="d"
  3582.         Title="MainWindow" Height="800" Width="1200">
  3583.     <StackPanel>
  3584.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3585.                  Style="{StaticResource TouchTextBox}"/>
  3586.     </StackPanel>
  3587. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3588. <Window x:Class="WpfApp1.MainWindow"
  3589.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3590.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3591.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3592.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3593.         mc:Ignorable="d"
  3594.         Title="MainWindow" Height="800" Width="1200">
  3595.     <StackPanel>
  3596.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3597.                  Style="{StaticResource TouchTextBox}"/>
  3598.     </StackPanel>
  3599. </Window>    x:Class="WpfApp1.TouchTextBox">
  3600.    
  3601. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3602. <Window x:Class="WpfApp1.MainWindow"
  3603.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3604.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3605.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3606.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3607.         mc:Ignorable="d"
  3608.         Title="MainWindow" Height="800" Width="1200">
  3609.     <StackPanel>
  3610.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3611.                  Style="{StaticResource TouchTextBox}"/>
  3612.     </StackPanel>
  3613. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3614. <Window x:Class="WpfApp1.MainWindow"
  3615.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3616.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3617.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3618.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3619.         mc:Ignorable="d"
  3620.         Title="MainWindow" Height="800" Width="1200">
  3621.     <StackPanel>
  3622.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3623.                  Style="{StaticResource TouchTextBox}"/>
  3624.     </StackPanel>
  3625. </Window>    x:Class="WpfApp1.TouchTextBox">
  3626.    
  3627. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3628. <Window x:Class="WpfApp1.MainWindow"
  3629.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3630.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3631.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3632.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3633.         mc:Ignorable="d"
  3634.         Title="MainWindow" Height="800" Width="1200">
  3635.     <StackPanel>
  3636.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3637.                  Style="{StaticResource TouchTextBox}"/>
  3638.     </StackPanel>
  3639. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3640. <Window x:Class="WpfApp1.MainWindow"
  3641.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3642.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3643.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3644.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3645.         mc:Ignorable="d"
  3646.         Title="MainWindow" Height="800" Width="1200">
  3647.     <StackPanel>
  3648.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3649.                  Style="{StaticResource TouchTextBox}"/>
  3650.     </StackPanel>
  3651. </Window>    x:Class="WpfApp1.TouchTextBox">
  3652.    
  3653. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3654. <Window x:Class="WpfApp1.MainWindow"
  3655.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3656.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3657.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3658.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3659.         mc:Ignorable="d"
  3660.         Title="MainWindow" Height="800" Width="1200">
  3661.     <StackPanel>
  3662.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3663.                  Style="{StaticResource TouchTextBox}"/>
  3664.     </StackPanel>
  3665. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3666. <Window x:Class="WpfApp1.MainWindow"
  3667.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3668.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3669.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3670.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3671.         mc:Ignorable="d"
  3672.         Title="MainWindow" Height="800" Width="1200">
  3673.     <StackPanel>
  3674.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3675.                  Style="{StaticResource TouchTextBox}"/>
  3676.     </StackPanel>
  3677. </Window>    x:Class="WpfApp1.TouchTextBox">
  3678.    
  3679. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3680. <Window x:Class="WpfApp1.MainWindow"
  3681.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3682.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3683.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3684.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3685.         mc:Ignorable="d"
  3686.         Title="MainWindow" Height="800" Width="1200">
  3687.     <StackPanel>
  3688.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3689.                  Style="{StaticResource TouchTextBox}"/>
  3690.     </StackPanel>
  3691. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3692. <Window x:Class="WpfApp1.MainWindow"
  3693.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3694.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3695.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3696.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3697.         mc:Ignorable="d"
  3698.         Title="MainWindow" Height="800" Width="1200">
  3699.     <StackPanel>
  3700.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3701.                  Style="{StaticResource TouchTextBox}"/>
  3702.     </StackPanel>
  3703. </Window>    x:Class="WpfApp1.TouchTextBox">
  3704.    
  3705. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3706. <Window x:Class="WpfApp1.MainWindow"
  3707.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3708.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3709.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3710.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3711.         mc:Ignorable="d"
  3712.         Title="MainWindow" Height="800" Width="1200">
  3713.     <StackPanel>
  3714.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3715.                  Style="{StaticResource TouchTextBox}"/>
  3716.     </StackPanel>
  3717. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3718. <Window x:Class="WpfApp1.MainWindow"
  3719.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3720.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3721.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3722.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3723.         mc:Ignorable="d"
  3724.         Title="MainWindow" Height="800" Width="1200">
  3725.     <StackPanel>
  3726.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3727.                  Style="{StaticResource TouchTextBox}"/>
  3728.     </StackPanel>
  3729. </Window>    x:Class="WpfApp1.TouchTextBox">
  3730.    
  3731. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3732. <Window x:Class="WpfApp1.MainWindow"
  3733.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3734.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3735.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3736.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3737.         mc:Ignorable="d"
  3738.         Title="MainWindow" Height="800" Width="1200">
  3739.     <StackPanel>
  3740.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3741.                  Style="{StaticResource TouchTextBox}"/>
  3742.     </StackPanel>
  3743. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3744. <Window x:Class="WpfApp1.MainWindow"
  3745.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3746.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3747.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3748.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3749.         mc:Ignorable="d"
  3750.         Title="MainWindow" Height="800" Width="1200">
  3751.     <StackPanel>
  3752.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3753.                  Style="{StaticResource TouchTextBox}"/>
  3754.     </StackPanel>
  3755. </Window>    x:Class="WpfApp1.TouchTextBox">
  3756.    
  3757. </ResourceDictionary>Click="Button_Click"/>
  3758. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3759. <Window x:Class="WpfApp1.MainWindow"
  3760.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3761.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3762.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3763.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3764.         mc:Ignorable="d"
  3765.         Title="MainWindow" Height="800" Width="1200">
  3766.     <StackPanel>
  3767.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3768.                  Style="{StaticResource TouchTextBox}"/>
  3769.     </StackPanel>
  3770. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3771. <Window x:Class="WpfApp1.MainWindow"
  3772.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3773.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3774.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3775.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3776.         mc:Ignorable="d"
  3777.         Title="MainWindow" Height="800" Width="1200">
  3778.     <StackPanel>
  3779.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3780.                  Style="{StaticResource TouchTextBox}"/>
  3781.     </StackPanel>
  3782. </Window>    x:Class="WpfApp1.TouchTextBox">
  3783.    
  3784. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3785. <Window x:Class="WpfApp1.MainWindow"
  3786.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3787.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3788.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3789.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3790.         mc:Ignorable="d"
  3791.         Title="MainWindow" Height="800" Width="1200">
  3792.     <StackPanel>
  3793.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3794.                  Style="{StaticResource TouchTextBox}"/>
  3795.     </StackPanel>
  3796. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3797. <Window x:Class="WpfApp1.MainWindow"
  3798.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3799.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3800.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3801.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3802.         mc:Ignorable="d"
  3803.         Title="MainWindow" Height="800" Width="1200">
  3804.     <StackPanel>
  3805.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3806.                  Style="{StaticResource TouchTextBox}"/>
  3807.     </StackPanel>
  3808. </Window>    x:Class="WpfApp1.TouchTextBox">
  3809.    
  3810. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3811. <Window x:Class="WpfApp1.MainWindow"
  3812.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3813.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3814.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3815.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3816.         mc:Ignorable="d"
  3817.         Title="MainWindow" Height="800" Width="1200">
  3818.     <StackPanel>
  3819.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3820.                  Style="{StaticResource TouchTextBox}"/>
  3821.     </StackPanel>
  3822. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3823. <Window x:Class="WpfApp1.MainWindow"
  3824.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3825.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3826.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3827.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3828.         mc:Ignorable="d"
  3829.         Title="MainWindow" Height="800" Width="1200">
  3830.     <StackPanel>
  3831.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3832.                  Style="{StaticResource TouchTextBox}"/>
  3833.     </StackPanel>
  3834. </Window>    x:Class="WpfApp1.TouchTextBox">
  3835.    
  3836. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3837. <Window x:Class="WpfApp1.MainWindow"
  3838.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3839.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3840.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3841.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3842.         mc:Ignorable="d"
  3843.         Title="MainWindow" Height="800" Width="1200">
  3844.     <StackPanel>
  3845.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3846.                  Style="{StaticResource TouchTextBox}"/>
  3847.     </StackPanel>
  3848. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3849. <Window x:Class="WpfApp1.MainWindow"
  3850.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3851.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3852.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3853.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3854.         mc:Ignorable="d"
  3855.         Title="MainWindow" Height="800" Width="1200">
  3856.     <StackPanel>
  3857.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3858.                  Style="{StaticResource TouchTextBox}"/>
  3859.     </StackPanel>
  3860. </Window>    x:Class="WpfApp1.TouchTextBox">
  3861.    
  3862. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3863. <Window x:Class="WpfApp1.MainWindow"
  3864.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3865.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3866.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3867.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3868.         mc:Ignorable="d"
  3869.         Title="MainWindow" Height="800" Width="1200">
  3870.     <StackPanel>
  3871.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3872.                  Style="{StaticResource TouchTextBox}"/>
  3873.     </StackPanel>
  3874. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3875. <Window x:Class="WpfApp1.MainWindow"
  3876.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3877.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3878.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3879.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3880.         mc:Ignorable="d"
  3881.         Title="MainWindow" Height="800" Width="1200">
  3882.     <StackPanel>
  3883.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3884.                  Style="{StaticResource TouchTextBox}"/>
  3885.     </StackPanel>
  3886. </Window>    x:Class="WpfApp1.TouchTextBox">
  3887.    
  3888. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=w}"
  3889. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3890. <Window x:Class="WpfApp1.MainWindow"
  3891.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3892.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3893.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3894.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3895.         mc:Ignorable="d"
  3896.         Title="MainWindow" Height="800" Width="1200">
  3897.     <StackPanel>
  3898.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3899.                  Style="{StaticResource TouchTextBox}"/>
  3900.     </StackPanel>
  3901. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3902. <Window x:Class="WpfApp1.MainWindow"
  3903.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3904.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3905.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3906.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3907.         mc:Ignorable="d"
  3908.         Title="MainWindow" Height="800" Width="1200">
  3909.     <StackPanel>
  3910.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3911.                  Style="{StaticResource TouchTextBox}"/>
  3912.     </StackPanel>
  3913. </Window>    x:Class="WpfApp1.TouchTextBox">
  3914.    
  3915. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3916. <Window x:Class="WpfApp1.MainWindow"
  3917.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3918.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3919.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3920.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3921.         mc:Ignorable="d"
  3922.         Title="MainWindow" Height="800" Width="1200">
  3923.     <StackPanel>
  3924.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3925.                  Style="{StaticResource TouchTextBox}"/>
  3926.     </StackPanel>
  3927. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3928. <Window x:Class="WpfApp1.MainWindow"
  3929.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3930.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3931.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3932.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3933.         mc:Ignorable="d"
  3934.         Title="MainWindow" Height="800" Width="1200">
  3935.     <StackPanel>
  3936.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3937.                  Style="{StaticResource TouchTextBox}"/>
  3938.     </StackPanel>
  3939. </Window>    x:Class="WpfApp1.TouchTextBox">
  3940.    
  3941. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3942. <Window x:Class="WpfApp1.MainWindow"
  3943.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3944.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3945.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3946.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3947.         mc:Ignorable="d"
  3948.         Title="MainWindow" Height="800" Width="1200">
  3949.     <StackPanel>
  3950.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3951.                  Style="{StaticResource TouchTextBox}"/>
  3952.     </StackPanel>
  3953. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3954. <Window x:Class="WpfApp1.MainWindow"
  3955.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3956.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3957.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3958.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3959.         mc:Ignorable="d"
  3960.         Title="MainWindow" Height="800" Width="1200">
  3961.     <StackPanel>
  3962.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3963.                  Style="{StaticResource TouchTextBox}"/>
  3964.     </StackPanel>
  3965. </Window>    x:Class="WpfApp1.TouchTextBox">
  3966.    
  3967. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3968. <Window x:Class="WpfApp1.MainWindow"
  3969.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3970.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3971.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3972.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3973.         mc:Ignorable="d"
  3974.         Title="MainWindow" Height="800" Width="1200">
  3975.     <StackPanel>
  3976.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3977.                  Style="{StaticResource TouchTextBox}"/>
  3978.     </StackPanel>
  3979. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3980. <Window x:Class="WpfApp1.MainWindow"
  3981.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3982.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3983.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3984.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3985.         mc:Ignorable="d"
  3986.         Title="MainWindow" Height="800" Width="1200">
  3987.     <StackPanel>
  3988.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3989.                  Style="{StaticResource TouchTextBox}"/>
  3990.     </StackPanel>
  3991. </Window>    x:Class="WpfApp1.TouchTextBox">
  3992.    
  3993. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3994. <Window x:Class="WpfApp1.MainWindow"
  3995.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3996.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3997.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3998.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3999.         mc:Ignorable="d"
  4000.         Title="MainWindow" Height="800" Width="1200">
  4001.     <StackPanel>
  4002.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4003.                  Style="{StaticResource TouchTextBox}"/>
  4004.     </StackPanel>
  4005. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4006. <Window x:Class="WpfApp1.MainWindow"
  4007.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4008.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4009.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4010.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4011.         mc:Ignorable="d"
  4012.         Title="MainWindow" Height="800" Width="1200">
  4013.     <StackPanel>
  4014.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4015.                  Style="{StaticResource TouchTextBox}"/>
  4016.     </StackPanel>
  4017. </Window>    x:Class="WpfApp1.TouchTextBox">
  4018.    
  4019. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4020. <Window x:Class="WpfApp1.MainWindow"
  4021.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4022.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4023.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4024.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4025.         mc:Ignorable="d"
  4026.         Title="MainWindow" Height="800" Width="1200">
  4027.     <StackPanel>
  4028.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4029.                  Style="{StaticResource TouchTextBox}"/>
  4030.     </StackPanel>
  4031. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4032. <Window x:Class="WpfApp1.MainWindow"
  4033.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4034.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4035.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4036.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4037.         mc:Ignorable="d"
  4038.         Title="MainWindow" Height="800" Width="1200">
  4039.     <StackPanel>
  4040.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4041.                  Style="{StaticResource TouchTextBox}"/>
  4042.     </StackPanel>
  4043. </Window>    x:Class="WpfApp1.TouchTextBox">
  4044.    
  4045. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4046. <Window x:Class="WpfApp1.MainWindow"
  4047.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4048.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4049.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4050.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4051.         mc:Ignorable="d"
  4052.         Title="MainWindow" Height="800" Width="1200">
  4053.     <StackPanel>
  4054.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4055.                  Style="{StaticResource TouchTextBox}"/>
  4056.     </StackPanel>
  4057. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4058. <Window x:Class="WpfApp1.MainWindow"
  4059.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4060.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4061.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4062.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4063.         mc:Ignorable="d"
  4064.         Title="MainWindow" Height="800" Width="1200">
  4065.     <StackPanel>
  4066.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4067.                  Style="{StaticResource TouchTextBox}"/>
  4068.     </StackPanel>
  4069. </Window>    x:Class="WpfApp1.TouchTextBox">
  4070.    
  4071. </ResourceDictionary>Click="Button_Click"/>
  4072. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4073. <Window x:Class="WpfApp1.MainWindow"
  4074.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4075.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4076.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4077.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4078.         mc:Ignorable="d"
  4079.         Title="MainWindow" Height="800" Width="1200">
  4080.     <StackPanel>
  4081.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4082.                  Style="{StaticResource TouchTextBox}"/>
  4083.     </StackPanel>
  4084. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4085. <Window x:Class="WpfApp1.MainWindow"
  4086.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4087.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4088.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4089.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4090.         mc:Ignorable="d"
  4091.         Title="MainWindow" Height="800" Width="1200">
  4092.     <StackPanel>
  4093.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4094.                  Style="{StaticResource TouchTextBox}"/>
  4095.     </StackPanel>
  4096. </Window>    x:Class="WpfApp1.TouchTextBox">
  4097.    
  4098. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4099. <Window x:Class="WpfApp1.MainWindow"
  4100.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4101.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4102.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4103.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4104.         mc:Ignorable="d"
  4105.         Title="MainWindow" Height="800" Width="1200">
  4106.     <StackPanel>
  4107.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4108.                  Style="{StaticResource TouchTextBox}"/>
  4109.     </StackPanel>
  4110. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4111. <Window x:Class="WpfApp1.MainWindow"
  4112.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4113.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4114.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4115.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4116.         mc:Ignorable="d"
  4117.         Title="MainWindow" Height="800" Width="1200">
  4118.     <StackPanel>
  4119.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4120.                  Style="{StaticResource TouchTextBox}"/>
  4121.     </StackPanel>
  4122. </Window>    x:Class="WpfApp1.TouchTextBox">
  4123.    
  4124. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4125. <Window x:Class="WpfApp1.MainWindow"
  4126.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4127.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4128.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4129.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4130.         mc:Ignorable="d"
  4131.         Title="MainWindow" Height="800" Width="1200">
  4132.     <StackPanel>
  4133.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4134.                  Style="{StaticResource TouchTextBox}"/>
  4135.     </StackPanel>
  4136. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4137. <Window x:Class="WpfApp1.MainWindow"
  4138.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4139.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4140.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4141.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4142.         mc:Ignorable="d"
  4143.         Title="MainWindow" Height="800" Width="1200">
  4144.     <StackPanel>
  4145.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4146.                  Style="{StaticResource TouchTextBox}"/>
  4147.     </StackPanel>
  4148. </Window>    x:Class="WpfApp1.TouchTextBox">
  4149.    
  4150. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4151. <Window x:Class="WpfApp1.MainWindow"
  4152.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4153.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4154.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4155.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4156.         mc:Ignorable="d"
  4157.         Title="MainWindow" Height="800" Width="1200">
  4158.     <StackPanel>
  4159.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4160.                  Style="{StaticResource TouchTextBox}"/>
  4161.     </StackPanel>
  4162. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4163. <Window x:Class="WpfApp1.MainWindow"
  4164.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4165.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4166.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4167.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4168.         mc:Ignorable="d"
  4169.         Title="MainWindow" Height="800" Width="1200">
  4170.     <StackPanel>
  4171.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4172.                  Style="{StaticResource TouchTextBox}"/>
  4173.     </StackPanel>
  4174. </Window>    x:Class="WpfApp1.TouchTextBox">
  4175.    
  4176. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4177. <Window x:Class="WpfApp1.MainWindow"
  4178.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4179.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4180.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4181.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4182.         mc:Ignorable="d"
  4183.         Title="MainWindow" Height="800" Width="1200">
  4184.     <StackPanel>
  4185.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4186.                  Style="{StaticResource TouchTextBox}"/>
  4187.     </StackPanel>
  4188. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4189. <Window x:Class="WpfApp1.MainWindow"
  4190.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4191.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4192.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4193.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4194.         mc:Ignorable="d"
  4195.         Title="MainWindow" Height="800" Width="1200">
  4196.     <StackPanel>
  4197.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4198.                  Style="{StaticResource TouchTextBox}"/>
  4199.     </StackPanel>
  4200. </Window>    x:Class="WpfApp1.TouchTextBox">
  4201.    
  4202. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=e}"
  4203. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4204. <Window x:Class="WpfApp1.MainWindow"
  4205.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4206.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4207.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4208.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4209.         mc:Ignorable="d"
  4210.         Title="MainWindow" Height="800" Width="1200">
  4211.     <StackPanel>
  4212.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4213.                  Style="{StaticResource TouchTextBox}"/>
  4214.     </StackPanel>
  4215. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4216. <Window x:Class="WpfApp1.MainWindow"
  4217.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4218.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4219.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4220.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4221.         mc:Ignorable="d"
  4222.         Title="MainWindow" Height="800" Width="1200">
  4223.     <StackPanel>
  4224.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4225.                  Style="{StaticResource TouchTextBox}"/>
  4226.     </StackPanel>
  4227. </Window>    x:Class="WpfApp1.TouchTextBox">
  4228.    
  4229. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4230. <Window x:Class="WpfApp1.MainWindow"
  4231.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4232.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4233.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4234.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4235.         mc:Ignorable="d"
  4236.         Title="MainWindow" Height="800" Width="1200">
  4237.     <StackPanel>
  4238.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4239.                  Style="{StaticResource TouchTextBox}"/>
  4240.     </StackPanel>
  4241. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4242. <Window x:Class="WpfApp1.MainWindow"
  4243.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4244.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4245.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4246.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4247.         mc:Ignorable="d"
  4248.         Title="MainWindow" Height="800" Width="1200">
  4249.     <StackPanel>
  4250.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4251.                  Style="{StaticResource TouchTextBox}"/>
  4252.     </StackPanel>
  4253. </Window>    x:Class="WpfApp1.TouchTextBox">
  4254.    
  4255. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4256. <Window x:Class="WpfApp1.MainWindow"
  4257.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4258.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4259.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4260.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4261.         mc:Ignorable="d"
  4262.         Title="MainWindow" Height="800" Width="1200">
  4263.     <StackPanel>
  4264.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4265.                  Style="{StaticResource TouchTextBox}"/>
  4266.     </StackPanel>
  4267. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4268. <Window x:Class="WpfApp1.MainWindow"
  4269.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4270.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4271.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4272.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4273.         mc:Ignorable="d"
  4274.         Title="MainWindow" Height="800" Width="1200">
  4275.     <StackPanel>
  4276.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4277.                  Style="{StaticResource TouchTextBox}"/>
  4278.     </StackPanel>
  4279. </Window>    x:Class="WpfApp1.TouchTextBox">
  4280.    
  4281. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4282. <Window x:Class="WpfApp1.MainWindow"
  4283.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4284.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4285.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4286.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4287.         mc:Ignorable="d"
  4288.         Title="MainWindow" Height="800" Width="1200">
  4289.     <StackPanel>
  4290.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4291.                  Style="{StaticResource TouchTextBox}"/>
  4292.     </StackPanel>
  4293. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4294. <Window x:Class="WpfApp1.MainWindow"
  4295.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4296.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4297.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4298.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4299.         mc:Ignorable="d"
  4300.         Title="MainWindow" Height="800" Width="1200">
  4301.     <StackPanel>
  4302.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4303.                  Style="{StaticResource TouchTextBox}"/>
  4304.     </StackPanel>
  4305. </Window>    x:Class="WpfApp1.TouchTextBox">
  4306.    
  4307. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4308. <Window x:Class="WpfApp1.MainWindow"
  4309.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4310.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4311.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4312.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4313.         mc:Ignorable="d"
  4314.         Title="MainWindow" Height="800" Width="1200">
  4315.     <StackPanel>
  4316.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4317.                  Style="{StaticResource TouchTextBox}"/>
  4318.     </StackPanel>
  4319. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4320. <Window x:Class="WpfApp1.MainWindow"
  4321.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4322.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4323.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4324.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4325.         mc:Ignorable="d"
  4326.         Title="MainWindow" Height="800" Width="1200">
  4327.     <StackPanel>
  4328.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4329.                  Style="{StaticResource TouchTextBox}"/>
  4330.     </StackPanel>
  4331. </Window>    x:Class="WpfApp1.TouchTextBox">
  4332.    
  4333. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4334. <Window x:Class="WpfApp1.MainWindow"
  4335.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4336.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4337.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4338.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4339.         mc:Ignorable="d"
  4340.         Title="MainWindow" Height="800" Width="1200">
  4341.     <StackPanel>
  4342.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4343.                  Style="{StaticResource TouchTextBox}"/>
  4344.     </StackPanel>
  4345. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4346. <Window x:Class="WpfApp1.MainWindow"
  4347.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4348.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4349.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4350.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4351.         mc:Ignorable="d"
  4352.         Title="MainWindow" Height="800" Width="1200">
  4353.     <StackPanel>
  4354.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4355.                  Style="{StaticResource TouchTextBox}"/>
  4356.     </StackPanel>
  4357. </Window>    x:Class="WpfApp1.TouchTextBox">
  4358.    
  4359. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4360. <Window x:Class="WpfApp1.MainWindow"
  4361.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4362.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4363.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4364.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4365.         mc:Ignorable="d"
  4366.         Title="MainWindow" Height="800" Width="1200">
  4367.     <StackPanel>
  4368.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4369.                  Style="{StaticResource TouchTextBox}"/>
  4370.     </StackPanel>
  4371. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4372. <Window x:Class="WpfApp1.MainWindow"
  4373.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4374.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4375.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4376.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4377.         mc:Ignorable="d"
  4378.         Title="MainWindow" Height="800" Width="1200">
  4379.     <StackPanel>
  4380.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4381.                  Style="{StaticResource TouchTextBox}"/>
  4382.     </StackPanel>
  4383. </Window>    x:Class="WpfApp1.TouchTextBox">
  4384.    
  4385. </ResourceDictionary>Click="Button_Click"/>
  4386. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4387. <Window x:Class="WpfApp1.MainWindow"
  4388.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4389.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4390.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4391.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4392.         mc:Ignorable="d"
  4393.         Title="MainWindow" Height="800" Width="1200">
  4394.     <StackPanel>
  4395.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4396.                  Style="{StaticResource TouchTextBox}"/>
  4397.     </StackPanel>
  4398. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4399. <Window x:Class="WpfApp1.MainWindow"
  4400.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4401.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4402.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4403.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4404.         mc:Ignorable="d"
  4405.         Title="MainWindow" Height="800" Width="1200">
  4406.     <StackPanel>
  4407.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4408.                  Style="{StaticResource TouchTextBox}"/>
  4409.     </StackPanel>
  4410. </Window>    x:Class="WpfApp1.TouchTextBox">
  4411.    
  4412. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4413. <Window x:Class="WpfApp1.MainWindow"
  4414.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4415.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4416.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4417.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4418.         mc:Ignorable="d"
  4419.         Title="MainWindow" Height="800" Width="1200">
  4420.     <StackPanel>
  4421.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4422.                  Style="{StaticResource TouchTextBox}"/>
  4423.     </StackPanel>
  4424. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4425. <Window x:Class="WpfApp1.MainWindow"
  4426.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4427.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4428.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4429.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4430.         mc:Ignorable="d"
  4431.         Title="MainWindow" Height="800" Width="1200">
  4432.     <StackPanel>
  4433.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4434.                  Style="{StaticResource TouchTextBox}"/>
  4435.     </StackPanel>
  4436. </Window>    x:Class="WpfApp1.TouchTextBox">
  4437.    
  4438. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4439. <Window x:Class="WpfApp1.MainWindow"
  4440.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4441.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4442.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4443.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4444.         mc:Ignorable="d"
  4445.         Title="MainWindow" Height="800" Width="1200">
  4446.     <StackPanel>
  4447.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4448.                  Style="{StaticResource TouchTextBox}"/>
  4449.     </StackPanel>
  4450. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4451. <Window x:Class="WpfApp1.MainWindow"
  4452.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4453.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4454.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4455.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4456.         mc:Ignorable="d"
  4457.         Title="MainWindow" Height="800" Width="1200">
  4458.     <StackPanel>
  4459.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4460.                  Style="{StaticResource TouchTextBox}"/>
  4461.     </StackPanel>
  4462. </Window>    x:Class="WpfApp1.TouchTextBox">
  4463.    
  4464. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4465. <Window x:Class="WpfApp1.MainWindow"
  4466.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4467.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4468.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4469.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4470.         mc:Ignorable="d"
  4471.         Title="MainWindow" Height="800" Width="1200">
  4472.     <StackPanel>
  4473.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4474.                  Style="{StaticResource TouchTextBox}"/>
  4475.     </StackPanel>
  4476. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4477. <Window x:Class="WpfApp1.MainWindow"
  4478.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4479.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4480.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4481.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4482.         mc:Ignorable="d"
  4483.         Title="MainWindow" Height="800" Width="1200">
  4484.     <StackPanel>
  4485.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4486.                  Style="{StaticResource TouchTextBox}"/>
  4487.     </StackPanel>
  4488. </Window>    x:Class="WpfApp1.TouchTextBox">
  4489.    
  4490. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4491. <Window x:Class="WpfApp1.MainWindow"
  4492.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4493.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4494.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4495.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4496.         mc:Ignorable="d"
  4497.         Title="MainWindow" Height="800" Width="1200">
  4498.     <StackPanel>
  4499.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4500.                  Style="{StaticResource TouchTextBox}"/>
  4501.     </StackPanel>
  4502. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4503. <Window x:Class="WpfApp1.MainWindow"
  4504.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4505.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4506.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4507.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4508.         mc:Ignorable="d"
  4509.         Title="MainWindow" Height="800" Width="1200">
  4510.     <StackPanel>
  4511.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4512.                  Style="{StaticResource TouchTextBox}"/>
  4513.     </StackPanel>
  4514. </Window>    x:Class="WpfApp1.TouchTextBox">
  4515.    
  4516. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=r}"
  4517. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4518. <Window x:Class="WpfApp1.MainWindow"
  4519.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4520.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4521.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4522.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4523.         mc:Ignorable="d"
  4524.         Title="MainWindow" Height="800" Width="1200">
  4525.     <StackPanel>
  4526.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4527.                  Style="{StaticResource TouchTextBox}"/>
  4528.     </StackPanel>
  4529. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4530. <Window x:Class="WpfApp1.MainWindow"
  4531.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4532.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4533.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4534.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4535.         mc:Ignorable="d"
  4536.         Title="MainWindow" Height="800" Width="1200">
  4537.     <StackPanel>
  4538.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4539.                  Style="{StaticResource TouchTextBox}"/>
  4540.     </StackPanel>
  4541. </Window>    x:Class="WpfApp1.TouchTextBox">
  4542.    
  4543. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4544. <Window x:Class="WpfApp1.MainWindow"
  4545.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4546.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4547.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4548.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4549.         mc:Ignorable="d"
  4550.         Title="MainWindow" Height="800" Width="1200">
  4551.     <StackPanel>
  4552.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4553.                  Style="{StaticResource TouchTextBox}"/>
  4554.     </StackPanel>
  4555. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4556. <Window x:Class="WpfApp1.MainWindow"
  4557.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4558.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4559.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4560.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4561.         mc:Ignorable="d"
  4562.         Title="MainWindow" Height="800" Width="1200">
  4563.     <StackPanel>
  4564.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4565.                  Style="{StaticResource TouchTextBox}"/>
  4566.     </StackPanel>
  4567. </Window>    x:Class="WpfApp1.TouchTextBox">
  4568.    
  4569. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4570. <Window x:Class="WpfApp1.MainWindow"
  4571.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4572.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4573.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4574.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4575.         mc:Ignorable="d"
  4576.         Title="MainWindow" Height="800" Width="1200">
  4577.     <StackPanel>
  4578.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4579.                  Style="{StaticResource TouchTextBox}"/>
  4580.     </StackPanel>
  4581. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4582. <Window x:Class="WpfApp1.MainWindow"
  4583.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4584.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4585.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4586.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4587.         mc:Ignorable="d"
  4588.         Title="MainWindow" Height="800" Width="1200">
  4589.     <StackPanel>
  4590.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4591.                  Style="{StaticResource TouchTextBox}"/>
  4592.     </StackPanel>
  4593. </Window>    x:Class="WpfApp1.TouchTextBox">
  4594.    
  4595. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4596. <Window x:Class="WpfApp1.MainWindow"
  4597.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4598.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4599.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4600.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4601.         mc:Ignorable="d"
  4602.         Title="MainWindow" Height="800" Width="1200">
  4603.     <StackPanel>
  4604.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4605.                  Style="{StaticResource TouchTextBox}"/>
  4606.     </StackPanel>
  4607. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4608. <Window x:Class="WpfApp1.MainWindow"
  4609.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4610.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4611.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4612.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4613.         mc:Ignorable="d"
  4614.         Title="MainWindow" Height="800" Width="1200">
  4615.     <StackPanel>
  4616.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4617.                  Style="{StaticResource TouchTextBox}"/>
  4618.     </StackPanel>
  4619. </Window>    x:Class="WpfApp1.TouchTextBox">
  4620.    
  4621. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4622. <Window x:Class="WpfApp1.MainWindow"
  4623.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4624.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4625.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4626.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4627.         mc:Ignorable="d"
  4628.         Title="MainWindow" Height="800" Width="1200">
  4629.     <StackPanel>
  4630.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4631.                  Style="{StaticResource TouchTextBox}"/>
  4632.     </StackPanel>
  4633. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4634. <Window x:Class="WpfApp1.MainWindow"
  4635.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4636.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4637.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4638.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4639.         mc:Ignorable="d"
  4640.         Title="MainWindow" Height="800" Width="1200">
  4641.     <StackPanel>
  4642.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4643.                  Style="{StaticResource TouchTextBox}"/>
  4644.     </StackPanel>
  4645. </Window>    x:Class="WpfApp1.TouchTextBox">
  4646.    
  4647. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4648. <Window x:Class="WpfApp1.MainWindow"
  4649.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4650.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4651.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4652.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4653.         mc:Ignorable="d"
  4654.         Title="MainWindow" Height="800" Width="1200">
  4655.     <StackPanel>
  4656.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4657.                  Style="{StaticResource TouchTextBox}"/>
  4658.     </StackPanel>
  4659. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4660. <Window x:Class="WpfApp1.MainWindow"
  4661.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4662.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4663.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4664.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4665.         mc:Ignorable="d"
  4666.         Title="MainWindow" Height="800" Width="1200">
  4667.     <StackPanel>
  4668.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4669.                  Style="{StaticResource TouchTextBox}"/>
  4670.     </StackPanel>
  4671. </Window>    x:Class="WpfApp1.TouchTextBox">
  4672.    
  4673. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4674. <Window x:Class="WpfApp1.MainWindow"
  4675.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4676.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4677.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4678.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4679.         mc:Ignorable="d"
  4680.         Title="MainWindow" Height="800" Width="1200">
  4681.     <StackPanel>
  4682.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4683.                  Style="{StaticResource TouchTextBox}"/>
  4684.     </StackPanel>
  4685. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4686. <Window x:Class="WpfApp1.MainWindow"
  4687.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4688.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4689.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4690.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4691.         mc:Ignorable="d"
  4692.         Title="MainWindow" Height="800" Width="1200">
  4693.     <StackPanel>
  4694.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4695.                  Style="{StaticResource TouchTextBox}"/>
  4696.     </StackPanel>
  4697. </Window>    x:Class="WpfApp1.TouchTextBox">
  4698.    
  4699. </ResourceDictionary> Click="Button_Click"/>
  4700. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4701. <Window x:Class="WpfApp1.MainWindow"
  4702.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4703.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4704.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4705.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4706.         mc:Ignorable="d"
  4707.         Title="MainWindow" Height="800" Width="1200">
  4708.     <StackPanel>
  4709.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4710.                  Style="{StaticResource TouchTextBox}"/>
  4711.     </StackPanel>
  4712. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4713. <Window x:Class="WpfApp1.MainWindow"
  4714.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4715.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4716.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4717.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4718.         mc:Ignorable="d"
  4719.         Title="MainWindow" Height="800" Width="1200">
  4720.     <StackPanel>
  4721.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4722.                  Style="{StaticResource TouchTextBox}"/>
  4723.     </StackPanel>
  4724. </Window>    x:Class="WpfApp1.TouchTextBox">
  4725.    
  4726. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4727. <Window x:Class="WpfApp1.MainWindow"
  4728.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4729.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4730.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4731.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4732.         mc:Ignorable="d"
  4733.         Title="MainWindow" Height="800" Width="1200">
  4734.     <StackPanel>
  4735.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4736.                  Style="{StaticResource TouchTextBox}"/>
  4737.     </StackPanel>
  4738. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4739. <Window x:Class="WpfApp1.MainWindow"
  4740.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4741.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4742.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4743.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4744.         mc:Ignorable="d"
  4745.         Title="MainWindow" Height="800" Width="1200">
  4746.     <StackPanel>
  4747.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4748.                  Style="{StaticResource TouchTextBox}"/>
  4749.     </StackPanel>
  4750. </Window>    x:Class="WpfApp1.TouchTextBox">
  4751.    
  4752. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4753. <Window x:Class="WpfApp1.MainWindow"
  4754.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4755.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4756.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4757.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4758.         mc:Ignorable="d"
  4759.         Title="MainWindow" Height="800" Width="1200">
  4760.     <StackPanel>
  4761.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4762.                  Style="{StaticResource TouchTextBox}"/>
  4763.     </StackPanel>
  4764. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4765. <Window x:Class="WpfApp1.MainWindow"
  4766.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4767.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4768.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4769.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4770.         mc:Ignorable="d"
  4771.         Title="MainWindow" Height="800" Width="1200">
  4772.     <StackPanel>
  4773.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4774.                  Style="{StaticResource TouchTextBox}"/>
  4775.     </StackPanel>
  4776. </Window>    x:Class="WpfApp1.TouchTextBox">
  4777.    
  4778. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4779. <Window x:Class="WpfApp1.MainWindow"
  4780.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4781.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4782.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4783.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4784.         mc:Ignorable="d"
  4785.         Title="MainWindow" Height="800" Width="1200">
  4786.     <StackPanel>
  4787.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4788.                  Style="{StaticResource TouchTextBox}"/>
  4789.     </StackPanel>
  4790. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4791. <Window x:Class="WpfApp1.MainWindow"
  4792.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4793.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4794.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4795.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4796.         mc:Ignorable="d"
  4797.         Title="MainWindow" Height="800" Width="1200">
  4798.     <StackPanel>
  4799.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4800.                  Style="{StaticResource TouchTextBox}"/>
  4801.     </StackPanel>
  4802. </Window>    x:Class="WpfApp1.TouchTextBox">
  4803.    
  4804. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4805. <Window x:Class="WpfApp1.MainWindow"
  4806.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4807.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4808.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4809.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4810.         mc:Ignorable="d"
  4811.         Title="MainWindow" Height="800" Width="1200">
  4812.     <StackPanel>
  4813.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4814.                  Style="{StaticResource TouchTextBox}"/>
  4815.     </StackPanel>
  4816. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4817. <Window x:Class="WpfApp1.MainWindow"
  4818.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4819.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4820.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4821.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4822.         mc:Ignorable="d"
  4823.         Title="MainWindow" Height="800" Width="1200">
  4824.     <StackPanel>
  4825.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4826.                  Style="{StaticResource TouchTextBox}"/>
  4827.     </StackPanel>
  4828. </Window>    x:Class="WpfApp1.TouchTextBox">
  4829.    
  4830. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=t}"
  4831. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4832. <Window x:Class="WpfApp1.MainWindow"
  4833.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4834.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4835.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4836.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4837.         mc:Ignorable="d"
  4838.         Title="MainWindow" Height="800" Width="1200">
  4839.     <StackPanel>
  4840.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4841.                  Style="{StaticResource TouchTextBox}"/>
  4842.     </StackPanel>
  4843. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4844. <Window x:Class="WpfApp1.MainWindow"
  4845.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4846.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4847.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4848.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4849.         mc:Ignorable="d"
  4850.         Title="MainWindow" Height="800" Width="1200">
  4851.     <StackPanel>
  4852.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4853.                  Style="{StaticResource TouchTextBox}"/>
  4854.     </StackPanel>
  4855. </Window>    x:Class="WpfApp1.TouchTextBox">
  4856.    
  4857. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4858. <Window x:Class="WpfApp1.MainWindow"
  4859.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4860.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4861.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4862.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4863.         mc:Ignorable="d"
  4864.         Title="MainWindow" Height="800" Width="1200">
  4865.     <StackPanel>
  4866.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4867.                  Style="{StaticResource TouchTextBox}"/>
  4868.     </StackPanel>
  4869. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4870. <Window x:Class="WpfApp1.MainWindow"
  4871.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4872.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4873.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4874.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4875.         mc:Ignorable="d"
  4876.         Title="MainWindow" Height="800" Width="1200">
  4877.     <StackPanel>
  4878.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4879.                  Style="{StaticResource TouchTextBox}"/>
  4880.     </StackPanel>
  4881. </Window>    x:Class="WpfApp1.TouchTextBox">
  4882.    
  4883. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4884. <Window x:Class="WpfApp1.MainWindow"
  4885.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4886.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4887.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4888.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4889.         mc:Ignorable="d"
  4890.         Title="MainWindow" Height="800" Width="1200">
  4891.     <StackPanel>
  4892.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4893.                  Style="{StaticResource TouchTextBox}"/>
  4894.     </StackPanel>
  4895. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4896. <Window x:Class="WpfApp1.MainWindow"
  4897.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4898.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4899.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4900.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4901.         mc:Ignorable="d"
  4902.         Title="MainWindow" Height="800" Width="1200">
  4903.     <StackPanel>
  4904.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4905.                  Style="{StaticResource TouchTextBox}"/>
  4906.     </StackPanel>
  4907. </Window>    x:Class="WpfApp1.TouchTextBox">
  4908.    
  4909. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4910. <Window x:Class="WpfApp1.MainWindow"
  4911.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4912.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4913.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4914.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4915.         mc:Ignorable="d"
  4916.         Title="MainWindow" Height="800" Width="1200">
  4917.     <StackPanel>
  4918.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4919.                  Style="{StaticResource TouchTextBox}"/>
  4920.     </StackPanel>
  4921. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4922. <Window x:Class="WpfApp1.MainWindow"
  4923.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4924.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4925.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4926.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4927.         mc:Ignorable="d"
  4928.         Title="MainWindow" Height="800" Width="1200">
  4929.     <StackPanel>
  4930.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4931.                  Style="{StaticResource TouchTextBox}"/>
  4932.     </StackPanel>
  4933. </Window>    x:Class="WpfApp1.TouchTextBox">
  4934.    
  4935. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4936. <Window x:Class="WpfApp1.MainWindow"
  4937.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4938.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4939.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4940.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4941.         mc:Ignorable="d"
  4942.         Title="MainWindow" Height="800" Width="1200">
  4943.     <StackPanel>
  4944.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4945.                  Style="{StaticResource TouchTextBox}"/>
  4946.     </StackPanel>
  4947. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4948. <Window x:Class="WpfApp1.MainWindow"
  4949.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4950.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4951.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4952.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4953.         mc:Ignorable="d"
  4954.         Title="MainWindow" Height="800" Width="1200">
  4955.     <StackPanel>
  4956.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4957.                  Style="{StaticResource TouchTextBox}"/>
  4958.     </StackPanel>
  4959. </Window>    x:Class="WpfApp1.TouchTextBox">
  4960.    
  4961. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4962. <Window x:Class="WpfApp1.MainWindow"
  4963.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4964.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4965.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4966.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4967.         mc:Ignorable="d"
  4968.         Title="MainWindow" Height="800" Width="1200">
  4969.     <StackPanel>
  4970.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4971.                  Style="{StaticResource TouchTextBox}"/>
  4972.     </StackPanel>
  4973. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4974. <Window x:Class="WpfApp1.MainWindow"
  4975.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4976.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4977.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4978.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4979.         mc:Ignorable="d"
  4980.         Title="MainWindow" Height="800" Width="1200">
  4981.     <StackPanel>
  4982.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4983.                  Style="{StaticResource TouchTextBox}"/>
  4984.     </StackPanel>
  4985. </Window>    x:Class="WpfApp1.TouchTextBox">
  4986.    
  4987. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4988. <Window x:Class="WpfApp1.MainWindow"
  4989.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4990.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4991.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4992.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  4993.         mc:Ignorable="d"
  4994.         Title="MainWindow" Height="800" Width="1200">
  4995.     <StackPanel>
  4996.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  4997.                  Style="{StaticResource TouchTextBox}"/>
  4998.     </StackPanel>
  4999. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5000. <Window x:Class="WpfApp1.MainWindow"
  5001.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5002.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5003.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5004.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5005.         mc:Ignorable="d"
  5006.         Title="MainWindow" Height="800" Width="1200">
  5007.     <StackPanel>
  5008.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5009.                  Style="{StaticResource TouchTextBox}"/>
  5010.     </StackPanel>
  5011. </Window>    x:Class="WpfApp1.TouchTextBox">
  5012.    
  5013. </ResourceDictionary> Click="Button_Click"/>
  5014. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5015. <Window x:Class="WpfApp1.MainWindow"
  5016.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5017.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5018.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5019.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5020.         mc:Ignorable="d"
  5021.         Title="MainWindow" Height="800" Width="1200">
  5022.     <StackPanel>
  5023.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5024.                  Style="{StaticResource TouchTextBox}"/>
  5025.     </StackPanel>
  5026. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5027. <Window x:Class="WpfApp1.MainWindow"
  5028.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5029.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5030.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5031.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5032.         mc:Ignorable="d"
  5033.         Title="MainWindow" Height="800" Width="1200">
  5034.     <StackPanel>
  5035.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5036.                  Style="{StaticResource TouchTextBox}"/>
  5037.     </StackPanel>
  5038. </Window>    x:Class="WpfApp1.TouchTextBox">
  5039.    
  5040. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5041. <Window x:Class="WpfApp1.MainWindow"
  5042.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5043.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5044.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5045.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5046.         mc:Ignorable="d"
  5047.         Title="MainWindow" Height="800" Width="1200">
  5048.     <StackPanel>
  5049.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5050.                  Style="{StaticResource TouchTextBox}"/>
  5051.     </StackPanel>
  5052. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5053. <Window x:Class="WpfApp1.MainWindow"
  5054.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5055.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5056.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5057.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5058.         mc:Ignorable="d"
  5059.         Title="MainWindow" Height="800" Width="1200">
  5060.     <StackPanel>
  5061.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5062.                  Style="{StaticResource TouchTextBox}"/>
  5063.     </StackPanel>
  5064. </Window>    x:Class="WpfApp1.TouchTextBox">
  5065.    
  5066. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5067. <Window x:Class="WpfApp1.MainWindow"
  5068.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5069.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5070.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5071.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5072.         mc:Ignorable="d"
  5073.         Title="MainWindow" Height="800" Width="1200">
  5074.     <StackPanel>
  5075.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5076.                  Style="{StaticResource TouchTextBox}"/>
  5077.     </StackPanel>
  5078. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5079. <Window x:Class="WpfApp1.MainWindow"
  5080.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5081.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5082.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5083.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5084.         mc:Ignorable="d"
  5085.         Title="MainWindow" Height="800" Width="1200">
  5086.     <StackPanel>
  5087.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5088.                  Style="{StaticResource TouchTextBox}"/>
  5089.     </StackPanel>
  5090. </Window>    x:Class="WpfApp1.TouchTextBox">
  5091.    
  5092. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5093. <Window x:Class="WpfApp1.MainWindow"
  5094.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5095.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5096.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5097.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5098.         mc:Ignorable="d"
  5099.         Title="MainWindow" Height="800" Width="1200">
  5100.     <StackPanel>
  5101.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5102.                  Style="{StaticResource TouchTextBox}"/>
  5103.     </StackPanel>
  5104. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5105. <Window x:Class="WpfApp1.MainWindow"
  5106.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5107.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5108.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5109.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5110.         mc:Ignorable="d"
  5111.         Title="MainWindow" Height="800" Width="1200">
  5112.     <StackPanel>
  5113.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5114.                  Style="{StaticResource TouchTextBox}"/>
  5115.     </StackPanel>
  5116. </Window>    x:Class="WpfApp1.TouchTextBox">
  5117.    
  5118. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5119. <Window x:Class="WpfApp1.MainWindow"
  5120.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5121.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5122.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5123.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5124.         mc:Ignorable="d"
  5125.         Title="MainWindow" Height="800" Width="1200">
  5126.     <StackPanel>
  5127.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5128.                  Style="{StaticResource TouchTextBox}"/>
  5129.     </StackPanel>
  5130. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5131. <Window x:Class="WpfApp1.MainWindow"
  5132.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5133.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5134.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5135.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5136.         mc:Ignorable="d"
  5137.         Title="MainWindow" Height="800" Width="1200">
  5138.     <StackPanel>
  5139.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5140.                  Style="{StaticResource TouchTextBox}"/>
  5141.     </StackPanel>
  5142. </Window>    x:Class="WpfApp1.TouchTextBox">
  5143.    
  5144. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=y}"
  5145. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5146. <Window x:Class="WpfApp1.MainWindow"
  5147.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5148.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5149.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5150.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5151.         mc:Ignorable="d"
  5152.         Title="MainWindow" Height="800" Width="1200">
  5153.     <StackPanel>
  5154.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5155.                  Style="{StaticResource TouchTextBox}"/>
  5156.     </StackPanel>
  5157. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5158. <Window x:Class="WpfApp1.MainWindow"
  5159.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5160.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5161.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5162.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5163.         mc:Ignorable="d"
  5164.         Title="MainWindow" Height="800" Width="1200">
  5165.     <StackPanel>
  5166.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5167.                  Style="{StaticResource TouchTextBox}"/>
  5168.     </StackPanel>
  5169. </Window>    x:Class="WpfApp1.TouchTextBox">
  5170.    
  5171. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5172. <Window x:Class="WpfApp1.MainWindow"
  5173.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5174.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5175.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5176.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5177.         mc:Ignorable="d"
  5178.         Title="MainWindow" Height="800" Width="1200">
  5179.     <StackPanel>
  5180.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5181.                  Style="{StaticResource TouchTextBox}"/>
  5182.     </StackPanel>
  5183. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5184. <Window x:Class="WpfApp1.MainWindow"
  5185.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5186.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5187.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5188.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5189.         mc:Ignorable="d"
  5190.         Title="MainWindow" Height="800" Width="1200">
  5191.     <StackPanel>
  5192.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5193.                  Style="{StaticResource TouchTextBox}"/>
  5194.     </StackPanel>
  5195. </Window>    x:Class="WpfApp1.TouchTextBox">
  5196.    
  5197. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5198. <Window x:Class="WpfApp1.MainWindow"
  5199.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5200.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5201.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5202.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5203.         mc:Ignorable="d"
  5204.         Title="MainWindow" Height="800" Width="1200">
  5205.     <StackPanel>
  5206.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5207.                  Style="{StaticResource TouchTextBox}"/>
  5208.     </StackPanel>
  5209. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5210. <Window x:Class="WpfApp1.MainWindow"
  5211.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5212.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5213.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5214.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5215.         mc:Ignorable="d"
  5216.         Title="MainWindow" Height="800" Width="1200">
  5217.     <StackPanel>
  5218.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5219.                  Style="{StaticResource TouchTextBox}"/>
  5220.     </StackPanel>
  5221. </Window>    x:Class="WpfApp1.TouchTextBox">
  5222.    
  5223. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5224. <Window x:Class="WpfApp1.MainWindow"
  5225.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5226.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5227.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5228.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5229.         mc:Ignorable="d"
  5230.         Title="MainWindow" Height="800" Width="1200">
  5231.     <StackPanel>
  5232.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5233.                  Style="{StaticResource TouchTextBox}"/>
  5234.     </StackPanel>
  5235. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5236. <Window x:Class="WpfApp1.MainWindow"
  5237.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5238.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5239.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5240.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5241.         mc:Ignorable="d"
  5242.         Title="MainWindow" Height="800" Width="1200">
  5243.     <StackPanel>
  5244.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5245.                  Style="{StaticResource TouchTextBox}"/>
  5246.     </StackPanel>
  5247. </Window>    x:Class="WpfApp1.TouchTextBox">
  5248.    
  5249. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5250. <Window x:Class="WpfApp1.MainWindow"
  5251.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5252.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5253.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5254.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5255.         mc:Ignorable="d"
  5256.         Title="MainWindow" Height="800" Width="1200">
  5257.     <StackPanel>
  5258.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5259.                  Style="{StaticResource TouchTextBox}"/>
  5260.     </StackPanel>
  5261. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5262. <Window x:Class="WpfApp1.MainWindow"
  5263.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5264.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5265.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5266.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5267.         mc:Ignorable="d"
  5268.         Title="MainWindow" Height="800" Width="1200">
  5269.     <StackPanel>
  5270.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5271.                  Style="{StaticResource TouchTextBox}"/>
  5272.     </StackPanel>
  5273. </Window>    x:Class="WpfApp1.TouchTextBox">
  5274.    
  5275. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5276. <Window x:Class="WpfApp1.MainWindow"
  5277.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5278.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5279.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5280.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5281.         mc:Ignorable="d"
  5282.         Title="MainWindow" Height="800" Width="1200">
  5283.     <StackPanel>
  5284.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5285.                  Style="{StaticResource TouchTextBox}"/>
  5286.     </StackPanel>
  5287. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5288. <Window x:Class="WpfApp1.MainWindow"
  5289.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5290.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5291.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5292.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5293.         mc:Ignorable="d"
  5294.         Title="MainWindow" Height="800" Width="1200">
  5295.     <StackPanel>
  5296.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5297.                  Style="{StaticResource TouchTextBox}"/>
  5298.     </StackPanel>
  5299. </Window>    x:Class="WpfApp1.TouchTextBox">
  5300.    
  5301. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5302. <Window x:Class="WpfApp1.MainWindow"
  5303.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5304.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5305.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5306.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5307.         mc:Ignorable="d"
  5308.         Title="MainWindow" Height="800" Width="1200">
  5309.     <StackPanel>
  5310.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5311.                  Style="{StaticResource TouchTextBox}"/>
  5312.     </StackPanel>
  5313. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5314. <Window x:Class="WpfApp1.MainWindow"
  5315.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5316.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5317.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5318.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5319.         mc:Ignorable="d"
  5320.         Title="MainWindow" Height="800" Width="1200">
  5321.     <StackPanel>
  5322.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5323.                  Style="{StaticResource TouchTextBox}"/>
  5324.     </StackPanel>
  5325. </Window>    x:Class="WpfApp1.TouchTextBox">
  5326.    
  5327. </ResourceDictionary> Click="Button_Click"/>
  5328. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5329. <Window x:Class="WpfApp1.MainWindow"
  5330.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5331.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5332.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5333.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5334.         mc:Ignorable="d"
  5335.         Title="MainWindow" Height="800" Width="1200">
  5336.     <StackPanel>
  5337.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5338.                  Style="{StaticResource TouchTextBox}"/>
  5339.     </StackPanel>
  5340. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5341. <Window x:Class="WpfApp1.MainWindow"
  5342.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5343.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5344.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5345.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5346.         mc:Ignorable="d"
  5347.         Title="MainWindow" Height="800" Width="1200">
  5348.     <StackPanel>
  5349.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5350.                  Style="{StaticResource TouchTextBox}"/>
  5351.     </StackPanel>
  5352. </Window>    x:Class="WpfApp1.TouchTextBox">
  5353.    
  5354. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5355. <Window x:Class="WpfApp1.MainWindow"
  5356.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5357.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5358.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5359.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5360.         mc:Ignorable="d"
  5361.         Title="MainWindow" Height="800" Width="1200">
  5362.     <StackPanel>
  5363.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5364.                  Style="{StaticResource TouchTextBox}"/>
  5365.     </StackPanel>
  5366. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5367. <Window x:Class="WpfApp1.MainWindow"
  5368.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5369.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5370.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5371.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5372.         mc:Ignorable="d"
  5373.         Title="MainWindow" Height="800" Width="1200">
  5374.     <StackPanel>
  5375.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5376.                  Style="{StaticResource TouchTextBox}"/>
  5377.     </StackPanel>
  5378. </Window>    x:Class="WpfApp1.TouchTextBox">
  5379.    
  5380. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5381. <Window x:Class="WpfApp1.MainWindow"
  5382.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5383.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5384.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5385.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5386.         mc:Ignorable="d"
  5387.         Title="MainWindow" Height="800" Width="1200">
  5388.     <StackPanel>
  5389.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5390.                  Style="{StaticResource TouchTextBox}"/>
  5391.     </StackPanel>
  5392. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5393. <Window x:Class="WpfApp1.MainWindow"
  5394.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5395.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5396.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5397.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5398.         mc:Ignorable="d"
  5399.         Title="MainWindow" Height="800" Width="1200">
  5400.     <StackPanel>
  5401.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5402.                  Style="{StaticResource TouchTextBox}"/>
  5403.     </StackPanel>
  5404. </Window>    x:Class="WpfApp1.TouchTextBox">
  5405.    
  5406. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5407. <Window x:Class="WpfApp1.MainWindow"
  5408.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5409.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5410.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5411.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5412.         mc:Ignorable="d"
  5413.         Title="MainWindow" Height="800" Width="1200">
  5414.     <StackPanel>
  5415.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5416.                  Style="{StaticResource TouchTextBox}"/>
  5417.     </StackPanel>
  5418. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5419. <Window x:Class="WpfApp1.MainWindow"
  5420.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5421.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5422.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5423.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5424.         mc:Ignorable="d"
  5425.         Title="MainWindow" Height="800" Width="1200">
  5426.     <StackPanel>
  5427.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5428.                  Style="{StaticResource TouchTextBox}"/>
  5429.     </StackPanel>
  5430. </Window>    x:Class="WpfApp1.TouchTextBox">
  5431.    
  5432. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5433. <Window x:Class="WpfApp1.MainWindow"
  5434.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5435.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5436.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5437.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5438.         mc:Ignorable="d"
  5439.         Title="MainWindow" Height="800" Width="1200">
  5440.     <StackPanel>
  5441.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5442.                  Style="{StaticResource TouchTextBox}"/>
  5443.     </StackPanel>
  5444. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5445. <Window x:Class="WpfApp1.MainWindow"
  5446.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5447.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5448.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5449.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5450.         mc:Ignorable="d"
  5451.         Title="MainWindow" Height="800" Width="1200">
  5452.     <StackPanel>
  5453.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5454.                  Style="{StaticResource TouchTextBox}"/>
  5455.     </StackPanel>
  5456. </Window>    x:Class="WpfApp1.TouchTextBox">
  5457.    
  5458. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=u}"
  5459. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5460. <Window x:Class="WpfApp1.MainWindow"
  5461.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5462.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5463.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5464.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5465.         mc:Ignorable="d"
  5466.         Title="MainWindow" Height="800" Width="1200">
  5467.     <StackPanel>
  5468.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5469.                  Style="{StaticResource TouchTextBox}"/>
  5470.     </StackPanel>
  5471. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5472. <Window x:Class="WpfApp1.MainWindow"
  5473.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5474.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5475.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5476.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5477.         mc:Ignorable="d"
  5478.         Title="MainWindow" Height="800" Width="1200">
  5479.     <StackPanel>
  5480.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5481.                  Style="{StaticResource TouchTextBox}"/>
  5482.     </StackPanel>
  5483. </Window>    x:Class="WpfApp1.TouchTextBox">
  5484.    
  5485. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5486. <Window x:Class="WpfApp1.MainWindow"
  5487.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5488.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5489.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5490.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5491.         mc:Ignorable="d"
  5492.         Title="MainWindow" Height="800" Width="1200">
  5493.     <StackPanel>
  5494.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5495.                  Style="{StaticResource TouchTextBox}"/>
  5496.     </StackPanel>
  5497. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5498. <Window x:Class="WpfApp1.MainWindow"
  5499.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5500.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5501.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5502.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5503.         mc:Ignorable="d"
  5504.         Title="MainWindow" Height="800" Width="1200">
  5505.     <StackPanel>
  5506.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5507.                  Style="{StaticResource TouchTextBox}"/>
  5508.     </StackPanel>
  5509. </Window>    x:Class="WpfApp1.TouchTextBox">
  5510.    
  5511. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5512. <Window x:Class="WpfApp1.MainWindow"
  5513.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5514.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5515.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5516.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5517.         mc:Ignorable="d"
  5518.         Title="MainWindow" Height="800" Width="1200">
  5519.     <StackPanel>
  5520.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5521.                  Style="{StaticResource TouchTextBox}"/>
  5522.     </StackPanel>
  5523. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5524. <Window x:Class="WpfApp1.MainWindow"
  5525.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5526.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5527.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5528.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5529.         mc:Ignorable="d"
  5530.         Title="MainWindow" Height="800" Width="1200">
  5531.     <StackPanel>
  5532.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5533.                  Style="{StaticResource TouchTextBox}"/>
  5534.     </StackPanel>
  5535. </Window>    x:Class="WpfApp1.TouchTextBox">
  5536.    
  5537. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5538. <Window x:Class="WpfApp1.MainWindow"
  5539.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5540.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5541.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5542.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5543.         mc:Ignorable="d"
  5544.         Title="MainWindow" Height="800" Width="1200">
  5545.     <StackPanel>
  5546.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5547.                  Style="{StaticResource TouchTextBox}"/>
  5548.     </StackPanel>
  5549. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5550. <Window x:Class="WpfApp1.MainWindow"
  5551.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5552.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5553.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5554.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5555.         mc:Ignorable="d"
  5556.         Title="MainWindow" Height="800" Width="1200">
  5557.     <StackPanel>
  5558.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5559.                  Style="{StaticResource TouchTextBox}"/>
  5560.     </StackPanel>
  5561. </Window>    x:Class="WpfApp1.TouchTextBox">
  5562.    
  5563. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5564. <Window x:Class="WpfApp1.MainWindow"
  5565.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5566.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5567.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5568.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5569.         mc:Ignorable="d"
  5570.         Title="MainWindow" Height="800" Width="1200">
  5571.     <StackPanel>
  5572.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5573.                  Style="{StaticResource TouchTextBox}"/>
  5574.     </StackPanel>
  5575. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5576. <Window x:Class="WpfApp1.MainWindow"
  5577.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5578.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5579.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5580.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5581.         mc:Ignorable="d"
  5582.         Title="MainWindow" Height="800" Width="1200">
  5583.     <StackPanel>
  5584.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5585.                  Style="{StaticResource TouchTextBox}"/>
  5586.     </StackPanel>
  5587. </Window>    x:Class="WpfApp1.TouchTextBox">
  5588.    
  5589. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5590. <Window x:Class="WpfApp1.MainWindow"
  5591.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5592.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5593.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5594.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5595.         mc:Ignorable="d"
  5596.         Title="MainWindow" Height="800" Width="1200">
  5597.     <StackPanel>
  5598.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5599.                  Style="{StaticResource TouchTextBox}"/>
  5600.     </StackPanel>
  5601. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5602. <Window x:Class="WpfApp1.MainWindow"
  5603.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5604.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5605.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5606.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5607.         mc:Ignorable="d"
  5608.         Title="MainWindow" Height="800" Width="1200">
  5609.     <StackPanel>
  5610.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5611.                  Style="{StaticResource TouchTextBox}"/>
  5612.     </StackPanel>
  5613. </Window>    x:Class="WpfApp1.TouchTextBox">
  5614.    
  5615. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5616. <Window x:Class="WpfApp1.MainWindow"
  5617.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5618.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5619.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5620.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5621.         mc:Ignorable="d"
  5622.         Title="MainWindow" Height="800" Width="1200">
  5623.     <StackPanel>
  5624.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5625.                  Style="{StaticResource TouchTextBox}"/>
  5626.     </StackPanel>
  5627. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5628. <Window x:Class="WpfApp1.MainWindow"
  5629.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5630.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5631.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5632.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5633.         mc:Ignorable="d"
  5634.         Title="MainWindow" Height="800" Width="1200">
  5635.     <StackPanel>
  5636.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5637.                  Style="{StaticResource TouchTextBox}"/>
  5638.     </StackPanel>
  5639. </Window>    x:Class="WpfApp1.TouchTextBox">
  5640.    
  5641. </ResourceDictionary> Click="Button_Click"/>
  5642. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5643. <Window x:Class="WpfApp1.MainWindow"
  5644.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5645.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5646.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5647.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5648.         mc:Ignorable="d"
  5649.         Title="MainWindow" Height="800" Width="1200">
  5650.     <StackPanel>
  5651.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5652.                  Style="{StaticResource TouchTextBox}"/>
  5653.     </StackPanel>
  5654. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5655. <Window x:Class="WpfApp1.MainWindow"
  5656.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5657.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5658.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5659.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5660.         mc:Ignorable="d"
  5661.         Title="MainWindow" Height="800" Width="1200">
  5662.     <StackPanel>
  5663.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5664.                  Style="{StaticResource TouchTextBox}"/>
  5665.     </StackPanel>
  5666. </Window>    x:Class="WpfApp1.TouchTextBox">
  5667.    
  5668. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5669. <Window x:Class="WpfApp1.MainWindow"
  5670.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5671.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5672.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5673.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5674.         mc:Ignorable="d"
  5675.         Title="MainWindow" Height="800" Width="1200">
  5676.     <StackPanel>
  5677.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5678.                  Style="{StaticResource TouchTextBox}"/>
  5679.     </StackPanel>
  5680. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5681. <Window x:Class="WpfApp1.MainWindow"
  5682.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5683.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5684.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5685.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5686.         mc:Ignorable="d"
  5687.         Title="MainWindow" Height="800" Width="1200">
  5688.     <StackPanel>
  5689.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5690.                  Style="{StaticResource TouchTextBox}"/>
  5691.     </StackPanel>
  5692. </Window>    x:Class="WpfApp1.TouchTextBox">
  5693.    
  5694. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5695. <Window x:Class="WpfApp1.MainWindow"
  5696.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5697.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5698.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5699.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5700.         mc:Ignorable="d"
  5701.         Title="MainWindow" Height="800" Width="1200">
  5702.     <StackPanel>
  5703.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5704.                  Style="{StaticResource TouchTextBox}"/>
  5705.     </StackPanel>
  5706. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5707. <Window x:Class="WpfApp1.MainWindow"
  5708.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5709.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5710.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5711.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5712.         mc:Ignorable="d"
  5713.         Title="MainWindow" Height="800" Width="1200">
  5714.     <StackPanel>
  5715.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5716.                  Style="{StaticResource TouchTextBox}"/>
  5717.     </StackPanel>
  5718. </Window>    x:Class="WpfApp1.TouchTextBox">
  5719.    
  5720. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5721. <Window x:Class="WpfApp1.MainWindow"
  5722.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5723.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5724.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5725.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5726.         mc:Ignorable="d"
  5727.         Title="MainWindow" Height="800" Width="1200">
  5728.     <StackPanel>
  5729.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5730.                  Style="{StaticResource TouchTextBox}"/>
  5731.     </StackPanel>
  5732. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5733. <Window x:Class="WpfApp1.MainWindow"
  5734.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5735.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5736.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5737.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5738.         mc:Ignorable="d"
  5739.         Title="MainWindow" Height="800" Width="1200">
  5740.     <StackPanel>
  5741.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5742.                  Style="{StaticResource TouchTextBox}"/>
  5743.     </StackPanel>
  5744. </Window>    x:Class="WpfApp1.TouchTextBox">
  5745.    
  5746. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5747. <Window x:Class="WpfApp1.MainWindow"
  5748.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5749.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5750.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5751.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5752.         mc:Ignorable="d"
  5753.         Title="MainWindow" Height="800" Width="1200">
  5754.     <StackPanel>
  5755.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5756.                  Style="{StaticResource TouchTextBox}"/>
  5757.     </StackPanel>
  5758. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5759. <Window x:Class="WpfApp1.MainWindow"
  5760.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5761.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5762.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5763.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5764.         mc:Ignorable="d"
  5765.         Title="MainWindow" Height="800" Width="1200">
  5766.     <StackPanel>
  5767.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5768.                  Style="{StaticResource TouchTextBox}"/>
  5769.     </StackPanel>
  5770. </Window>    x:Class="WpfApp1.TouchTextBox">
  5771.    
  5772. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=i}"
  5773. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5774. <Window x:Class="WpfApp1.MainWindow"
  5775.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5776.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5777.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5778.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5779.         mc:Ignorable="d"
  5780.         Title="MainWindow" Height="800" Width="1200">
  5781.     <StackPanel>
  5782.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5783.                  Style="{StaticResource TouchTextBox}"/>
  5784.     </StackPanel>
  5785. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5786. <Window x:Class="WpfApp1.MainWindow"
  5787.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5788.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5789.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5790.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5791.         mc:Ignorable="d"
  5792.         Title="MainWindow" Height="800" Width="1200">
  5793.     <StackPanel>
  5794.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5795.                  Style="{StaticResource TouchTextBox}"/>
  5796.     </StackPanel>
  5797. </Window>    x:Class="WpfApp1.TouchTextBox">
  5798.    
  5799. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5800. <Window x:Class="WpfApp1.MainWindow"
  5801.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5802.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5803.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5804.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5805.         mc:Ignorable="d"
  5806.         Title="MainWindow" Height="800" Width="1200">
  5807.     <StackPanel>
  5808.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5809.                  Style="{StaticResource TouchTextBox}"/>
  5810.     </StackPanel>
  5811. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5812. <Window x:Class="WpfApp1.MainWindow"
  5813.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5814.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5815.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5816.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5817.         mc:Ignorable="d"
  5818.         Title="MainWindow" Height="800" Width="1200">
  5819.     <StackPanel>
  5820.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5821.                  Style="{StaticResource TouchTextBox}"/>
  5822.     </StackPanel>
  5823. </Window>    x:Class="WpfApp1.TouchTextBox">
  5824.    
  5825. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5826. <Window x:Class="WpfApp1.MainWindow"
  5827.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5828.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5829.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5830.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5831.         mc:Ignorable="d"
  5832.         Title="MainWindow" Height="800" Width="1200">
  5833.     <StackPanel>
  5834.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5835.                  Style="{StaticResource TouchTextBox}"/>
  5836.     </StackPanel>
  5837. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5838. <Window x:Class="WpfApp1.MainWindow"
  5839.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5840.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5841.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5842.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5843.         mc:Ignorable="d"
  5844.         Title="MainWindow" Height="800" Width="1200">
  5845.     <StackPanel>
  5846.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5847.                  Style="{StaticResource TouchTextBox}"/>
  5848.     </StackPanel>
  5849. </Window>    x:Class="WpfApp1.TouchTextBox">
  5850.    
  5851. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5852. <Window x:Class="WpfApp1.MainWindow"
  5853.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5854.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5855.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5856.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5857.         mc:Ignorable="d"
  5858.         Title="MainWindow" Height="800" Width="1200">
  5859.     <StackPanel>
  5860.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5861.                  Style="{StaticResource TouchTextBox}"/>
  5862.     </StackPanel>
  5863. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5864. <Window x:Class="WpfApp1.MainWindow"
  5865.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5866.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5867.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5868.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5869.         mc:Ignorable="d"
  5870.         Title="MainWindow" Height="800" Width="1200">
  5871.     <StackPanel>
  5872.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5873.                  Style="{StaticResource TouchTextBox}"/>
  5874.     </StackPanel>
  5875. </Window>    x:Class="WpfApp1.TouchTextBox">
  5876.    
  5877. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5878. <Window x:Class="WpfApp1.MainWindow"
  5879.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5880.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5881.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5882.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5883.         mc:Ignorable="d"
  5884.         Title="MainWindow" Height="800" Width="1200">
  5885.     <StackPanel>
  5886.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5887.                  Style="{StaticResource TouchTextBox}"/>
  5888.     </StackPanel>
  5889. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5890. <Window x:Class="WpfApp1.MainWindow"
  5891.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5892.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5893.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5894.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5895.         mc:Ignorable="d"
  5896.         Title="MainWindow" Height="800" Width="1200">
  5897.     <StackPanel>
  5898.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5899.                  Style="{StaticResource TouchTextBox}"/>
  5900.     </StackPanel>
  5901. </Window>    x:Class="WpfApp1.TouchTextBox">
  5902.    
  5903. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5904. <Window x:Class="WpfApp1.MainWindow"
  5905.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5906.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5907.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5908.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5909.         mc:Ignorable="d"
  5910.         Title="MainWindow" Height="800" Width="1200">
  5911.     <StackPanel>
  5912.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5913.                  Style="{StaticResource TouchTextBox}"/>
  5914.     </StackPanel>
  5915. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5916. <Window x:Class="WpfApp1.MainWindow"
  5917.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5918.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5919.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5920.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5921.         mc:Ignorable="d"
  5922.         Title="MainWindow" Height="800" Width="1200">
  5923.     <StackPanel>
  5924.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5925.                  Style="{StaticResource TouchTextBox}"/>
  5926.     </StackPanel>
  5927. </Window>    x:Class="WpfApp1.TouchTextBox">
  5928.    
  5929. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5930. <Window x:Class="WpfApp1.MainWindow"
  5931.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5932.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5933.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5934.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5935.         mc:Ignorable="d"
  5936.         Title="MainWindow" Height="800" Width="1200">
  5937.     <StackPanel>
  5938.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5939.                  Style="{StaticResource TouchTextBox}"/>
  5940.     </StackPanel>
  5941. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5942. <Window x:Class="WpfApp1.MainWindow"
  5943.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5944.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5945.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5946.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5947.         mc:Ignorable="d"
  5948.         Title="MainWindow" Height="800" Width="1200">
  5949.     <StackPanel>
  5950.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5951.                  Style="{StaticResource TouchTextBox}"/>
  5952.     </StackPanel>
  5953. </Window>    x:Class="WpfApp1.TouchTextBox">
  5954.    
  5955. </ResourceDictionary> Click="Button_Click"/>
  5956. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5957. <Window x:Class="WpfApp1.MainWindow"
  5958.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5959.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5960.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5961.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5962.         mc:Ignorable="d"
  5963.         Title="MainWindow" Height="800" Width="1200">
  5964.     <StackPanel>
  5965.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5966.                  Style="{StaticResource TouchTextBox}"/>
  5967.     </StackPanel>
  5968. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5969. <Window x:Class="WpfApp1.MainWindow"
  5970.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5971.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5972.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5973.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5974.         mc:Ignorable="d"
  5975.         Title="MainWindow" Height="800" Width="1200">
  5976.     <StackPanel>
  5977.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5978.                  Style="{StaticResource TouchTextBox}"/>
  5979.     </StackPanel>
  5980. </Window>    x:Class="WpfApp1.TouchTextBox">
  5981.    
  5982. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5983. <Window x:Class="WpfApp1.MainWindow"
  5984.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5985.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5986.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5987.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5988.         mc:Ignorable="d"
  5989.         Title="MainWindow" Height="800" Width="1200">
  5990.     <StackPanel>
  5991.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  5992.                  Style="{StaticResource TouchTextBox}"/>
  5993.     </StackPanel>
  5994. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5995. <Window x:Class="WpfApp1.MainWindow"
  5996.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5997.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5998.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5999.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6000.         mc:Ignorable="d"
  6001.         Title="MainWindow" Height="800" Width="1200">
  6002.     <StackPanel>
  6003.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6004.                  Style="{StaticResource TouchTextBox}"/>
  6005.     </StackPanel>
  6006. </Window>    x:Class="WpfApp1.TouchTextBox">
  6007.    
  6008. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6009. <Window x:Class="WpfApp1.MainWindow"
  6010.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6011.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6012.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6013.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6014.         mc:Ignorable="d"
  6015.         Title="MainWindow" Height="800" Width="1200">
  6016.     <StackPanel>
  6017.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6018.                  Style="{StaticResource TouchTextBox}"/>
  6019.     </StackPanel>
  6020. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6021. <Window x:Class="WpfApp1.MainWindow"
  6022.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6023.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6024.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6025.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6026.         mc:Ignorable="d"
  6027.         Title="MainWindow" Height="800" Width="1200">
  6028.     <StackPanel>
  6029.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6030.                  Style="{StaticResource TouchTextBox}"/>
  6031.     </StackPanel>
  6032. </Window>    x:Class="WpfApp1.TouchTextBox">
  6033.    
  6034. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6035. <Window x:Class="WpfApp1.MainWindow"
  6036.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6037.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6038.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6039.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6040.         mc:Ignorable="d"
  6041.         Title="MainWindow" Height="800" Width="1200">
  6042.     <StackPanel>
  6043.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6044.                  Style="{StaticResource TouchTextBox}"/>
  6045.     </StackPanel>
  6046. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6047. <Window x:Class="WpfApp1.MainWindow"
  6048.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6049.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6050.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6051.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6052.         mc:Ignorable="d"
  6053.         Title="MainWindow" Height="800" Width="1200">
  6054.     <StackPanel>
  6055.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6056.                  Style="{StaticResource TouchTextBox}"/>
  6057.     </StackPanel>
  6058. </Window>    x:Class="WpfApp1.TouchTextBox">
  6059.    
  6060. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6061. <Window x:Class="WpfApp1.MainWindow"
  6062.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6063.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6064.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6065.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6066.         mc:Ignorable="d"
  6067.         Title="MainWindow" Height="800" Width="1200">
  6068.     <StackPanel>
  6069.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6070.                  Style="{StaticResource TouchTextBox}"/>
  6071.     </StackPanel>
  6072. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6073. <Window x:Class="WpfApp1.MainWindow"
  6074.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6075.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6076.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6077.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6078.         mc:Ignorable="d"
  6079.         Title="MainWindow" Height="800" Width="1200">
  6080.     <StackPanel>
  6081.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6082.                  Style="{StaticResource TouchTextBox}"/>
  6083.     </StackPanel>
  6084. </Window>    x:Class="WpfApp1.TouchTextBox">
  6085.    
  6086. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=o}"
  6087. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6088. <Window x:Class="WpfApp1.MainWindow"
  6089.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6090.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6091.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6092.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6093.         mc:Ignorable="d"
  6094.         Title="MainWindow" Height="800" Width="1200">
  6095.     <StackPanel>
  6096.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6097.                  Style="{StaticResource TouchTextBox}"/>
  6098.     </StackPanel>
  6099. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6100. <Window x:Class="WpfApp1.MainWindow"
  6101.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6102.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6103.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6104.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6105.         mc:Ignorable="d"
  6106.         Title="MainWindow" Height="800" Width="1200">
  6107.     <StackPanel>
  6108.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6109.                  Style="{StaticResource TouchTextBox}"/>
  6110.     </StackPanel>
  6111. </Window>    x:Class="WpfApp1.TouchTextBox">
  6112.    
  6113. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6114. <Window x:Class="WpfApp1.MainWindow"
  6115.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6116.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6117.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6118.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6119.         mc:Ignorable="d"
  6120.         Title="MainWindow" Height="800" Width="1200">
  6121.     <StackPanel>
  6122.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6123.                  Style="{StaticResource TouchTextBox}"/>
  6124.     </StackPanel>
  6125. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6126. <Window x:Class="WpfApp1.MainWindow"
  6127.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6128.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6129.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6130.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6131.         mc:Ignorable="d"
  6132.         Title="MainWindow" Height="800" Width="1200">
  6133.     <StackPanel>
  6134.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6135.                  Style="{StaticResource TouchTextBox}"/>
  6136.     </StackPanel>
  6137. </Window>    x:Class="WpfApp1.TouchTextBox">
  6138.    
  6139. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6140. <Window x:Class="WpfApp1.MainWindow"
  6141.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6142.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6143.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6144.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6145.         mc:Ignorable="d"
  6146.         Title="MainWindow" Height="800" Width="1200">
  6147.     <StackPanel>
  6148.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6149.                  Style="{StaticResource TouchTextBox}"/>
  6150.     </StackPanel>
  6151. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6152. <Window x:Class="WpfApp1.MainWindow"
  6153.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6154.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6155.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6156.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6157.         mc:Ignorable="d"
  6158.         Title="MainWindow" Height="800" Width="1200">
  6159.     <StackPanel>
  6160.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6161.                  Style="{StaticResource TouchTextBox}"/>
  6162.     </StackPanel>
  6163. </Window>    x:Class="WpfApp1.TouchTextBox">
  6164.    
  6165. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6166. <Window x:Class="WpfApp1.MainWindow"
  6167.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6168.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6169.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6170.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6171.         mc:Ignorable="d"
  6172.         Title="MainWindow" Height="800" Width="1200">
  6173.     <StackPanel>
  6174.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6175.                  Style="{StaticResource TouchTextBox}"/>
  6176.     </StackPanel>
  6177. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6178. <Window x:Class="WpfApp1.MainWindow"
  6179.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6180.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6181.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6182.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6183.         mc:Ignorable="d"
  6184.         Title="MainWindow" Height="800" Width="1200">
  6185.     <StackPanel>
  6186.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6187.                  Style="{StaticResource TouchTextBox}"/>
  6188.     </StackPanel>
  6189. </Window>    x:Class="WpfApp1.TouchTextBox">
  6190.    
  6191. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6192. <Window x:Class="WpfApp1.MainWindow"
  6193.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6194.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6195.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6196.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6197.         mc:Ignorable="d"
  6198.         Title="MainWindow" Height="800" Width="1200">
  6199.     <StackPanel>
  6200.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6201.                  Style="{StaticResource TouchTextBox}"/>
  6202.     </StackPanel>
  6203. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6204. <Window x:Class="WpfApp1.MainWindow"
  6205.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6206.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6207.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6208.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6209.         mc:Ignorable="d"
  6210.         Title="MainWindow" Height="800" Width="1200">
  6211.     <StackPanel>
  6212.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6213.                  Style="{StaticResource TouchTextBox}"/>
  6214.     </StackPanel>
  6215. </Window>    x:Class="WpfApp1.TouchTextBox">
  6216.    
  6217. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6218. <Window x:Class="WpfApp1.MainWindow"
  6219.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6220.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6221.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6222.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6223.         mc:Ignorable="d"
  6224.         Title="MainWindow" Height="800" Width="1200">
  6225.     <StackPanel>
  6226.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6227.                  Style="{StaticResource TouchTextBox}"/>
  6228.     </StackPanel>
  6229. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6230. <Window x:Class="WpfApp1.MainWindow"
  6231.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6232.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6233.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6234.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6235.         mc:Ignorable="d"
  6236.         Title="MainWindow" Height="800" Width="1200">
  6237.     <StackPanel>
  6238.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6239.                  Style="{StaticResource TouchTextBox}"/>
  6240.     </StackPanel>
  6241. </Window>    x:Class="WpfApp1.TouchTextBox">
  6242.    
  6243. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6244. <Window x:Class="WpfApp1.MainWindow"
  6245.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6246.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6247.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6248.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6249.         mc:Ignorable="d"
  6250.         Title="MainWindow" Height="800" Width="1200">
  6251.     <StackPanel>
  6252.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6253.                  Style="{StaticResource TouchTextBox}"/>
  6254.     </StackPanel>
  6255. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6256. <Window x:Class="WpfApp1.MainWindow"
  6257.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6258.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6259.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6260.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6261.         mc:Ignorable="d"
  6262.         Title="MainWindow" Height="800" Width="1200">
  6263.     <StackPanel>
  6264.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6265.                  Style="{StaticResource TouchTextBox}"/>
  6266.     </StackPanel>
  6267. </Window>    x:Class="WpfApp1.TouchTextBox">
  6268.    
  6269. </ResourceDictionary> Click="Button_Click"/>
  6270. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6271. <Window x:Class="WpfApp1.MainWindow"
  6272.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6273.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6274.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6275.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6276.         mc:Ignorable="d"
  6277.         Title="MainWindow" Height="800" Width="1200">
  6278.     <StackPanel>
  6279.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6280.                  Style="{StaticResource TouchTextBox}"/>
  6281.     </StackPanel>
  6282. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6283. <Window x:Class="WpfApp1.MainWindow"
  6284.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6285.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6286.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6287.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6288.         mc:Ignorable="d"
  6289.         Title="MainWindow" Height="800" Width="1200">
  6290.     <StackPanel>
  6291.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6292.                  Style="{StaticResource TouchTextBox}"/>
  6293.     </StackPanel>
  6294. </Window>    x:Class="WpfApp1.TouchTextBox">
  6295.    
  6296. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6297. <Window x:Class="WpfApp1.MainWindow"
  6298.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6299.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6300.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6301.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6302.         mc:Ignorable="d"
  6303.         Title="MainWindow" Height="800" Width="1200">
  6304.     <StackPanel>
  6305.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6306.                  Style="{StaticResource TouchTextBox}"/>
  6307.     </StackPanel>
  6308. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6309. <Window x:Class="WpfApp1.MainWindow"
  6310.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6311.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6312.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6313.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6314.         mc:Ignorable="d"
  6315.         Title="MainWindow" Height="800" Width="1200">
  6316.     <StackPanel>
  6317.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6318.                  Style="{StaticResource TouchTextBox}"/>
  6319.     </StackPanel>
  6320. </Window>    x:Class="WpfApp1.TouchTextBox">
  6321.    
  6322. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6323. <Window x:Class="WpfApp1.MainWindow"
  6324.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6325.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6326.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6327.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6328.         mc:Ignorable="d"
  6329.         Title="MainWindow" Height="800" Width="1200">
  6330.     <StackPanel>
  6331.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6332.                  Style="{StaticResource TouchTextBox}"/>
  6333.     </StackPanel>
  6334. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6335. <Window x:Class="WpfApp1.MainWindow"
  6336.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6337.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6338.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6339.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6340.         mc:Ignorable="d"
  6341.         Title="MainWindow" Height="800" Width="1200">
  6342.     <StackPanel>
  6343.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6344.                  Style="{StaticResource TouchTextBox}"/>
  6345.     </StackPanel>
  6346. </Window>    x:Class="WpfApp1.TouchTextBox">
  6347.    
  6348. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6349. <Window x:Class="WpfApp1.MainWindow"
  6350.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6351.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6352.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6353.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6354.         mc:Ignorable="d"
  6355.         Title="MainWindow" Height="800" Width="1200">
  6356.     <StackPanel>
  6357.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6358.                  Style="{StaticResource TouchTextBox}"/>
  6359.     </StackPanel>
  6360. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6361. <Window x:Class="WpfApp1.MainWindow"
  6362.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6363.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6364.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6365.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6366.         mc:Ignorable="d"
  6367.         Title="MainWindow" Height="800" Width="1200">
  6368.     <StackPanel>
  6369.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6370.                  Style="{StaticResource TouchTextBox}"/>
  6371.     </StackPanel>
  6372. </Window>    x:Class="WpfApp1.TouchTextBox">
  6373.    
  6374. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6375. <Window x:Class="WpfApp1.MainWindow"
  6376.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6377.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6378.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6379.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6380.         mc:Ignorable="d"
  6381.         Title="MainWindow" Height="800" Width="1200">
  6382.     <StackPanel>
  6383.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6384.                  Style="{StaticResource TouchTextBox}"/>
  6385.     </StackPanel>
  6386. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6387. <Window x:Class="WpfApp1.MainWindow"
  6388.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6389.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6390.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6391.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6392.         mc:Ignorable="d"
  6393.         Title="MainWindow" Height="800" Width="1200">
  6394.     <StackPanel>
  6395.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6396.                  Style="{StaticResource TouchTextBox}"/>
  6397.     </StackPanel>
  6398. </Window>    x:Class="WpfApp1.TouchTextBox">
  6399.    
  6400. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=p}"
  6401. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6402. <Window x:Class="WpfApp1.MainWindow"
  6403.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6404.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6405.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6406.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6407.         mc:Ignorable="d"
  6408.         Title="MainWindow" Height="800" Width="1200">
  6409.     <StackPanel>
  6410.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6411.                  Style="{StaticResource TouchTextBox}"/>
  6412.     </StackPanel>
  6413. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6414. <Window x:Class="WpfApp1.MainWindow"
  6415.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6416.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6417.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6418.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6419.         mc:Ignorable="d"
  6420.         Title="MainWindow" Height="800" Width="1200">
  6421.     <StackPanel>
  6422.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6423.                  Style="{StaticResource TouchTextBox}"/>
  6424.     </StackPanel>
  6425. </Window>    x:Class="WpfApp1.TouchTextBox">
  6426.    
  6427. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6428. <Window x:Class="WpfApp1.MainWindow"
  6429.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6430.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6431.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6432.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6433.         mc:Ignorable="d"
  6434.         Title="MainWindow" Height="800" Width="1200">
  6435.     <StackPanel>
  6436.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6437.                  Style="{StaticResource TouchTextBox}"/>
  6438.     </StackPanel>
  6439. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6440. <Window x:Class="WpfApp1.MainWindow"
  6441.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6442.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6443.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6444.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6445.         mc:Ignorable="d"
  6446.         Title="MainWindow" Height="800" Width="1200">
  6447.     <StackPanel>
  6448.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6449.                  Style="{StaticResource TouchTextBox}"/>
  6450.     </StackPanel>
  6451. </Window>    x:Class="WpfApp1.TouchTextBox">
  6452.    
  6453. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6454. <Window x:Class="WpfApp1.MainWindow"
  6455.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6456.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6457.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6458.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6459.         mc:Ignorable="d"
  6460.         Title="MainWindow" Height="800" Width="1200">
  6461.     <StackPanel>
  6462.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6463.                  Style="{StaticResource TouchTextBox}"/>
  6464.     </StackPanel>
  6465. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6466. <Window x:Class="WpfApp1.MainWindow"
  6467.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6468.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6469.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6470.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6471.         mc:Ignorable="d"
  6472.         Title="MainWindow" Height="800" Width="1200">
  6473.     <StackPanel>
  6474.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6475.                  Style="{StaticResource TouchTextBox}"/>
  6476.     </StackPanel>
  6477. </Window>    x:Class="WpfApp1.TouchTextBox">
  6478.    
  6479. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6480. <Window x:Class="WpfApp1.MainWindow"
  6481.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6482.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6483.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6484.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6485.         mc:Ignorable="d"
  6486.         Title="MainWindow" Height="800" Width="1200">
  6487.     <StackPanel>
  6488.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6489.                  Style="{StaticResource TouchTextBox}"/>
  6490.     </StackPanel>
  6491. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6492. <Window x:Class="WpfApp1.MainWindow"
  6493.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6494.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6495.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6496.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6497.         mc:Ignorable="d"
  6498.         Title="MainWindow" Height="800" Width="1200">
  6499.     <StackPanel>
  6500.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6501.                  Style="{StaticResource TouchTextBox}"/>
  6502.     </StackPanel>
  6503. </Window>    x:Class="WpfApp1.TouchTextBox">
  6504.    
  6505. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6506. <Window x:Class="WpfApp1.MainWindow"
  6507.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6508.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6509.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6510.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6511.         mc:Ignorable="d"
  6512.         Title="MainWindow" Height="800" Width="1200">
  6513.     <StackPanel>
  6514.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6515.                  Style="{StaticResource TouchTextBox}"/>
  6516.     </StackPanel>
  6517. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6518. <Window x:Class="WpfApp1.MainWindow"
  6519.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6520.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6521.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6522.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6523.         mc:Ignorable="d"
  6524.         Title="MainWindow" Height="800" Width="1200">
  6525.     <StackPanel>
  6526.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6527.                  Style="{StaticResource TouchTextBox}"/>
  6528.     </StackPanel>
  6529. </Window>    x:Class="WpfApp1.TouchTextBox">
  6530.    
  6531. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6532. <Window x:Class="WpfApp1.MainWindow"
  6533.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6534.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6535.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6536.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6537.         mc:Ignorable="d"
  6538.         Title="MainWindow" Height="800" Width="1200">
  6539.     <StackPanel>
  6540.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6541.                  Style="{StaticResource TouchTextBox}"/>
  6542.     </StackPanel>
  6543. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6544. <Window x:Class="WpfApp1.MainWindow"
  6545.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6546.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6547.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6548.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6549.         mc:Ignorable="d"
  6550.         Title="MainWindow" Height="800" Width="1200">
  6551.     <StackPanel>
  6552.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6553.                  Style="{StaticResource TouchTextBox}"/>
  6554.     </StackPanel>
  6555. </Window>    x:Class="WpfApp1.TouchTextBox">
  6556.    
  6557. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6558. <Window x:Class="WpfApp1.MainWindow"
  6559.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6560.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6561.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6562.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6563.         mc:Ignorable="d"
  6564.         Title="MainWindow" Height="800" Width="1200">
  6565.     <StackPanel>
  6566.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6567.                  Style="{StaticResource TouchTextBox}"/>
  6568.     </StackPanel>
  6569. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6570. <Window x:Class="WpfApp1.MainWindow"
  6571.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6572.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6573.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6574.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6575.         mc:Ignorable="d"
  6576.         Title="MainWindow" Height="800" Width="1200">
  6577.     <StackPanel>
  6578.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6579.                  Style="{StaticResource TouchTextBox}"/>
  6580.     </StackPanel>
  6581. </Window>    x:Class="WpfApp1.TouchTextBox">
  6582.    
  6583. </ResourceDictionary> Click="Button_Click"/>
  6584. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6585. <Window x:Class="WpfApp1.MainWindow"
  6586.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6587.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6588.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6589.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6590.         mc:Ignorable="d"
  6591.         Title="MainWindow" Height="800" Width="1200">
  6592.     <StackPanel>
  6593.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6594.                  Style="{StaticResource TouchTextBox}"/>
  6595.     </StackPanel>
  6596. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6597. <Window x:Class="WpfApp1.MainWindow"
  6598.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6599.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6600.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6601.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6602.         mc:Ignorable="d"
  6603.         Title="MainWindow" Height="800" Width="1200">
  6604.     <StackPanel>
  6605.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6606.                  Style="{StaticResource TouchTextBox}"/>
  6607.     </StackPanel>
  6608. </Window>    x:Class="WpfApp1.TouchTextBox">
  6609.    
  6610. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6611. <Window x:Class="WpfApp1.MainWindow"
  6612.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6613.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6614.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6615.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6616.         mc:Ignorable="d"
  6617.         Title="MainWindow" Height="800" Width="1200">
  6618.     <StackPanel>
  6619.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6620.                  Style="{StaticResource TouchTextBox}"/>
  6621.     </StackPanel>
  6622. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6623. <Window x:Class="WpfApp1.MainWindow"
  6624.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6625.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6626.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6627.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6628.         mc:Ignorable="d"
  6629.         Title="MainWindow" Height="800" Width="1200">
  6630.     <StackPanel>
  6631.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6632.                  Style="{StaticResource TouchTextBox}"/>
  6633.     </StackPanel>
  6634. </Window>    x:Class="WpfApp1.TouchTextBox">
  6635.    
  6636. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6637. <Window x:Class="WpfApp1.MainWindow"
  6638.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6639.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6640.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6641.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6642.         mc:Ignorable="d"
  6643.         Title="MainWindow" Height="800" Width="1200">
  6644.     <StackPanel>
  6645.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6646.                  Style="{StaticResource TouchTextBox}"/>
  6647.     </StackPanel>
  6648. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6649. <Window x:Class="WpfApp1.MainWindow"
  6650.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6651.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6652.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6653.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6654.         mc:Ignorable="d"
  6655.         Title="MainWindow" Height="800" Width="1200">
  6656.     <StackPanel>
  6657.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6658.                  Style="{StaticResource TouchTextBox}"/>
  6659.     </StackPanel>
  6660. </Window>    x:Class="WpfApp1.TouchTextBox">
  6661.    
  6662. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6663. <Window x:Class="WpfApp1.MainWindow"
  6664.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6665.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6666.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6667.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6668.         mc:Ignorable="d"
  6669.         Title="MainWindow" Height="800" Width="1200">
  6670.     <StackPanel>
  6671.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6672.                  Style="{StaticResource TouchTextBox}"/>
  6673.     </StackPanel>
  6674. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6675. <Window x:Class="WpfApp1.MainWindow"
  6676.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6677.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6678.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6679.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6680.         mc:Ignorable="d"
  6681.         Title="MainWindow" Height="800" Width="1200">
  6682.     <StackPanel>
  6683.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6684.                  Style="{StaticResource TouchTextBox}"/>
  6685.     </StackPanel>
  6686. </Window>    x:Class="WpfApp1.TouchTextBox">
  6687.    
  6688. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6689. <Window x:Class="WpfApp1.MainWindow"
  6690.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6691.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6692.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6693.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6694.         mc:Ignorable="d"
  6695.         Title="MainWindow" Height="800" Width="1200">
  6696.     <StackPanel>
  6697.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6698.                  Style="{StaticResource TouchTextBox}"/>
  6699.     </StackPanel>
  6700. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6701. <Window x:Class="WpfApp1.MainWindow"
  6702.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6703.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6704.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6705.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6706.         mc:Ignorable="d"
  6707.         Title="MainWindow" Height="800" Width="1200">
  6708.     <StackPanel>
  6709.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6710.                  Style="{StaticResource TouchTextBox}"/>
  6711.     </StackPanel>
  6712. </Window>    x:Class="WpfApp1.TouchTextBox">
  6713.    
  6714. </ResourceDictionary><Button Content="Clear" Click="ClearButton_Click"  Style="{StaticResource btnFunc}"  />
  6715. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6716. <Window x:Class="WpfApp1.MainWindow"
  6717.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6718.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6719.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6720.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6721.         mc:Ignorable="d"
  6722.         Title="MainWindow" Height="800" Width="1200">
  6723.     <StackPanel>
  6724.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6725.                  Style="{StaticResource TouchTextBox}"/>
  6726.     </StackPanel>
  6727. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6728. <Window x:Class="WpfApp1.MainWindow"
  6729.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6730.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6731.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6732.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6733.         mc:Ignorable="d"
  6734.         Title="MainWindow" Height="800" Width="1200">
  6735.     <StackPanel>
  6736.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6737.                  Style="{StaticResource TouchTextBox}"/>
  6738.     </StackPanel>
  6739. </Window>    x:Class="WpfApp1.TouchTextBox">
  6740.    
  6741. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6742. <Window x:Class="WpfApp1.MainWindow"
  6743.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6744.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6745.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6746.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6747.         mc:Ignorable="d"
  6748.         Title="MainWindow" Height="800" Width="1200">
  6749.     <StackPanel>
  6750.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6751.                  Style="{StaticResource TouchTextBox}"/>
  6752.     </StackPanel>
  6753. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6754. <Window x:Class="WpfApp1.MainWindow"
  6755.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6756.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6757.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6758.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6759.         mc:Ignorable="d"
  6760.         Title="MainWindow" Height="800" Width="1200">
  6761.     <StackPanel>
  6762.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6763.                  Style="{StaticResource TouchTextBox}"/>
  6764.     </StackPanel>
  6765. </Window>    x:Class="WpfApp1.TouchTextBox">
  6766.    
  6767. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6768. <Window x:Class="WpfApp1.MainWindow"
  6769.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6770.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6771.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6772.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6773.         mc:Ignorable="d"
  6774.         Title="MainWindow" Height="800" Width="1200">
  6775.     <StackPanel>
  6776.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6777.                  Style="{StaticResource TouchTextBox}"/>
  6778.     </StackPanel>
  6779. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6780. <Window x:Class="WpfApp1.MainWindow"
  6781.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6782.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6783.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6784.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6785.         mc:Ignorable="d"
  6786.         Title="MainWindow" Height="800" Width="1200">
  6787.     <StackPanel>
  6788.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6789.                  Style="{StaticResource TouchTextBox}"/>
  6790.     </StackPanel>
  6791. </Window>    x:Class="WpfApp1.TouchTextBox">
  6792.    
  6793. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6794. <Window x:Class="WpfApp1.MainWindow"
  6795.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6796.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6797.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6798.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6799.         mc:Ignorable="d"
  6800.         Title="MainWindow" Height="800" Width="1200">
  6801.     <StackPanel>
  6802.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6803.                  Style="{StaticResource TouchTextBox}"/>
  6804.     </StackPanel>
  6805. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6806. <Window x:Class="WpfApp1.MainWindow"
  6807.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6808.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6809.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6810.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6811.         mc:Ignorable="d"
  6812.         Title="MainWindow" Height="800" Width="1200">
  6813.     <StackPanel>
  6814.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6815.                  Style="{StaticResource TouchTextBox}"/>
  6816.     </StackPanel>
  6817. </Window>    x:Class="WpfApp1.TouchTextBox">
  6818.    
  6819. </ResourceDictionary></WrapPanel>
  6820. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6821. <Window x:Class="WpfApp1.MainWindow"
  6822.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6823.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6824.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6825.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6826.         mc:Ignorable="d"
  6827.         Title="MainWindow" Height="800" Width="1200">
  6828.     <StackPanel>
  6829.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6830.                  Style="{StaticResource TouchTextBox}"/>
  6831.     </StackPanel>
  6832. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6833. <Window x:Class="WpfApp1.MainWindow"
  6834.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6835.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6836.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6837.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6838.         mc:Ignorable="d"
  6839.         Title="MainWindow" Height="800" Width="1200">
  6840.     <StackPanel>
  6841.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6842.                  Style="{StaticResource TouchTextBox}"/>
  6843.     </StackPanel>
  6844. </Window>    x:Class="WpfApp1.TouchTextBox">
  6845.    
  6846. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6847. <Window x:Class="WpfApp1.MainWindow"
  6848.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6849.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6850.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6851.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6852.         mc:Ignorable="d"
  6853.         Title="MainWindow" Height="800" Width="1200">
  6854.     <StackPanel>
  6855.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6856.                  Style="{StaticResource TouchTextBox}"/>
  6857.     </StackPanel>
  6858. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6859. <Window x:Class="WpfApp1.MainWindow"
  6860.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6861.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6862.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6863.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6864.         mc:Ignorable="d"
  6865.         Title="MainWindow" Height="800" Width="1200">
  6866.     <StackPanel>
  6867.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6868.                  Style="{StaticResource TouchTextBox}"/>
  6869.     </StackPanel>
  6870. </Window>    x:Class="WpfApp1.TouchTextBox">
  6871.    
  6872. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6873. <Window x:Class="WpfApp1.MainWindow"
  6874.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6875.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6876.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6877.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6878.         mc:Ignorable="d"
  6879.         Title="MainWindow" Height="800" Width="1200">
  6880.     <StackPanel>
  6881.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6882.                  Style="{StaticResource TouchTextBox}"/>
  6883.     </StackPanel>
  6884. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6885. <Window x:Class="WpfApp1.MainWindow"
  6886.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6887.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6888.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6889.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6890.         mc:Ignorable="d"
  6891.         Title="MainWindow" Height="800" Width="1200">
  6892.     <StackPanel>
  6893.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6894.                  Style="{StaticResource TouchTextBox}"/>
  6895.     </StackPanel>
  6896. </Window>    x:Class="WpfApp1.TouchTextBox">
  6897.    
  6898. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6899. <Window x:Class="WpfApp1.MainWindow"
  6900.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6901.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6902.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6903.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6904.         mc:Ignorable="d"
  6905.         Title="MainWindow" Height="800" Width="1200">
  6906.     <StackPanel>
  6907.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6908.                  Style="{StaticResource TouchTextBox}"/>
  6909.     </StackPanel>
  6910. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6911. <Window x:Class="WpfApp1.MainWindow"
  6912.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6913.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6914.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6915.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6916.         mc:Ignorable="d"
  6917.         Title="MainWindow" Height="800" Width="1200">
  6918.     <StackPanel>
  6919.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6920.                  Style="{StaticResource TouchTextBox}"/>
  6921.     </StackPanel>
  6922. </Window>    x:Class="WpfApp1.TouchTextBox">
  6923.    
  6924. </ResourceDictionary><WrapPanel Margin="45 0 0 0">
  6925. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6926. <Window x:Class="WpfApp1.MainWindow"
  6927.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6928.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6929.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6930.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6931.         mc:Ignorable="d"
  6932.         Title="MainWindow" Height="800" Width="1200">
  6933.     <StackPanel>
  6934.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6935.                  Style="{StaticResource TouchTextBox}"/>
  6936.     </StackPanel>
  6937. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6938. <Window x:Class="WpfApp1.MainWindow"
  6939.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6940.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6941.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6942.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6943.         mc:Ignorable="d"
  6944.         Title="MainWindow" Height="800" Width="1200">
  6945.     <StackPanel>
  6946.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6947.                  Style="{StaticResource TouchTextBox}"/>
  6948.     </StackPanel>
  6949. </Window>    x:Class="WpfApp1.TouchTextBox">
  6950.    
  6951. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6952. <Window x:Class="WpfApp1.MainWindow"
  6953.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6954.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6955.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6956.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6957.         mc:Ignorable="d"
  6958.         Title="MainWindow" Height="800" Width="1200">
  6959.     <StackPanel>
  6960.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6961.                  Style="{StaticResource TouchTextBox}"/>
  6962.     </StackPanel>
  6963. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6964. <Window x:Class="WpfApp1.MainWindow"
  6965.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6966.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6967.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6968.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6969.         mc:Ignorable="d"
  6970.         Title="MainWindow" Height="800" Width="1200">
  6971.     <StackPanel>
  6972.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6973.                  Style="{StaticResource TouchTextBox}"/>
  6974.     </StackPanel>
  6975. </Window>    x:Class="WpfApp1.TouchTextBox">
  6976.    
  6977. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6978. <Window x:Class="WpfApp1.MainWindow"
  6979.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6980.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6981.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6982.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6983.         mc:Ignorable="d"
  6984.         Title="MainWindow" Height="800" Width="1200">
  6985.     <StackPanel>
  6986.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6987.                  Style="{StaticResource TouchTextBox}"/>
  6988.     </StackPanel>
  6989. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6990. <Window x:Class="WpfApp1.MainWindow"
  6991.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6992.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6993.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6994.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6995.         mc:Ignorable="d"
  6996.         Title="MainWindow" Height="800" Width="1200">
  6997.     <StackPanel>
  6998.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  6999.                  Style="{StaticResource TouchTextBox}"/>
  7000.     </StackPanel>
  7001. </Window>    x:Class="WpfApp1.TouchTextBox">
  7002.    
  7003. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7004. <Window x:Class="WpfApp1.MainWindow"
  7005.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7006.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7007.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7008.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7009.         mc:Ignorable="d"
  7010.         Title="MainWindow" Height="800" Width="1200">
  7011.     <StackPanel>
  7012.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7013.                  Style="{StaticResource TouchTextBox}"/>
  7014.     </StackPanel>
  7015. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7016. <Window x:Class="WpfApp1.MainWindow"
  7017.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7018.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7019.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7020.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7021.         mc:Ignorable="d"
  7022.         Title="MainWindow" Height="800" Width="1200">
  7023.     <StackPanel>
  7024.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7025.                  Style="{StaticResource TouchTextBox}"/>
  7026.     </StackPanel>
  7027. </Window>    x:Class="WpfApp1.TouchTextBox">
  7028.    
  7029. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7030. <Window x:Class="WpfApp1.MainWindow"
  7031.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7032.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7033.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7034.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7035.         mc:Ignorable="d"
  7036.         Title="MainWindow" Height="800" Width="1200">
  7037.     <StackPanel>
  7038.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7039.                  Style="{StaticResource TouchTextBox}"/>
  7040.     </StackPanel>
  7041. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7042. <Window x:Class="WpfApp1.MainWindow"
  7043.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7044.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7045.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7046.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7047.         mc:Ignorable="d"
  7048.         Title="MainWindow" Height="800" Width="1200">
  7049.     <StackPanel>
  7050.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7051.                  Style="{StaticResource TouchTextBox}"/>
  7052.     </StackPanel>
  7053. </Window>    x:Class="WpfApp1.TouchTextBox">
  7054.    
  7055. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=a}"
  7056. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7057. <Window x:Class="WpfApp1.MainWindow"
  7058.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7059.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7060.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7061.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7062.         mc:Ignorable="d"
  7063.         Title="MainWindow" Height="800" Width="1200">
  7064.     <StackPanel>
  7065.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7066.                  Style="{StaticResource TouchTextBox}"/>
  7067.     </StackPanel>
  7068. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7069. <Window x:Class="WpfApp1.MainWindow"
  7070.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7071.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7072.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7073.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7074.         mc:Ignorable="d"
  7075.         Title="MainWindow" Height="800" Width="1200">
  7076.     <StackPanel>
  7077.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7078.                  Style="{StaticResource TouchTextBox}"/>
  7079.     </StackPanel>
  7080. </Window>    x:Class="WpfApp1.TouchTextBox">
  7081.    
  7082. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7083. <Window x:Class="WpfApp1.MainWindow"
  7084.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7085.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7086.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7087.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7088.         mc:Ignorable="d"
  7089.         Title="MainWindow" Height="800" Width="1200">
  7090.     <StackPanel>
  7091.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7092.                  Style="{StaticResource TouchTextBox}"/>
  7093.     </StackPanel>
  7094. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7095. <Window x:Class="WpfApp1.MainWindow"
  7096.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7097.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7098.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7099.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7100.         mc:Ignorable="d"
  7101.         Title="MainWindow" Height="800" Width="1200">
  7102.     <StackPanel>
  7103.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7104.                  Style="{StaticResource TouchTextBox}"/>
  7105.     </StackPanel>
  7106. </Window>    x:Class="WpfApp1.TouchTextBox">
  7107.    
  7108. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7109. <Window x:Class="WpfApp1.MainWindow"
  7110.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7111.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7112.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7113.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7114.         mc:Ignorable="d"
  7115.         Title="MainWindow" Height="800" Width="1200">
  7116.     <StackPanel>
  7117.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7118.                  Style="{StaticResource TouchTextBox}"/>
  7119.     </StackPanel>
  7120. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7121. <Window x:Class="WpfApp1.MainWindow"
  7122.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7123.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7124.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7125.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7126.         mc:Ignorable="d"
  7127.         Title="MainWindow" Height="800" Width="1200">
  7128.     <StackPanel>
  7129.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7130.                  Style="{StaticResource TouchTextBox}"/>
  7131.     </StackPanel>
  7132. </Window>    x:Class="WpfApp1.TouchTextBox">
  7133.    
  7134. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7135. <Window x:Class="WpfApp1.MainWindow"
  7136.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7137.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7138.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7139.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7140.         mc:Ignorable="d"
  7141.         Title="MainWindow" Height="800" Width="1200">
  7142.     <StackPanel>
  7143.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7144.                  Style="{StaticResource TouchTextBox}"/>
  7145.     </StackPanel>
  7146. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7147. <Window x:Class="WpfApp1.MainWindow"
  7148.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7149.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7150.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7151.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7152.         mc:Ignorable="d"
  7153.         Title="MainWindow" Height="800" Width="1200">
  7154.     <StackPanel>
  7155.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7156.                  Style="{StaticResource TouchTextBox}"/>
  7157.     </StackPanel>
  7158. </Window>    x:Class="WpfApp1.TouchTextBox">
  7159.    
  7160. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7161. <Window x:Class="WpfApp1.MainWindow"
  7162.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7163.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7164.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7165.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7166.         mc:Ignorable="d"
  7167.         Title="MainWindow" Height="800" Width="1200">
  7168.     <StackPanel>
  7169.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7170.                  Style="{StaticResource TouchTextBox}"/>
  7171.     </StackPanel>
  7172. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7173. <Window x:Class="WpfApp1.MainWindow"
  7174.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7175.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7176.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7177.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7178.         mc:Ignorable="d"
  7179.         Title="MainWindow" Height="800" Width="1200">
  7180.     <StackPanel>
  7181.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7182.                  Style="{StaticResource TouchTextBox}"/>
  7183.     </StackPanel>
  7184. </Window>    x:Class="WpfApp1.TouchTextBox">
  7185.    
  7186. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7187. <Window x:Class="WpfApp1.MainWindow"
  7188.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7189.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7190.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7191.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7192.         mc:Ignorable="d"
  7193.         Title="MainWindow" Height="800" Width="1200">
  7194.     <StackPanel>
  7195.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7196.                  Style="{StaticResource TouchTextBox}"/>
  7197.     </StackPanel>
  7198. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7199. <Window x:Class="WpfApp1.MainWindow"
  7200.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7201.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7202.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7203.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7204.         mc:Ignorable="d"
  7205.         Title="MainWindow" Height="800" Width="1200">
  7206.     <StackPanel>
  7207.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7208.                  Style="{StaticResource TouchTextBox}"/>
  7209.     </StackPanel>
  7210. </Window>    x:Class="WpfApp1.TouchTextBox">
  7211.    
  7212. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7213. <Window x:Class="WpfApp1.MainWindow"
  7214.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7215.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7216.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7217.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7218.         mc:Ignorable="d"
  7219.         Title="MainWindow" Height="800" Width="1200">
  7220.     <StackPanel>
  7221.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7222.                  Style="{StaticResource TouchTextBox}"/>
  7223.     </StackPanel>
  7224. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7225. <Window x:Class="WpfApp1.MainWindow"
  7226.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7227.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7228.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7229.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7230.         mc:Ignorable="d"
  7231.         Title="MainWindow" Height="800" Width="1200">
  7232.     <StackPanel>
  7233.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7234.                  Style="{StaticResource TouchTextBox}"/>
  7235.     </StackPanel>
  7236. </Window>    x:Class="WpfApp1.TouchTextBox">
  7237.    
  7238. </ResourceDictionary> Click="Button_Click"/>
  7239. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7240. <Window x:Class="WpfApp1.MainWindow"
  7241.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7242.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7243.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7244.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7245.         mc:Ignorable="d"
  7246.         Title="MainWindow" Height="800" Width="1200">
  7247.     <StackPanel>
  7248.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7249.                  Style="{StaticResource TouchTextBox}"/>
  7250.     </StackPanel>
  7251. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7252. <Window x:Class="WpfApp1.MainWindow"
  7253.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7254.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7255.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7256.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7257.         mc:Ignorable="d"
  7258.         Title="MainWindow" Height="800" Width="1200">
  7259.     <StackPanel>
  7260.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7261.                  Style="{StaticResource TouchTextBox}"/>
  7262.     </StackPanel>
  7263. </Window>    x:Class="WpfApp1.TouchTextBox">
  7264.    
  7265. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7266. <Window x:Class="WpfApp1.MainWindow"
  7267.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7268.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7269.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7270.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7271.         mc:Ignorable="d"
  7272.         Title="MainWindow" Height="800" Width="1200">
  7273.     <StackPanel>
  7274.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7275.                  Style="{StaticResource TouchTextBox}"/>
  7276.     </StackPanel>
  7277. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7278. <Window x:Class="WpfApp1.MainWindow"
  7279.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7280.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7281.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7282.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7283.         mc:Ignorable="d"
  7284.         Title="MainWindow" Height="800" Width="1200">
  7285.     <StackPanel>
  7286.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7287.                  Style="{StaticResource TouchTextBox}"/>
  7288.     </StackPanel>
  7289. </Window>    x:Class="WpfApp1.TouchTextBox">
  7290.    
  7291. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7292. <Window x:Class="WpfApp1.MainWindow"
  7293.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7294.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7295.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7296.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7297.         mc:Ignorable="d"
  7298.         Title="MainWindow" Height="800" Width="1200">
  7299.     <StackPanel>
  7300.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7301.                  Style="{StaticResource TouchTextBox}"/>
  7302.     </StackPanel>
  7303. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7304. <Window x:Class="WpfApp1.MainWindow"
  7305.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7306.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7307.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7308.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7309.         mc:Ignorable="d"
  7310.         Title="MainWindow" Height="800" Width="1200">
  7311.     <StackPanel>
  7312.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7313.                  Style="{StaticResource TouchTextBox}"/>
  7314.     </StackPanel>
  7315. </Window>    x:Class="WpfApp1.TouchTextBox">
  7316.    
  7317. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7318. <Window x:Class="WpfApp1.MainWindow"
  7319.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7320.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7321.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7322.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7323.         mc:Ignorable="d"
  7324.         Title="MainWindow" Height="800" Width="1200">
  7325.     <StackPanel>
  7326.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7327.                  Style="{StaticResource TouchTextBox}"/>
  7328.     </StackPanel>
  7329. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7330. <Window x:Class="WpfApp1.MainWindow"
  7331.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7332.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7333.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7334.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7335.         mc:Ignorable="d"
  7336.         Title="MainWindow" Height="800" Width="1200">
  7337.     <StackPanel>
  7338.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7339.                  Style="{StaticResource TouchTextBox}"/>
  7340.     </StackPanel>
  7341. </Window>    x:Class="WpfApp1.TouchTextBox">
  7342.    
  7343. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7344. <Window x:Class="WpfApp1.MainWindow"
  7345.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7346.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7347.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7348.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7349.         mc:Ignorable="d"
  7350.         Title="MainWindow" Height="800" Width="1200">
  7351.     <StackPanel>
  7352.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7353.                  Style="{StaticResource TouchTextBox}"/>
  7354.     </StackPanel>
  7355. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7356. <Window x:Class="WpfApp1.MainWindow"
  7357.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7358.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7359.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7360.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7361.         mc:Ignorable="d"
  7362.         Title="MainWindow" Height="800" Width="1200">
  7363.     <StackPanel>
  7364.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7365.                  Style="{StaticResource TouchTextBox}"/>
  7366.     </StackPanel>
  7367. </Window>    x:Class="WpfApp1.TouchTextBox">
  7368.    
  7369. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=s}"
  7370. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7371. <Window x:Class="WpfApp1.MainWindow"
  7372.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7373.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7374.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7375.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7376.         mc:Ignorable="d"
  7377.         Title="MainWindow" Height="800" Width="1200">
  7378.     <StackPanel>
  7379.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7380.                  Style="{StaticResource TouchTextBox}"/>
  7381.     </StackPanel>
  7382. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7383. <Window x:Class="WpfApp1.MainWindow"
  7384.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7385.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7386.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7387.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7388.         mc:Ignorable="d"
  7389.         Title="MainWindow" Height="800" Width="1200">
  7390.     <StackPanel>
  7391.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7392.                  Style="{StaticResource TouchTextBox}"/>
  7393.     </StackPanel>
  7394. </Window>    x:Class="WpfApp1.TouchTextBox">
  7395.    
  7396. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7397. <Window x:Class="WpfApp1.MainWindow"
  7398.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7399.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7400.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7401.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7402.         mc:Ignorable="d"
  7403.         Title="MainWindow" Height="800" Width="1200">
  7404.     <StackPanel>
  7405.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7406.                  Style="{StaticResource TouchTextBox}"/>
  7407.     </StackPanel>
  7408. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7409. <Window x:Class="WpfApp1.MainWindow"
  7410.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7411.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7412.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7413.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7414.         mc:Ignorable="d"
  7415.         Title="MainWindow" Height="800" Width="1200">
  7416.     <StackPanel>
  7417.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7418.                  Style="{StaticResource TouchTextBox}"/>
  7419.     </StackPanel>
  7420. </Window>    x:Class="WpfApp1.TouchTextBox">
  7421.    
  7422. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7423. <Window x:Class="WpfApp1.MainWindow"
  7424.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7425.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7426.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7427.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7428.         mc:Ignorable="d"
  7429.         Title="MainWindow" Height="800" Width="1200">
  7430.     <StackPanel>
  7431.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7432.                  Style="{StaticResource TouchTextBox}"/>
  7433.     </StackPanel>
  7434. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7435. <Window x:Class="WpfApp1.MainWindow"
  7436.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7437.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7438.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7439.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7440.         mc:Ignorable="d"
  7441.         Title="MainWindow" Height="800" Width="1200">
  7442.     <StackPanel>
  7443.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7444.                  Style="{StaticResource TouchTextBox}"/>
  7445.     </StackPanel>
  7446. </Window>    x:Class="WpfApp1.TouchTextBox">
  7447.    
  7448. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7449. <Window x:Class="WpfApp1.MainWindow"
  7450.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7451.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7452.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7453.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7454.         mc:Ignorable="d"
  7455.         Title="MainWindow" Height="800" Width="1200">
  7456.     <StackPanel>
  7457.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7458.                  Style="{StaticResource TouchTextBox}"/>
  7459.     </StackPanel>
  7460. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7461. <Window x:Class="WpfApp1.MainWindow"
  7462.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7463.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7464.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7465.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7466.         mc:Ignorable="d"
  7467.         Title="MainWindow" Height="800" Width="1200">
  7468.     <StackPanel>
  7469.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7470.                  Style="{StaticResource TouchTextBox}"/>
  7471.     </StackPanel>
  7472. </Window>    x:Class="WpfApp1.TouchTextBox">
  7473.    
  7474. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7475. <Window x:Class="WpfApp1.MainWindow"
  7476.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7477.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7478.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7479.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7480.         mc:Ignorable="d"
  7481.         Title="MainWindow" Height="800" Width="1200">
  7482.     <StackPanel>
  7483.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7484.                  Style="{StaticResource TouchTextBox}"/>
  7485.     </StackPanel>
  7486. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7487. <Window x:Class="WpfApp1.MainWindow"
  7488.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7489.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7490.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7491.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7492.         mc:Ignorable="d"
  7493.         Title="MainWindow" Height="800" Width="1200">
  7494.     <StackPanel>
  7495.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7496.                  Style="{StaticResource TouchTextBox}"/>
  7497.     </StackPanel>
  7498. </Window>    x:Class="WpfApp1.TouchTextBox">
  7499.    
  7500. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7501. <Window x:Class="WpfApp1.MainWindow"
  7502.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7503.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7504.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7505.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7506.         mc:Ignorable="d"
  7507.         Title="MainWindow" Height="800" Width="1200">
  7508.     <StackPanel>
  7509.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7510.                  Style="{StaticResource TouchTextBox}"/>
  7511.     </StackPanel>
  7512. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7513. <Window x:Class="WpfApp1.MainWindow"
  7514.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7515.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7516.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7517.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7518.         mc:Ignorable="d"
  7519.         Title="MainWindow" Height="800" Width="1200">
  7520.     <StackPanel>
  7521.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7522.                  Style="{StaticResource TouchTextBox}"/>
  7523.     </StackPanel>
  7524. </Window>    x:Class="WpfApp1.TouchTextBox">
  7525.    
  7526. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7527. <Window x:Class="WpfApp1.MainWindow"
  7528.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7529.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7530.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7531.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7532.         mc:Ignorable="d"
  7533.         Title="MainWindow" Height="800" Width="1200">
  7534.     <StackPanel>
  7535.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7536.                  Style="{StaticResource TouchTextBox}"/>
  7537.     </StackPanel>
  7538. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7539. <Window x:Class="WpfApp1.MainWindow"
  7540.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7541.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7542.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7543.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7544.         mc:Ignorable="d"
  7545.         Title="MainWindow" Height="800" Width="1200">
  7546.     <StackPanel>
  7547.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7548.                  Style="{StaticResource TouchTextBox}"/>
  7549.     </StackPanel>
  7550. </Window>    x:Class="WpfApp1.TouchTextBox">
  7551.    
  7552. </ResourceDictionary> Click="Button_Click"/>
  7553. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7554. <Window x:Class="WpfApp1.MainWindow"
  7555.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7556.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7557.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7558.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7559.         mc:Ignorable="d"
  7560.         Title="MainWindow" Height="800" Width="1200">
  7561.     <StackPanel>
  7562.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7563.                  Style="{StaticResource TouchTextBox}"/>
  7564.     </StackPanel>
  7565. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7566. <Window x:Class="WpfApp1.MainWindow"
  7567.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7568.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7569.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7570.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7571.         mc:Ignorable="d"
  7572.         Title="MainWindow" Height="800" Width="1200">
  7573.     <StackPanel>
  7574.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7575.                  Style="{StaticResource TouchTextBox}"/>
  7576.     </StackPanel>
  7577. </Window>    x:Class="WpfApp1.TouchTextBox">
  7578.    
  7579. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7580. <Window x:Class="WpfApp1.MainWindow"
  7581.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7582.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7583.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7584.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7585.         mc:Ignorable="d"
  7586.         Title="MainWindow" Height="800" Width="1200">
  7587.     <StackPanel>
  7588.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7589.                  Style="{StaticResource TouchTextBox}"/>
  7590.     </StackPanel>
  7591. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7592. <Window x:Class="WpfApp1.MainWindow"
  7593.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7594.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7595.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7596.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7597.         mc:Ignorable="d"
  7598.         Title="MainWindow" Height="800" Width="1200">
  7599.     <StackPanel>
  7600.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7601.                  Style="{StaticResource TouchTextBox}"/>
  7602.     </StackPanel>
  7603. </Window>    x:Class="WpfApp1.TouchTextBox">
  7604.    
  7605. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7606. <Window x:Class="WpfApp1.MainWindow"
  7607.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7608.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7609.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7610.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7611.         mc:Ignorable="d"
  7612.         Title="MainWindow" Height="800" Width="1200">
  7613.     <StackPanel>
  7614.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7615.                  Style="{StaticResource TouchTextBox}"/>
  7616.     </StackPanel>
  7617. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7618. <Window x:Class="WpfApp1.MainWindow"
  7619.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7620.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7621.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7622.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7623.         mc:Ignorable="d"
  7624.         Title="MainWindow" Height="800" Width="1200">
  7625.     <StackPanel>
  7626.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7627.                  Style="{StaticResource TouchTextBox}"/>
  7628.     </StackPanel>
  7629. </Window>    x:Class="WpfApp1.TouchTextBox">
  7630.    
  7631. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7632. <Window x:Class="WpfApp1.MainWindow"
  7633.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7634.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7635.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7636.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7637.         mc:Ignorable="d"
  7638.         Title="MainWindow" Height="800" Width="1200">
  7639.     <StackPanel>
  7640.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7641.                  Style="{StaticResource TouchTextBox}"/>
  7642.     </StackPanel>
  7643. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7644. <Window x:Class="WpfApp1.MainWindow"
  7645.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7646.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7647.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7648.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7649.         mc:Ignorable="d"
  7650.         Title="MainWindow" Height="800" Width="1200">
  7651.     <StackPanel>
  7652.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7653.                  Style="{StaticResource TouchTextBox}"/>
  7654.     </StackPanel>
  7655. </Window>    x:Class="WpfApp1.TouchTextBox">
  7656.    
  7657. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7658. <Window x:Class="WpfApp1.MainWindow"
  7659.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7660.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7661.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7662.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7663.         mc:Ignorable="d"
  7664.         Title="MainWindow" Height="800" Width="1200">
  7665.     <StackPanel>
  7666.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7667.                  Style="{StaticResource TouchTextBox}"/>
  7668.     </StackPanel>
  7669. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7670. <Window x:Class="WpfApp1.MainWindow"
  7671.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7672.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7673.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7674.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7675.         mc:Ignorable="d"
  7676.         Title="MainWindow" Height="800" Width="1200">
  7677.     <StackPanel>
  7678.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7679.                  Style="{StaticResource TouchTextBox}"/>
  7680.     </StackPanel>
  7681. </Window>    x:Class="WpfApp1.TouchTextBox">
  7682.    
  7683. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=d}"
  7684. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7685. <Window x:Class="WpfApp1.MainWindow"
  7686.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7687.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7688.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7689.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7690.         mc:Ignorable="d"
  7691.         Title="MainWindow" Height="800" Width="1200">
  7692.     <StackPanel>
  7693.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7694.                  Style="{StaticResource TouchTextBox}"/>
  7695.     </StackPanel>
  7696. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7697. <Window x:Class="WpfApp1.MainWindow"
  7698.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7699.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7700.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7701.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7702.         mc:Ignorable="d"
  7703.         Title="MainWindow" Height="800" Width="1200">
  7704.     <StackPanel>
  7705.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7706.                  Style="{StaticResource TouchTextBox}"/>
  7707.     </StackPanel>
  7708. </Window>    x:Class="WpfApp1.TouchTextBox">
  7709.    
  7710. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7711. <Window x:Class="WpfApp1.MainWindow"
  7712.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7713.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7714.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7715.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7716.         mc:Ignorable="d"
  7717.         Title="MainWindow" Height="800" Width="1200">
  7718.     <StackPanel>
  7719.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7720.                  Style="{StaticResource TouchTextBox}"/>
  7721.     </StackPanel>
  7722. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7723. <Window x:Class="WpfApp1.MainWindow"
  7724.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7725.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7726.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7727.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7728.         mc:Ignorable="d"
  7729.         Title="MainWindow" Height="800" Width="1200">
  7730.     <StackPanel>
  7731.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7732.                  Style="{StaticResource TouchTextBox}"/>
  7733.     </StackPanel>
  7734. </Window>    x:Class="WpfApp1.TouchTextBox">
  7735.    
  7736. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7737. <Window x:Class="WpfApp1.MainWindow"
  7738.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7739.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7740.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7741.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7742.         mc:Ignorable="d"
  7743.         Title="MainWindow" Height="800" Width="1200">
  7744.     <StackPanel>
  7745.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7746.                  Style="{StaticResource TouchTextBox}"/>
  7747.     </StackPanel>
  7748. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7749. <Window x:Class="WpfApp1.MainWindow"
  7750.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7751.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7752.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7753.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7754.         mc:Ignorable="d"
  7755.         Title="MainWindow" Height="800" Width="1200">
  7756.     <StackPanel>
  7757.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7758.                  Style="{StaticResource TouchTextBox}"/>
  7759.     </StackPanel>
  7760. </Window>    x:Class="WpfApp1.TouchTextBox">
  7761.    
  7762. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7763. <Window x:Class="WpfApp1.MainWindow"
  7764.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7765.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7766.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7767.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7768.         mc:Ignorable="d"
  7769.         Title="MainWindow" Height="800" Width="1200">
  7770.     <StackPanel>
  7771.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7772.                  Style="{StaticResource TouchTextBox}"/>
  7773.     </StackPanel>
  7774. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7775. <Window x:Class="WpfApp1.MainWindow"
  7776.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7777.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7778.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7779.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7780.         mc:Ignorable="d"
  7781.         Title="MainWindow" Height="800" Width="1200">
  7782.     <StackPanel>
  7783.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7784.                  Style="{StaticResource TouchTextBox}"/>
  7785.     </StackPanel>
  7786. </Window>    x:Class="WpfApp1.TouchTextBox">
  7787.    
  7788. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7789. <Window x:Class="WpfApp1.MainWindow"
  7790.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7791.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7792.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7793.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7794.         mc:Ignorable="d"
  7795.         Title="MainWindow" Height="800" Width="1200">
  7796.     <StackPanel>
  7797.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7798.                  Style="{StaticResource TouchTextBox}"/>
  7799.     </StackPanel>
  7800. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7801. <Window x:Class="WpfApp1.MainWindow"
  7802.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7803.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7804.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7805.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7806.         mc:Ignorable="d"
  7807.         Title="MainWindow" Height="800" Width="1200">
  7808.     <StackPanel>
  7809.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7810.                  Style="{StaticResource TouchTextBox}"/>
  7811.     </StackPanel>
  7812. </Window>    x:Class="WpfApp1.TouchTextBox">
  7813.    
  7814. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7815. <Window x:Class="WpfApp1.MainWindow"
  7816.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7817.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7818.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7819.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7820.         mc:Ignorable="d"
  7821.         Title="MainWindow" Height="800" Width="1200">
  7822.     <StackPanel>
  7823.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7824.                  Style="{StaticResource TouchTextBox}"/>
  7825.     </StackPanel>
  7826. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7827. <Window x:Class="WpfApp1.MainWindow"
  7828.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7829.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7830.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7831.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7832.         mc:Ignorable="d"
  7833.         Title="MainWindow" Height="800" Width="1200">
  7834.     <StackPanel>
  7835.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7836.                  Style="{StaticResource TouchTextBox}"/>
  7837.     </StackPanel>
  7838. </Window>    x:Class="WpfApp1.TouchTextBox">
  7839.    
  7840. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7841. <Window x:Class="WpfApp1.MainWindow"
  7842.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7843.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7844.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7845.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7846.         mc:Ignorable="d"
  7847.         Title="MainWindow" Height="800" Width="1200">
  7848.     <StackPanel>
  7849.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7850.                  Style="{StaticResource TouchTextBox}"/>
  7851.     </StackPanel>
  7852. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7853. <Window x:Class="WpfApp1.MainWindow"
  7854.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7855.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7856.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7857.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7858.         mc:Ignorable="d"
  7859.         Title="MainWindow" Height="800" Width="1200">
  7860.     <StackPanel>
  7861.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7862.                  Style="{StaticResource TouchTextBox}"/>
  7863.     </StackPanel>
  7864. </Window>    x:Class="WpfApp1.TouchTextBox">
  7865.    
  7866. </ResourceDictionary> Click="Button_Click"/>
  7867. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7868. <Window x:Class="WpfApp1.MainWindow"
  7869.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7870.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7871.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7872.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7873.         mc:Ignorable="d"
  7874.         Title="MainWindow" Height="800" Width="1200">
  7875.     <StackPanel>
  7876.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7877.                  Style="{StaticResource TouchTextBox}"/>
  7878.     </StackPanel>
  7879. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7880. <Window x:Class="WpfApp1.MainWindow"
  7881.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7882.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7883.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7884.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7885.         mc:Ignorable="d"
  7886.         Title="MainWindow" Height="800" Width="1200">
  7887.     <StackPanel>
  7888.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7889.                  Style="{StaticResource TouchTextBox}"/>
  7890.     </StackPanel>
  7891. </Window>    x:Class="WpfApp1.TouchTextBox">
  7892.    
  7893. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7894. <Window x:Class="WpfApp1.MainWindow"
  7895.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7896.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7897.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7898.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7899.         mc:Ignorable="d"
  7900.         Title="MainWindow" Height="800" Width="1200">
  7901.     <StackPanel>
  7902.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7903.                  Style="{StaticResource TouchTextBox}"/>
  7904.     </StackPanel>
  7905. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7906. <Window x:Class="WpfApp1.MainWindow"
  7907.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7908.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7909.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7910.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7911.         mc:Ignorable="d"
  7912.         Title="MainWindow" Height="800" Width="1200">
  7913.     <StackPanel>
  7914.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7915.                  Style="{StaticResource TouchTextBox}"/>
  7916.     </StackPanel>
  7917. </Window>    x:Class="WpfApp1.TouchTextBox">
  7918.    
  7919. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7920. <Window x:Class="WpfApp1.MainWindow"
  7921.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7922.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7923.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7924.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7925.         mc:Ignorable="d"
  7926.         Title="MainWindow" Height="800" Width="1200">
  7927.     <StackPanel>
  7928.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7929.                  Style="{StaticResource TouchTextBox}"/>
  7930.     </StackPanel>
  7931. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7932. <Window x:Class="WpfApp1.MainWindow"
  7933.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7934.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7935.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7936.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7937.         mc:Ignorable="d"
  7938.         Title="MainWindow" Height="800" Width="1200">
  7939.     <StackPanel>
  7940.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7941.                  Style="{StaticResource TouchTextBox}"/>
  7942.     </StackPanel>
  7943. </Window>    x:Class="WpfApp1.TouchTextBox">
  7944.    
  7945. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7946. <Window x:Class="WpfApp1.MainWindow"
  7947.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7948.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7949.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7950.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7951.         mc:Ignorable="d"
  7952.         Title="MainWindow" Height="800" Width="1200">
  7953.     <StackPanel>
  7954.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7955.                  Style="{StaticResource TouchTextBox}"/>
  7956.     </StackPanel>
  7957. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7958. <Window x:Class="WpfApp1.MainWindow"
  7959.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7960.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7961.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7962.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7963.         mc:Ignorable="d"
  7964.         Title="MainWindow" Height="800" Width="1200">
  7965.     <StackPanel>
  7966.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7967.                  Style="{StaticResource TouchTextBox}"/>
  7968.     </StackPanel>
  7969. </Window>    x:Class="WpfApp1.TouchTextBox">
  7970.    
  7971. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7972. <Window x:Class="WpfApp1.MainWindow"
  7973.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7974.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7975.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7976.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7977.         mc:Ignorable="d"
  7978.         Title="MainWindow" Height="800" Width="1200">
  7979.     <StackPanel>
  7980.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7981.                  Style="{StaticResource TouchTextBox}"/>
  7982.     </StackPanel>
  7983. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7984. <Window x:Class="WpfApp1.MainWindow"
  7985.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7986.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7987.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7988.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7989.         mc:Ignorable="d"
  7990.         Title="MainWindow" Height="800" Width="1200">
  7991.     <StackPanel>
  7992.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  7993.                  Style="{StaticResource TouchTextBox}"/>
  7994.     </StackPanel>
  7995. </Window>    x:Class="WpfApp1.TouchTextBox">
  7996.    
  7997. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=f}"
  7998. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  7999. <Window x:Class="WpfApp1.MainWindow"
  8000.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8001.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8002.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8003.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8004.         mc:Ignorable="d"
  8005.         Title="MainWindow" Height="800" Width="1200">
  8006.     <StackPanel>
  8007.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8008.                  Style="{StaticResource TouchTextBox}"/>
  8009.     </StackPanel>
  8010. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8011. <Window x:Class="WpfApp1.MainWindow"
  8012.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8013.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8014.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8015.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8016.         mc:Ignorable="d"
  8017.         Title="MainWindow" Height="800" Width="1200">
  8018.     <StackPanel>
  8019.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8020.                  Style="{StaticResource TouchTextBox}"/>
  8021.     </StackPanel>
  8022. </Window>    x:Class="WpfApp1.TouchTextBox">
  8023.    
  8024. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8025. <Window x:Class="WpfApp1.MainWindow"
  8026.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8027.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8028.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8029.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8030.         mc:Ignorable="d"
  8031.         Title="MainWindow" Height="800" Width="1200">
  8032.     <StackPanel>
  8033.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8034.                  Style="{StaticResource TouchTextBox}"/>
  8035.     </StackPanel>
  8036. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8037. <Window x:Class="WpfApp1.MainWindow"
  8038.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8039.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8040.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8041.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8042.         mc:Ignorable="d"
  8043.         Title="MainWindow" Height="800" Width="1200">
  8044.     <StackPanel>
  8045.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8046.                  Style="{StaticResource TouchTextBox}"/>
  8047.     </StackPanel>
  8048. </Window>    x:Class="WpfApp1.TouchTextBox">
  8049.    
  8050. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8051. <Window x:Class="WpfApp1.MainWindow"
  8052.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8053.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8054.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8055.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8056.         mc:Ignorable="d"
  8057.         Title="MainWindow" Height="800" Width="1200">
  8058.     <StackPanel>
  8059.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8060.                  Style="{StaticResource TouchTextBox}"/>
  8061.     </StackPanel>
  8062. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8063. <Window x:Class="WpfApp1.MainWindow"
  8064.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8065.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8066.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8067.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8068.         mc:Ignorable="d"
  8069.         Title="MainWindow" Height="800" Width="1200">
  8070.     <StackPanel>
  8071.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8072.                  Style="{StaticResource TouchTextBox}"/>
  8073.     </StackPanel>
  8074. </Window>    x:Class="WpfApp1.TouchTextBox">
  8075.    
  8076. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8077. <Window x:Class="WpfApp1.MainWindow"
  8078.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8079.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8080.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8081.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8082.         mc:Ignorable="d"
  8083.         Title="MainWindow" Height="800" Width="1200">
  8084.     <StackPanel>
  8085.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8086.                  Style="{StaticResource TouchTextBox}"/>
  8087.     </StackPanel>
  8088. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8089. <Window x:Class="WpfApp1.MainWindow"
  8090.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8091.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8092.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8093.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8094.         mc:Ignorable="d"
  8095.         Title="MainWindow" Height="800" Width="1200">
  8096.     <StackPanel>
  8097.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8098.                  Style="{StaticResource TouchTextBox}"/>
  8099.     </StackPanel>
  8100. </Window>    x:Class="WpfApp1.TouchTextBox">
  8101.    
  8102. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8103. <Window x:Class="WpfApp1.MainWindow"
  8104.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8105.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8106.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8107.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8108.         mc:Ignorable="d"
  8109.         Title="MainWindow" Height="800" Width="1200">
  8110.     <StackPanel>
  8111.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8112.                  Style="{StaticResource TouchTextBox}"/>
  8113.     </StackPanel>
  8114. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8115. <Window x:Class="WpfApp1.MainWindow"
  8116.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8117.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8118.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8119.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8120.         mc:Ignorable="d"
  8121.         Title="MainWindow" Height="800" Width="1200">
  8122.     <StackPanel>
  8123.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8124.                  Style="{StaticResource TouchTextBox}"/>
  8125.     </StackPanel>
  8126. </Window>    x:Class="WpfApp1.TouchTextBox">
  8127.    
  8128. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8129. <Window x:Class="WpfApp1.MainWindow"
  8130.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8131.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8132.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8133.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8134.         mc:Ignorable="d"
  8135.         Title="MainWindow" Height="800" Width="1200">
  8136.     <StackPanel>
  8137.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8138.                  Style="{StaticResource TouchTextBox}"/>
  8139.     </StackPanel>
  8140. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8141. <Window x:Class="WpfApp1.MainWindow"
  8142.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8143.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8144.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8145.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8146.         mc:Ignorable="d"
  8147.         Title="MainWindow" Height="800" Width="1200">
  8148.     <StackPanel>
  8149.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8150.                  Style="{StaticResource TouchTextBox}"/>
  8151.     </StackPanel>
  8152. </Window>    x:Class="WpfApp1.TouchTextBox">
  8153.    
  8154. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8155. <Window x:Class="WpfApp1.MainWindow"
  8156.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8157.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8158.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8159.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8160.         mc:Ignorable="d"
  8161.         Title="MainWindow" Height="800" Width="1200">
  8162.     <StackPanel>
  8163.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8164.                  Style="{StaticResource TouchTextBox}"/>
  8165.     </StackPanel>
  8166. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8167. <Window x:Class="WpfApp1.MainWindow"
  8168.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8169.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8170.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8171.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8172.         mc:Ignorable="d"
  8173.         Title="MainWindow" Height="800" Width="1200">
  8174.     <StackPanel>
  8175.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8176.                  Style="{StaticResource TouchTextBox}"/>
  8177.     </StackPanel>
  8178. </Window>    x:Class="WpfApp1.TouchTextBox">
  8179.    
  8180. </ResourceDictionary> Click="Button_Click"/>
  8181. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8182. <Window x:Class="WpfApp1.MainWindow"
  8183.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8184.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8185.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8186.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8187.         mc:Ignorable="d"
  8188.         Title="MainWindow" Height="800" Width="1200">
  8189.     <StackPanel>
  8190.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8191.                  Style="{StaticResource TouchTextBox}"/>
  8192.     </StackPanel>
  8193. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8194. <Window x:Class="WpfApp1.MainWindow"
  8195.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8196.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8197.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8198.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8199.         mc:Ignorable="d"
  8200.         Title="MainWindow" Height="800" Width="1200">
  8201.     <StackPanel>
  8202.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8203.                  Style="{StaticResource TouchTextBox}"/>
  8204.     </StackPanel>
  8205. </Window>    x:Class="WpfApp1.TouchTextBox">
  8206.    
  8207. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8208. <Window x:Class="WpfApp1.MainWindow"
  8209.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8210.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8211.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8212.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8213.         mc:Ignorable="d"
  8214.         Title="MainWindow" Height="800" Width="1200">
  8215.     <StackPanel>
  8216.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8217.                  Style="{StaticResource TouchTextBox}"/>
  8218.     </StackPanel>
  8219. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8220. <Window x:Class="WpfApp1.MainWindow"
  8221.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8222.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8223.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8224.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8225.         mc:Ignorable="d"
  8226.         Title="MainWindow" Height="800" Width="1200">
  8227.     <StackPanel>
  8228.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8229.                  Style="{StaticResource TouchTextBox}"/>
  8230.     </StackPanel>
  8231. </Window>    x:Class="WpfApp1.TouchTextBox">
  8232.    
  8233. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8234. <Window x:Class="WpfApp1.MainWindow"
  8235.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8236.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8237.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8238.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8239.         mc:Ignorable="d"
  8240.         Title="MainWindow" Height="800" Width="1200">
  8241.     <StackPanel>
  8242.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8243.                  Style="{StaticResource TouchTextBox}"/>
  8244.     </StackPanel>
  8245. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8246. <Window x:Class="WpfApp1.MainWindow"
  8247.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8248.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8249.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8250.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8251.         mc:Ignorable="d"
  8252.         Title="MainWindow" Height="800" Width="1200">
  8253.     <StackPanel>
  8254.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8255.                  Style="{StaticResource TouchTextBox}"/>
  8256.     </StackPanel>
  8257. </Window>    x:Class="WpfApp1.TouchTextBox">
  8258.    
  8259. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8260. <Window x:Class="WpfApp1.MainWindow"
  8261.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8262.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8263.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8264.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8265.         mc:Ignorable="d"
  8266.         Title="MainWindow" Height="800" Width="1200">
  8267.     <StackPanel>
  8268.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8269.                  Style="{StaticResource TouchTextBox}"/>
  8270.     </StackPanel>
  8271. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8272. <Window x:Class="WpfApp1.MainWindow"
  8273.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8274.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8275.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8276.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8277.         mc:Ignorable="d"
  8278.         Title="MainWindow" Height="800" Width="1200">
  8279.     <StackPanel>
  8280.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8281.                  Style="{StaticResource TouchTextBox}"/>
  8282.     </StackPanel>
  8283. </Window>    x:Class="WpfApp1.TouchTextBox">
  8284.    
  8285. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8286. <Window x:Class="WpfApp1.MainWindow"
  8287.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8288.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8289.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8290.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8291.         mc:Ignorable="d"
  8292.         Title="MainWindow" Height="800" Width="1200">
  8293.     <StackPanel>
  8294.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8295.                  Style="{StaticResource TouchTextBox}"/>
  8296.     </StackPanel>
  8297. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8298. <Window x:Class="WpfApp1.MainWindow"
  8299.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8300.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8301.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8302.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8303.         mc:Ignorable="d"
  8304.         Title="MainWindow" Height="800" Width="1200">
  8305.     <StackPanel>
  8306.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8307.                  Style="{StaticResource TouchTextBox}"/>
  8308.     </StackPanel>
  8309. </Window>    x:Class="WpfApp1.TouchTextBox">
  8310.    
  8311. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=g}"
  8312. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8313. <Window x:Class="WpfApp1.MainWindow"
  8314.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8315.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8316.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8317.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8318.         mc:Ignorable="d"
  8319.         Title="MainWindow" Height="800" Width="1200">
  8320.     <StackPanel>
  8321.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8322.                  Style="{StaticResource TouchTextBox}"/>
  8323.     </StackPanel>
  8324. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8325. <Window x:Class="WpfApp1.MainWindow"
  8326.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8327.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8328.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8329.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8330.         mc:Ignorable="d"
  8331.         Title="MainWindow" Height="800" Width="1200">
  8332.     <StackPanel>
  8333.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8334.                  Style="{StaticResource TouchTextBox}"/>
  8335.     </StackPanel>
  8336. </Window>    x:Class="WpfApp1.TouchTextBox">
  8337.    
  8338. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8339. <Window x:Class="WpfApp1.MainWindow"
  8340.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8341.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8342.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8343.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8344.         mc:Ignorable="d"
  8345.         Title="MainWindow" Height="800" Width="1200">
  8346.     <StackPanel>
  8347.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8348.                  Style="{StaticResource TouchTextBox}"/>
  8349.     </StackPanel>
  8350. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8351. <Window x:Class="WpfApp1.MainWindow"
  8352.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8353.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8354.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8355.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8356.         mc:Ignorable="d"
  8357.         Title="MainWindow" Height="800" Width="1200">
  8358.     <StackPanel>
  8359.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8360.                  Style="{StaticResource TouchTextBox}"/>
  8361.     </StackPanel>
  8362. </Window>    x:Class="WpfApp1.TouchTextBox">
  8363.    
  8364. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8365. <Window x:Class="WpfApp1.MainWindow"
  8366.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8367.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8368.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8369.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8370.         mc:Ignorable="d"
  8371.         Title="MainWindow" Height="800" Width="1200">
  8372.     <StackPanel>
  8373.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8374.                  Style="{StaticResource TouchTextBox}"/>
  8375.     </StackPanel>
  8376. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8377. <Window x:Class="WpfApp1.MainWindow"
  8378.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8379.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8380.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8381.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8382.         mc:Ignorable="d"
  8383.         Title="MainWindow" Height="800" Width="1200">
  8384.     <StackPanel>
  8385.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8386.                  Style="{StaticResource TouchTextBox}"/>
  8387.     </StackPanel>
  8388. </Window>    x:Class="WpfApp1.TouchTextBox">
  8389.    
  8390. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8391. <Window x:Class="WpfApp1.MainWindow"
  8392.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8393.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8394.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8395.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8396.         mc:Ignorable="d"
  8397.         Title="MainWindow" Height="800" Width="1200">
  8398.     <StackPanel>
  8399.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8400.                  Style="{StaticResource TouchTextBox}"/>
  8401.     </StackPanel>
  8402. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8403. <Window x:Class="WpfApp1.MainWindow"
  8404.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8405.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8406.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8407.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8408.         mc:Ignorable="d"
  8409.         Title="MainWindow" Height="800" Width="1200">
  8410.     <StackPanel>
  8411.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8412.                  Style="{StaticResource TouchTextBox}"/>
  8413.     </StackPanel>
  8414. </Window>    x:Class="WpfApp1.TouchTextBox">
  8415.    
  8416. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8417. <Window x:Class="WpfApp1.MainWindow"
  8418.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8419.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8420.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8421.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8422.         mc:Ignorable="d"
  8423.         Title="MainWindow" Height="800" Width="1200">
  8424.     <StackPanel>
  8425.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8426.                  Style="{StaticResource TouchTextBox}"/>
  8427.     </StackPanel>
  8428. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8429. <Window x:Class="WpfApp1.MainWindow"
  8430.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8431.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8432.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8433.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8434.         mc:Ignorable="d"
  8435.         Title="MainWindow" Height="800" Width="1200">
  8436.     <StackPanel>
  8437.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8438.                  Style="{StaticResource TouchTextBox}"/>
  8439.     </StackPanel>
  8440. </Window>    x:Class="WpfApp1.TouchTextBox">
  8441.    
  8442. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8443. <Window x:Class="WpfApp1.MainWindow"
  8444.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8445.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8446.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8447.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8448.         mc:Ignorable="d"
  8449.         Title="MainWindow" Height="800" Width="1200">
  8450.     <StackPanel>
  8451.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8452.                  Style="{StaticResource TouchTextBox}"/>
  8453.     </StackPanel>
  8454. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8455. <Window x:Class="WpfApp1.MainWindow"
  8456.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8457.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8458.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8459.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8460.         mc:Ignorable="d"
  8461.         Title="MainWindow" Height="800" Width="1200">
  8462.     <StackPanel>
  8463.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8464.                  Style="{StaticResource TouchTextBox}"/>
  8465.     </StackPanel>
  8466. </Window>    x:Class="WpfApp1.TouchTextBox">
  8467.    
  8468. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8469. <Window x:Class="WpfApp1.MainWindow"
  8470.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8471.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8472.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8473.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8474.         mc:Ignorable="d"
  8475.         Title="MainWindow" Height="800" Width="1200">
  8476.     <StackPanel>
  8477.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8478.                  Style="{StaticResource TouchTextBox}"/>
  8479.     </StackPanel>
  8480. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8481. <Window x:Class="WpfApp1.MainWindow"
  8482.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8483.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8484.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8485.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8486.         mc:Ignorable="d"
  8487.         Title="MainWindow" Height="800" Width="1200">
  8488.     <StackPanel>
  8489.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8490.                  Style="{StaticResource TouchTextBox}"/>
  8491.     </StackPanel>
  8492. </Window>    x:Class="WpfApp1.TouchTextBox">
  8493.    
  8494. </ResourceDictionary> Click="Button_Click"/>
  8495. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8496. <Window x:Class="WpfApp1.MainWindow"
  8497.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8498.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8499.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8500.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8501.         mc:Ignorable="d"
  8502.         Title="MainWindow" Height="800" Width="1200">
  8503.     <StackPanel>
  8504.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8505.                  Style="{StaticResource TouchTextBox}"/>
  8506.     </StackPanel>
  8507. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8508. <Window x:Class="WpfApp1.MainWindow"
  8509.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8510.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8511.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8512.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8513.         mc:Ignorable="d"
  8514.         Title="MainWindow" Height="800" Width="1200">
  8515.     <StackPanel>
  8516.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8517.                  Style="{StaticResource TouchTextBox}"/>
  8518.     </StackPanel>
  8519. </Window>    x:Class="WpfApp1.TouchTextBox">
  8520.    
  8521. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8522. <Window x:Class="WpfApp1.MainWindow"
  8523.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8524.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8525.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8526.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8527.         mc:Ignorable="d"
  8528.         Title="MainWindow" Height="800" Width="1200">
  8529.     <StackPanel>
  8530.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8531.                  Style="{StaticResource TouchTextBox}"/>
  8532.     </StackPanel>
  8533. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8534. <Window x:Class="WpfApp1.MainWindow"
  8535.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8536.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8537.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8538.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8539.         mc:Ignorable="d"
  8540.         Title="MainWindow" Height="800" Width="1200">
  8541.     <StackPanel>
  8542.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8543.                  Style="{StaticResource TouchTextBox}"/>
  8544.     </StackPanel>
  8545. </Window>    x:Class="WpfApp1.TouchTextBox">
  8546.    
  8547. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8548. <Window x:Class="WpfApp1.MainWindow"
  8549.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8550.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8551.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8552.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8553.         mc:Ignorable="d"
  8554.         Title="MainWindow" Height="800" Width="1200">
  8555.     <StackPanel>
  8556.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8557.                  Style="{StaticResource TouchTextBox}"/>
  8558.     </StackPanel>
  8559. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8560. <Window x:Class="WpfApp1.MainWindow"
  8561.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8562.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8563.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8564.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8565.         mc:Ignorable="d"
  8566.         Title="MainWindow" Height="800" Width="1200">
  8567.     <StackPanel>
  8568.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8569.                  Style="{StaticResource TouchTextBox}"/>
  8570.     </StackPanel>
  8571. </Window>    x:Class="WpfApp1.TouchTextBox">
  8572.    
  8573. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8574. <Window x:Class="WpfApp1.MainWindow"
  8575.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8576.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8577.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8578.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8579.         mc:Ignorable="d"
  8580.         Title="MainWindow" Height="800" Width="1200">
  8581.     <StackPanel>
  8582.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8583.                  Style="{StaticResource TouchTextBox}"/>
  8584.     </StackPanel>
  8585. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8586. <Window x:Class="WpfApp1.MainWindow"
  8587.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8588.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8589.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8590.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8591.         mc:Ignorable="d"
  8592.         Title="MainWindow" Height="800" Width="1200">
  8593.     <StackPanel>
  8594.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8595.                  Style="{StaticResource TouchTextBox}"/>
  8596.     </StackPanel>
  8597. </Window>    x:Class="WpfApp1.TouchTextBox">
  8598.    
  8599. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8600. <Window x:Class="WpfApp1.MainWindow"
  8601.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8602.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8603.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8604.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8605.         mc:Ignorable="d"
  8606.         Title="MainWindow" Height="800" Width="1200">
  8607.     <StackPanel>
  8608.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8609.                  Style="{StaticResource TouchTextBox}"/>
  8610.     </StackPanel>
  8611. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8612. <Window x:Class="WpfApp1.MainWindow"
  8613.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8614.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8615.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8616.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8617.         mc:Ignorable="d"
  8618.         Title="MainWindow" Height="800" Width="1200">
  8619.     <StackPanel>
  8620.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8621.                  Style="{StaticResource TouchTextBox}"/>
  8622.     </StackPanel>
  8623. </Window>    x:Class="WpfApp1.TouchTextBox">
  8624.    
  8625. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=h}"
  8626. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8627. <Window x:Class="WpfApp1.MainWindow"
  8628.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8629.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8630.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8631.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8632.         mc:Ignorable="d"
  8633.         Title="MainWindow" Height="800" Width="1200">
  8634.     <StackPanel>
  8635.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8636.                  Style="{StaticResource TouchTextBox}"/>
  8637.     </StackPanel>
  8638. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8639. <Window x:Class="WpfApp1.MainWindow"
  8640.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8641.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8642.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8643.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8644.         mc:Ignorable="d"
  8645.         Title="MainWindow" Height="800" Width="1200">
  8646.     <StackPanel>
  8647.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8648.                  Style="{StaticResource TouchTextBox}"/>
  8649.     </StackPanel>
  8650. </Window>    x:Class="WpfApp1.TouchTextBox">
  8651.    
  8652. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8653. <Window x:Class="WpfApp1.MainWindow"
  8654.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8655.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8656.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8657.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8658.         mc:Ignorable="d"
  8659.         Title="MainWindow" Height="800" Width="1200">
  8660.     <StackPanel>
  8661.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8662.                  Style="{StaticResource TouchTextBox}"/>
  8663.     </StackPanel>
  8664. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8665. <Window x:Class="WpfApp1.MainWindow"
  8666.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8667.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8668.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8669.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8670.         mc:Ignorable="d"
  8671.         Title="MainWindow" Height="800" Width="1200">
  8672.     <StackPanel>
  8673.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8674.                  Style="{StaticResource TouchTextBox}"/>
  8675.     </StackPanel>
  8676. </Window>    x:Class="WpfApp1.TouchTextBox">
  8677.    
  8678. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8679. <Window x:Class="WpfApp1.MainWindow"
  8680.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8681.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8682.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8683.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8684.         mc:Ignorable="d"
  8685.         Title="MainWindow" Height="800" Width="1200">
  8686.     <StackPanel>
  8687.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8688.                  Style="{StaticResource TouchTextBox}"/>
  8689.     </StackPanel>
  8690. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8691. <Window x:Class="WpfApp1.MainWindow"
  8692.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8693.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8694.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8695.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8696.         mc:Ignorable="d"
  8697.         Title="MainWindow" Height="800" Width="1200">
  8698.     <StackPanel>
  8699.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8700.                  Style="{StaticResource TouchTextBox}"/>
  8701.     </StackPanel>
  8702. </Window>    x:Class="WpfApp1.TouchTextBox">
  8703.    
  8704. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8705. <Window x:Class="WpfApp1.MainWindow"
  8706.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8707.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8708.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8709.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8710.         mc:Ignorable="d"
  8711.         Title="MainWindow" Height="800" Width="1200">
  8712.     <StackPanel>
  8713.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8714.                  Style="{StaticResource TouchTextBox}"/>
  8715.     </StackPanel>
  8716. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8717. <Window x:Class="WpfApp1.MainWindow"
  8718.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8719.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8720.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8721.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8722.         mc:Ignorable="d"
  8723.         Title="MainWindow" Height="800" Width="1200">
  8724.     <StackPanel>
  8725.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8726.                  Style="{StaticResource TouchTextBox}"/>
  8727.     </StackPanel>
  8728. </Window>    x:Class="WpfApp1.TouchTextBox">
  8729.    
  8730. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8731. <Window x:Class="WpfApp1.MainWindow"
  8732.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8733.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8734.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8735.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8736.         mc:Ignorable="d"
  8737.         Title="MainWindow" Height="800" Width="1200">
  8738.     <StackPanel>
  8739.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8740.                  Style="{StaticResource TouchTextBox}"/>
  8741.     </StackPanel>
  8742. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8743. <Window x:Class="WpfApp1.MainWindow"
  8744.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8745.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8746.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8747.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8748.         mc:Ignorable="d"
  8749.         Title="MainWindow" Height="800" Width="1200">
  8750.     <StackPanel>
  8751.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8752.                  Style="{StaticResource TouchTextBox}"/>
  8753.     </StackPanel>
  8754. </Window>    x:Class="WpfApp1.TouchTextBox">
  8755.    
  8756. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8757. <Window x:Class="WpfApp1.MainWindow"
  8758.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8759.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8760.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8761.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8762.         mc:Ignorable="d"
  8763.         Title="MainWindow" Height="800" Width="1200">
  8764.     <StackPanel>
  8765.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8766.                  Style="{StaticResource TouchTextBox}"/>
  8767.     </StackPanel>
  8768. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8769. <Window x:Class="WpfApp1.MainWindow"
  8770.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8771.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8772.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8773.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8774.         mc:Ignorable="d"
  8775.         Title="MainWindow" Height="800" Width="1200">
  8776.     <StackPanel>
  8777.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8778.                  Style="{StaticResource TouchTextBox}"/>
  8779.     </StackPanel>
  8780. </Window>    x:Class="WpfApp1.TouchTextBox">
  8781.    
  8782. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8783. <Window x:Class="WpfApp1.MainWindow"
  8784.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8785.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8786.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8787.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8788.         mc:Ignorable="d"
  8789.         Title="MainWindow" Height="800" Width="1200">
  8790.     <StackPanel>
  8791.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8792.                  Style="{StaticResource TouchTextBox}"/>
  8793.     </StackPanel>
  8794. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8795. <Window x:Class="WpfApp1.MainWindow"
  8796.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8797.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8798.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8799.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8800.         mc:Ignorable="d"
  8801.         Title="MainWindow" Height="800" Width="1200">
  8802.     <StackPanel>
  8803.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8804.                  Style="{StaticResource TouchTextBox}"/>
  8805.     </StackPanel>
  8806. </Window>    x:Class="WpfApp1.TouchTextBox">
  8807.    
  8808. </ResourceDictionary> Click="Button_Click"/>
  8809. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8810. <Window x:Class="WpfApp1.MainWindow"
  8811.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8812.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8813.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8814.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8815.         mc:Ignorable="d"
  8816.         Title="MainWindow" Height="800" Width="1200">
  8817.     <StackPanel>
  8818.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8819.                  Style="{StaticResource TouchTextBox}"/>
  8820.     </StackPanel>
  8821. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8822. <Window x:Class="WpfApp1.MainWindow"
  8823.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8824.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8825.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8826.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8827.         mc:Ignorable="d"
  8828.         Title="MainWindow" Height="800" Width="1200">
  8829.     <StackPanel>
  8830.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8831.                  Style="{StaticResource TouchTextBox}"/>
  8832.     </StackPanel>
  8833. </Window>    x:Class="WpfApp1.TouchTextBox">
  8834.    
  8835. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8836. <Window x:Class="WpfApp1.MainWindow"
  8837.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8838.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8839.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8840.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8841.         mc:Ignorable="d"
  8842.         Title="MainWindow" Height="800" Width="1200">
  8843.     <StackPanel>
  8844.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8845.                  Style="{StaticResource TouchTextBox}"/>
  8846.     </StackPanel>
  8847. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8848. <Window x:Class="WpfApp1.MainWindow"
  8849.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8850.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8851.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8852.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8853.         mc:Ignorable="d"
  8854.         Title="MainWindow" Height="800" Width="1200">
  8855.     <StackPanel>
  8856.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8857.                  Style="{StaticResource TouchTextBox}"/>
  8858.     </StackPanel>
  8859. </Window>    x:Class="WpfApp1.TouchTextBox">
  8860.    
  8861. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8862. <Window x:Class="WpfApp1.MainWindow"
  8863.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8864.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8865.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8866.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8867.         mc:Ignorable="d"
  8868.         Title="MainWindow" Height="800" Width="1200">
  8869.     <StackPanel>
  8870.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8871.                  Style="{StaticResource TouchTextBox}"/>
  8872.     </StackPanel>
  8873. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8874. <Window x:Class="WpfApp1.MainWindow"
  8875.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8876.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8877.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8878.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8879.         mc:Ignorable="d"
  8880.         Title="MainWindow" Height="800" Width="1200">
  8881.     <StackPanel>
  8882.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8883.                  Style="{StaticResource TouchTextBox}"/>
  8884.     </StackPanel>
  8885. </Window>    x:Class="WpfApp1.TouchTextBox">
  8886.    
  8887. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8888. <Window x:Class="WpfApp1.MainWindow"
  8889.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8890.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8891.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8892.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8893.         mc:Ignorable="d"
  8894.         Title="MainWindow" Height="800" Width="1200">
  8895.     <StackPanel>
  8896.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8897.                  Style="{StaticResource TouchTextBox}"/>
  8898.     </StackPanel>
  8899. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8900. <Window x:Class="WpfApp1.MainWindow"
  8901.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8902.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8903.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8904.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8905.         mc:Ignorable="d"
  8906.         Title="MainWindow" Height="800" Width="1200">
  8907.     <StackPanel>
  8908.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8909.                  Style="{StaticResource TouchTextBox}"/>
  8910.     </StackPanel>
  8911. </Window>    x:Class="WpfApp1.TouchTextBox">
  8912.    
  8913. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8914. <Window x:Class="WpfApp1.MainWindow"
  8915.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8916.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8917.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8918.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8919.         mc:Ignorable="d"
  8920.         Title="MainWindow" Height="800" Width="1200">
  8921.     <StackPanel>
  8922.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8923.                  Style="{StaticResource TouchTextBox}"/>
  8924.     </StackPanel>
  8925. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8926. <Window x:Class="WpfApp1.MainWindow"
  8927.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8928.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8929.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8930.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8931.         mc:Ignorable="d"
  8932.         Title="MainWindow" Height="800" Width="1200">
  8933.     <StackPanel>
  8934.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8935.                  Style="{StaticResource TouchTextBox}"/>
  8936.     </StackPanel>
  8937. </Window>    x:Class="WpfApp1.TouchTextBox">
  8938.    
  8939. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=j}"
  8940. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8941. <Window x:Class="WpfApp1.MainWindow"
  8942.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8943.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8944.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8945.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8946.         mc:Ignorable="d"
  8947.         Title="MainWindow" Height="800" Width="1200">
  8948.     <StackPanel>
  8949.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8950.                  Style="{StaticResource TouchTextBox}"/>
  8951.     </StackPanel>
  8952. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8953. <Window x:Class="WpfApp1.MainWindow"
  8954.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8955.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8956.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8957.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8958.         mc:Ignorable="d"
  8959.         Title="MainWindow" Height="800" Width="1200">
  8960.     <StackPanel>
  8961.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8962.                  Style="{StaticResource TouchTextBox}"/>
  8963.     </StackPanel>
  8964. </Window>    x:Class="WpfApp1.TouchTextBox">
  8965.    
  8966. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8967. <Window x:Class="WpfApp1.MainWindow"
  8968.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8969.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8970.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8971.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8972.         mc:Ignorable="d"
  8973.         Title="MainWindow" Height="800" Width="1200">
  8974.     <StackPanel>
  8975.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8976.                  Style="{StaticResource TouchTextBox}"/>
  8977.     </StackPanel>
  8978. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8979. <Window x:Class="WpfApp1.MainWindow"
  8980.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8981.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8982.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8983.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8984.         mc:Ignorable="d"
  8985.         Title="MainWindow" Height="800" Width="1200">
  8986.     <StackPanel>
  8987.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  8988.                  Style="{StaticResource TouchTextBox}"/>
  8989.     </StackPanel>
  8990. </Window>    x:Class="WpfApp1.TouchTextBox">
  8991.    
  8992. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8993. <Window x:Class="WpfApp1.MainWindow"
  8994.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  8995.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  8996.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8997.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8998.         mc:Ignorable="d"
  8999.         Title="MainWindow" Height="800" Width="1200">
  9000.     <StackPanel>
  9001.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9002.                  Style="{StaticResource TouchTextBox}"/>
  9003.     </StackPanel>
  9004. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9005. <Window x:Class="WpfApp1.MainWindow"
  9006.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9007.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9008.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9009.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9010.         mc:Ignorable="d"
  9011.         Title="MainWindow" Height="800" Width="1200">
  9012.     <StackPanel>
  9013.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9014.                  Style="{StaticResource TouchTextBox}"/>
  9015.     </StackPanel>
  9016. </Window>    x:Class="WpfApp1.TouchTextBox">
  9017.    
  9018. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9019. <Window x:Class="WpfApp1.MainWindow"
  9020.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9021.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9022.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9023.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9024.         mc:Ignorable="d"
  9025.         Title="MainWindow" Height="800" Width="1200">
  9026.     <StackPanel>
  9027.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9028.                  Style="{StaticResource TouchTextBox}"/>
  9029.     </StackPanel>
  9030. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9031. <Window x:Class="WpfApp1.MainWindow"
  9032.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9033.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9034.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9035.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9036.         mc:Ignorable="d"
  9037.         Title="MainWindow" Height="800" Width="1200">
  9038.     <StackPanel>
  9039.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9040.                  Style="{StaticResource TouchTextBox}"/>
  9041.     </StackPanel>
  9042. </Window>    x:Class="WpfApp1.TouchTextBox">
  9043.    
  9044. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9045. <Window x:Class="WpfApp1.MainWindow"
  9046.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9047.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9048.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9049.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9050.         mc:Ignorable="d"
  9051.         Title="MainWindow" Height="800" Width="1200">
  9052.     <StackPanel>
  9053.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9054.                  Style="{StaticResource TouchTextBox}"/>
  9055.     </StackPanel>
  9056. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9057. <Window x:Class="WpfApp1.MainWindow"
  9058.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9059.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9060.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9061.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9062.         mc:Ignorable="d"
  9063.         Title="MainWindow" Height="800" Width="1200">
  9064.     <StackPanel>
  9065.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9066.                  Style="{StaticResource TouchTextBox}"/>
  9067.     </StackPanel>
  9068. </Window>    x:Class="WpfApp1.TouchTextBox">
  9069.    
  9070. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9071. <Window x:Class="WpfApp1.MainWindow"
  9072.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9073.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9074.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9075.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9076.         mc:Ignorable="d"
  9077.         Title="MainWindow" Height="800" Width="1200">
  9078.     <StackPanel>
  9079.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9080.                  Style="{StaticResource TouchTextBox}"/>
  9081.     </StackPanel>
  9082. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9083. <Window x:Class="WpfApp1.MainWindow"
  9084.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9085.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9086.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9087.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9088.         mc:Ignorable="d"
  9089.         Title="MainWindow" Height="800" Width="1200">
  9090.     <StackPanel>
  9091.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9092.                  Style="{StaticResource TouchTextBox}"/>
  9093.     </StackPanel>
  9094. </Window>    x:Class="WpfApp1.TouchTextBox">
  9095.    
  9096. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9097. <Window x:Class="WpfApp1.MainWindow"
  9098.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9099.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9100.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9101.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9102.         mc:Ignorable="d"
  9103.         Title="MainWindow" Height="800" Width="1200">
  9104.     <StackPanel>
  9105.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9106.                  Style="{StaticResource TouchTextBox}"/>
  9107.     </StackPanel>
  9108. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9109. <Window x:Class="WpfApp1.MainWindow"
  9110.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9111.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9112.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9113.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9114.         mc:Ignorable="d"
  9115.         Title="MainWindow" Height="800" Width="1200">
  9116.     <StackPanel>
  9117.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9118.                  Style="{StaticResource TouchTextBox}"/>
  9119.     </StackPanel>
  9120. </Window>    x:Class="WpfApp1.TouchTextBox">
  9121.    
  9122. </ResourceDictionary> Click="Button_Click"/>
  9123. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9124. <Window x:Class="WpfApp1.MainWindow"
  9125.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9126.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9127.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9128.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9129.         mc:Ignorable="d"
  9130.         Title="MainWindow" Height="800" Width="1200">
  9131.     <StackPanel>
  9132.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9133.                  Style="{StaticResource TouchTextBox}"/>
  9134.     </StackPanel>
  9135. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9136. <Window x:Class="WpfApp1.MainWindow"
  9137.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9138.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9139.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9140.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9141.         mc:Ignorable="d"
  9142.         Title="MainWindow" Height="800" Width="1200">
  9143.     <StackPanel>
  9144.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9145.                  Style="{StaticResource TouchTextBox}"/>
  9146.     </StackPanel>
  9147. </Window>    x:Class="WpfApp1.TouchTextBox">
  9148.    
  9149. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9150. <Window x:Class="WpfApp1.MainWindow"
  9151.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9152.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9153.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9154.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9155.         mc:Ignorable="d"
  9156.         Title="MainWindow" Height="800" Width="1200">
  9157.     <StackPanel>
  9158.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9159.                  Style="{StaticResource TouchTextBox}"/>
  9160.     </StackPanel>
  9161. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9162. <Window x:Class="WpfApp1.MainWindow"
  9163.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9164.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9165.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9166.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9167.         mc:Ignorable="d"
  9168.         Title="MainWindow" Height="800" Width="1200">
  9169.     <StackPanel>
  9170.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9171.                  Style="{StaticResource TouchTextBox}"/>
  9172.     </StackPanel>
  9173. </Window>    x:Class="WpfApp1.TouchTextBox">
  9174.    
  9175. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9176. <Window x:Class="WpfApp1.MainWindow"
  9177.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9178.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9179.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9180.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9181.         mc:Ignorable="d"
  9182.         Title="MainWindow" Height="800" Width="1200">
  9183.     <StackPanel>
  9184.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9185.                  Style="{StaticResource TouchTextBox}"/>
  9186.     </StackPanel>
  9187. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9188. <Window x:Class="WpfApp1.MainWindow"
  9189.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9190.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9191.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9192.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9193.         mc:Ignorable="d"
  9194.         Title="MainWindow" Height="800" Width="1200">
  9195.     <StackPanel>
  9196.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9197.                  Style="{StaticResource TouchTextBox}"/>
  9198.     </StackPanel>
  9199. </Window>    x:Class="WpfApp1.TouchTextBox">
  9200.    
  9201. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9202. <Window x:Class="WpfApp1.MainWindow"
  9203.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9204.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9205.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9206.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9207.         mc:Ignorable="d"
  9208.         Title="MainWindow" Height="800" Width="1200">
  9209.     <StackPanel>
  9210.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9211.                  Style="{StaticResource TouchTextBox}"/>
  9212.     </StackPanel>
  9213. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9214. <Window x:Class="WpfApp1.MainWindow"
  9215.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9216.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9217.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9218.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9219.         mc:Ignorable="d"
  9220.         Title="MainWindow" Height="800" Width="1200">
  9221.     <StackPanel>
  9222.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9223.                  Style="{StaticResource TouchTextBox}"/>
  9224.     </StackPanel>
  9225. </Window>    x:Class="WpfApp1.TouchTextBox">
  9226.    
  9227. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9228. <Window x:Class="WpfApp1.MainWindow"
  9229.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9230.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9231.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9232.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9233.         mc:Ignorable="d"
  9234.         Title="MainWindow" Height="800" Width="1200">
  9235.     <StackPanel>
  9236.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9237.                  Style="{StaticResource TouchTextBox}"/>
  9238.     </StackPanel>
  9239. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9240. <Window x:Class="WpfApp1.MainWindow"
  9241.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9242.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9243.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9244.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9245.         mc:Ignorable="d"
  9246.         Title="MainWindow" Height="800" Width="1200">
  9247.     <StackPanel>
  9248.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9249.                  Style="{StaticResource TouchTextBox}"/>
  9250.     </StackPanel>
  9251. </Window>    x:Class="WpfApp1.TouchTextBox">
  9252.    
  9253. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=k}"
  9254. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9255. <Window x:Class="WpfApp1.MainWindow"
  9256.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9257.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9258.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9259.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9260.         mc:Ignorable="d"
  9261.         Title="MainWindow" Height="800" Width="1200">
  9262.     <StackPanel>
  9263.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9264.                  Style="{StaticResource TouchTextBox}"/>
  9265.     </StackPanel>
  9266. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9267. <Window x:Class="WpfApp1.MainWindow"
  9268.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9269.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9270.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9271.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9272.         mc:Ignorable="d"
  9273.         Title="MainWindow" Height="800" Width="1200">
  9274.     <StackPanel>
  9275.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9276.                  Style="{StaticResource TouchTextBox}"/>
  9277.     </StackPanel>
  9278. </Window>    x:Class="WpfApp1.TouchTextBox">
  9279.    
  9280. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9281. <Window x:Class="WpfApp1.MainWindow"
  9282.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9283.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9284.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9285.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9286.         mc:Ignorable="d"
  9287.         Title="MainWindow" Height="800" Width="1200">
  9288.     <StackPanel>
  9289.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9290.                  Style="{StaticResource TouchTextBox}"/>
  9291.     </StackPanel>
  9292. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9293. <Window x:Class="WpfApp1.MainWindow"
  9294.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9295.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9296.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9297.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9298.         mc:Ignorable="d"
  9299.         Title="MainWindow" Height="800" Width="1200">
  9300.     <StackPanel>
  9301.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9302.                  Style="{StaticResource TouchTextBox}"/>
  9303.     </StackPanel>
  9304. </Window>    x:Class="WpfApp1.TouchTextBox">
  9305.    
  9306. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9307. <Window x:Class="WpfApp1.MainWindow"
  9308.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9309.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9310.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9311.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9312.         mc:Ignorable="d"
  9313.         Title="MainWindow" Height="800" Width="1200">
  9314.     <StackPanel>
  9315.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9316.                  Style="{StaticResource TouchTextBox}"/>
  9317.     </StackPanel>
  9318. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9319. <Window x:Class="WpfApp1.MainWindow"
  9320.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9321.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9322.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9323.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9324.         mc:Ignorable="d"
  9325.         Title="MainWindow" Height="800" Width="1200">
  9326.     <StackPanel>
  9327.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9328.                  Style="{StaticResource TouchTextBox}"/>
  9329.     </StackPanel>
  9330. </Window>    x:Class="WpfApp1.TouchTextBox">
  9331.    
  9332. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9333. <Window x:Class="WpfApp1.MainWindow"
  9334.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9335.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9336.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9337.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9338.         mc:Ignorable="d"
  9339.         Title="MainWindow" Height="800" Width="1200">
  9340.     <StackPanel>
  9341.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9342.                  Style="{StaticResource TouchTextBox}"/>
  9343.     </StackPanel>
  9344. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9345. <Window x:Class="WpfApp1.MainWindow"
  9346.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9347.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9348.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9349.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9350.         mc:Ignorable="d"
  9351.         Title="MainWindow" Height="800" Width="1200">
  9352.     <StackPanel>
  9353.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9354.                  Style="{StaticResource TouchTextBox}"/>
  9355.     </StackPanel>
  9356. </Window>    x:Class="WpfApp1.TouchTextBox">
  9357.    
  9358. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9359. <Window x:Class="WpfApp1.MainWindow"
  9360.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9361.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9362.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9363.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9364.         mc:Ignorable="d"
  9365.         Title="MainWindow" Height="800" Width="1200">
  9366.     <StackPanel>
  9367.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9368.                  Style="{StaticResource TouchTextBox}"/>
  9369.     </StackPanel>
  9370. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9371. <Window x:Class="WpfApp1.MainWindow"
  9372.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9373.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9374.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9375.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9376.         mc:Ignorable="d"
  9377.         Title="MainWindow" Height="800" Width="1200">
  9378.     <StackPanel>
  9379.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9380.                  Style="{StaticResource TouchTextBox}"/>
  9381.     </StackPanel>
  9382. </Window>    x:Class="WpfApp1.TouchTextBox">
  9383.    
  9384. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9385. <Window x:Class="WpfApp1.MainWindow"
  9386.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9387.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9388.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9389.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9390.         mc:Ignorable="d"
  9391.         Title="MainWindow" Height="800" Width="1200">
  9392.     <StackPanel>
  9393.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9394.                  Style="{StaticResource TouchTextBox}"/>
  9395.     </StackPanel>
  9396. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9397. <Window x:Class="WpfApp1.MainWindow"
  9398.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9399.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9400.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9401.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9402.         mc:Ignorable="d"
  9403.         Title="MainWindow" Height="800" Width="1200">
  9404.     <StackPanel>
  9405.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9406.                  Style="{StaticResource TouchTextBox}"/>
  9407.     </StackPanel>
  9408. </Window>    x:Class="WpfApp1.TouchTextBox">
  9409.    
  9410. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9411. <Window x:Class="WpfApp1.MainWindow"
  9412.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9413.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9414.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9415.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9416.         mc:Ignorable="d"
  9417.         Title="MainWindow" Height="800" Width="1200">
  9418.     <StackPanel>
  9419.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9420.                  Style="{StaticResource TouchTextBox}"/>
  9421.     </StackPanel>
  9422. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9423. <Window x:Class="WpfApp1.MainWindow"
  9424.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9425.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9426.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9427.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9428.         mc:Ignorable="d"
  9429.         Title="MainWindow" Height="800" Width="1200">
  9430.     <StackPanel>
  9431.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9432.                  Style="{StaticResource TouchTextBox}"/>
  9433.     </StackPanel>
  9434. </Window>    x:Class="WpfApp1.TouchTextBox">
  9435.    
  9436. </ResourceDictionary> Click="Button_Click"/>
  9437. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9438. <Window x:Class="WpfApp1.MainWindow"
  9439.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9440.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9441.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9442.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9443.         mc:Ignorable="d"
  9444.         Title="MainWindow" Height="800" Width="1200">
  9445.     <StackPanel>
  9446.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9447.                  Style="{StaticResource TouchTextBox}"/>
  9448.     </StackPanel>
  9449. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9450. <Window x:Class="WpfApp1.MainWindow"
  9451.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9452.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9453.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9454.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9455.         mc:Ignorable="d"
  9456.         Title="MainWindow" Height="800" Width="1200">
  9457.     <StackPanel>
  9458.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9459.                  Style="{StaticResource TouchTextBox}"/>
  9460.     </StackPanel>
  9461. </Window>    x:Class="WpfApp1.TouchTextBox">
  9462.    
  9463. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9464. <Window x:Class="WpfApp1.MainWindow"
  9465.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9466.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9467.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9468.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9469.         mc:Ignorable="d"
  9470.         Title="MainWindow" Height="800" Width="1200">
  9471.     <StackPanel>
  9472.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9473.                  Style="{StaticResource TouchTextBox}"/>
  9474.     </StackPanel>
  9475. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9476. <Window x:Class="WpfApp1.MainWindow"
  9477.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9478.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9479.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9480.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9481.         mc:Ignorable="d"
  9482.         Title="MainWindow" Height="800" Width="1200">
  9483.     <StackPanel>
  9484.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9485.                  Style="{StaticResource TouchTextBox}"/>
  9486.     </StackPanel>
  9487. </Window>    x:Class="WpfApp1.TouchTextBox">
  9488.    
  9489. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9490. <Window x:Class="WpfApp1.MainWindow"
  9491.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9492.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9493.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9494.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9495.         mc:Ignorable="d"
  9496.         Title="MainWindow" Height="800" Width="1200">
  9497.     <StackPanel>
  9498.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9499.                  Style="{StaticResource TouchTextBox}"/>
  9500.     </StackPanel>
  9501. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9502. <Window x:Class="WpfApp1.MainWindow"
  9503.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9504.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9505.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9506.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9507.         mc:Ignorable="d"
  9508.         Title="MainWindow" Height="800" Width="1200">
  9509.     <StackPanel>
  9510.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9511.                  Style="{StaticResource TouchTextBox}"/>
  9512.     </StackPanel>
  9513. </Window>    x:Class="WpfApp1.TouchTextBox">
  9514.    
  9515. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9516. <Window x:Class="WpfApp1.MainWindow"
  9517.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9518.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9519.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9520.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9521.         mc:Ignorable="d"
  9522.         Title="MainWindow" Height="800" Width="1200">
  9523.     <StackPanel>
  9524.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9525.                  Style="{StaticResource TouchTextBox}"/>
  9526.     </StackPanel>
  9527. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9528. <Window x:Class="WpfApp1.MainWindow"
  9529.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9530.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9531.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9532.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9533.         mc:Ignorable="d"
  9534.         Title="MainWindow" Height="800" Width="1200">
  9535.     <StackPanel>
  9536.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9537.                  Style="{StaticResource TouchTextBox}"/>
  9538.     </StackPanel>
  9539. </Window>    x:Class="WpfApp1.TouchTextBox">
  9540.    
  9541. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9542. <Window x:Class="WpfApp1.MainWindow"
  9543.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9544.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9545.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9546.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9547.         mc:Ignorable="d"
  9548.         Title="MainWindow" Height="800" Width="1200">
  9549.     <StackPanel>
  9550.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9551.                  Style="{StaticResource TouchTextBox}"/>
  9552.     </StackPanel>
  9553. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9554. <Window x:Class="WpfApp1.MainWindow"
  9555.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9556.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9557.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9558.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9559.         mc:Ignorable="d"
  9560.         Title="MainWindow" Height="800" Width="1200">
  9561.     <StackPanel>
  9562.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9563.                  Style="{StaticResource TouchTextBox}"/>
  9564.     </StackPanel>
  9565. </Window>    x:Class="WpfApp1.TouchTextBox">
  9566.    
  9567. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=l}"
  9568. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9569. <Window x:Class="WpfApp1.MainWindow"
  9570.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9571.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9572.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9573.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9574.         mc:Ignorable="d"
  9575.         Title="MainWindow" Height="800" Width="1200">
  9576.     <StackPanel>
  9577.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9578.                  Style="{StaticResource TouchTextBox}"/>
  9579.     </StackPanel>
  9580. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9581. <Window x:Class="WpfApp1.MainWindow"
  9582.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9583.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9584.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9585.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9586.         mc:Ignorable="d"
  9587.         Title="MainWindow" Height="800" Width="1200">
  9588.     <StackPanel>
  9589.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9590.                  Style="{StaticResource TouchTextBox}"/>
  9591.     </StackPanel>
  9592. </Window>    x:Class="WpfApp1.TouchTextBox">
  9593.    
  9594. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9595. <Window x:Class="WpfApp1.MainWindow"
  9596.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9597.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9598.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9599.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9600.         mc:Ignorable="d"
  9601.         Title="MainWindow" Height="800" Width="1200">
  9602.     <StackPanel>
  9603.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9604.                  Style="{StaticResource TouchTextBox}"/>
  9605.     </StackPanel>
  9606. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9607. <Window x:Class="WpfApp1.MainWindow"
  9608.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9609.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9610.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9611.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9612.         mc:Ignorable="d"
  9613.         Title="MainWindow" Height="800" Width="1200">
  9614.     <StackPanel>
  9615.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9616.                  Style="{StaticResource TouchTextBox}"/>
  9617.     </StackPanel>
  9618. </Window>    x:Class="WpfApp1.TouchTextBox">
  9619.    
  9620. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9621. <Window x:Class="WpfApp1.MainWindow"
  9622.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9623.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9624.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9625.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9626.         mc:Ignorable="d"
  9627.         Title="MainWindow" Height="800" Width="1200">
  9628.     <StackPanel>
  9629.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9630.                  Style="{StaticResource TouchTextBox}"/>
  9631.     </StackPanel>
  9632. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9633. <Window x:Class="WpfApp1.MainWindow"
  9634.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9635.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9636.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9637.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9638.         mc:Ignorable="d"
  9639.         Title="MainWindow" Height="800" Width="1200">
  9640.     <StackPanel>
  9641.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9642.                  Style="{StaticResource TouchTextBox}"/>
  9643.     </StackPanel>
  9644. </Window>    x:Class="WpfApp1.TouchTextBox">
  9645.    
  9646. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9647. <Window x:Class="WpfApp1.MainWindow"
  9648.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9649.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9650.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9651.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9652.         mc:Ignorable="d"
  9653.         Title="MainWindow" Height="800" Width="1200">
  9654.     <StackPanel>
  9655.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9656.                  Style="{StaticResource TouchTextBox}"/>
  9657.     </StackPanel>
  9658. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9659. <Window x:Class="WpfApp1.MainWindow"
  9660.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9661.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9662.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9663.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9664.         mc:Ignorable="d"
  9665.         Title="MainWindow" Height="800" Width="1200">
  9666.     <StackPanel>
  9667.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9668.                  Style="{StaticResource TouchTextBox}"/>
  9669.     </StackPanel>
  9670. </Window>    x:Class="WpfApp1.TouchTextBox">
  9671.    
  9672. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9673. <Window x:Class="WpfApp1.MainWindow"
  9674.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9675.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9676.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9677.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9678.         mc:Ignorable="d"
  9679.         Title="MainWindow" Height="800" Width="1200">
  9680.     <StackPanel>
  9681.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9682.                  Style="{StaticResource TouchTextBox}"/>
  9683.     </StackPanel>
  9684. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9685. <Window x:Class="WpfApp1.MainWindow"
  9686.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9687.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9688.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9689.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9690.         mc:Ignorable="d"
  9691.         Title="MainWindow" Height="800" Width="1200">
  9692.     <StackPanel>
  9693.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9694.                  Style="{StaticResource TouchTextBox}"/>
  9695.     </StackPanel>
  9696. </Window>    x:Class="WpfApp1.TouchTextBox">
  9697.    
  9698. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9699. <Window x:Class="WpfApp1.MainWindow"
  9700.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9701.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9702.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9703.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9704.         mc:Ignorable="d"
  9705.         Title="MainWindow" Height="800" Width="1200">
  9706.     <StackPanel>
  9707.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9708.                  Style="{StaticResource TouchTextBox}"/>
  9709.     </StackPanel>
  9710. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9711. <Window x:Class="WpfApp1.MainWindow"
  9712.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9713.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9714.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9715.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9716.         mc:Ignorable="d"
  9717.         Title="MainWindow" Height="800" Width="1200">
  9718.     <StackPanel>
  9719.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9720.                  Style="{StaticResource TouchTextBox}"/>
  9721.     </StackPanel>
  9722. </Window>    x:Class="WpfApp1.TouchTextBox">
  9723.    
  9724. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9725. <Window x:Class="WpfApp1.MainWindow"
  9726.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9727.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9728.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9729.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9730.         mc:Ignorable="d"
  9731.         Title="MainWindow" Height="800" Width="1200">
  9732.     <StackPanel>
  9733.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9734.                  Style="{StaticResource TouchTextBox}"/>
  9735.     </StackPanel>
  9736. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9737. <Window x:Class="WpfApp1.MainWindow"
  9738.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9739.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9740.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9741.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9742.         mc:Ignorable="d"
  9743.         Title="MainWindow" Height="800" Width="1200">
  9744.     <StackPanel>
  9745.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9746.                  Style="{StaticResource TouchTextBox}"/>
  9747.     </StackPanel>
  9748. </Window>    x:Class="WpfApp1.TouchTextBox">
  9749.    
  9750. </ResourceDictionary> Click="Button_Click"/>
  9751. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9752. <Window x:Class="WpfApp1.MainWindow"
  9753.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9754.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9755.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9756.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9757.         mc:Ignorable="d"
  9758.         Title="MainWindow" Height="800" Width="1200">
  9759.     <StackPanel>
  9760.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9761.                  Style="{StaticResource TouchTextBox}"/>
  9762.     </StackPanel>
  9763. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9764. <Window x:Class="WpfApp1.MainWindow"
  9765.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9766.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9767.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9768.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9769.         mc:Ignorable="d"
  9770.         Title="MainWindow" Height="800" Width="1200">
  9771.     <StackPanel>
  9772.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9773.                  Style="{StaticResource TouchTextBox}"/>
  9774.     </StackPanel>
  9775. </Window>    x:Class="WpfApp1.TouchTextBox">
  9776.    
  9777. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9778. <Window x:Class="WpfApp1.MainWindow"
  9779.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9780.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9781.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9782.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9783.         mc:Ignorable="d"
  9784.         Title="MainWindow" Height="800" Width="1200">
  9785.     <StackPanel>
  9786.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9787.                  Style="{StaticResource TouchTextBox}"/>
  9788.     </StackPanel>
  9789. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9790. <Window x:Class="WpfApp1.MainWindow"
  9791.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9792.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9793.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9794.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9795.         mc:Ignorable="d"
  9796.         Title="MainWindow" Height="800" Width="1200">
  9797.     <StackPanel>
  9798.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9799.                  Style="{StaticResource TouchTextBox}"/>
  9800.     </StackPanel>
  9801. </Window>    x:Class="WpfApp1.TouchTextBox">
  9802.    
  9803. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9804. <Window x:Class="WpfApp1.MainWindow"
  9805.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9806.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9807.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9808.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9809.         mc:Ignorable="d"
  9810.         Title="MainWindow" Height="800" Width="1200">
  9811.     <StackPanel>
  9812.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9813.                  Style="{StaticResource TouchTextBox}"/>
  9814.     </StackPanel>
  9815. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9816. <Window x:Class="WpfApp1.MainWindow"
  9817.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9818.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9819.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9820.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9821.         mc:Ignorable="d"
  9822.         Title="MainWindow" Height="800" Width="1200">
  9823.     <StackPanel>
  9824.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9825.                  Style="{StaticResource TouchTextBox}"/>
  9826.     </StackPanel>
  9827. </Window>    x:Class="WpfApp1.TouchTextBox">
  9828.    
  9829. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9830. <Window x:Class="WpfApp1.MainWindow"
  9831.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9832.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9833.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9834.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9835.         mc:Ignorable="d"
  9836.         Title="MainWindow" Height="800" Width="1200">
  9837.     <StackPanel>
  9838.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9839.                  Style="{StaticResource TouchTextBox}"/>
  9840.     </StackPanel>
  9841. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9842. <Window x:Class="WpfApp1.MainWindow"
  9843.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9844.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9845.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9846.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9847.         mc:Ignorable="d"
  9848.         Title="MainWindow" Height="800" Width="1200">
  9849.     <StackPanel>
  9850.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9851.                  Style="{StaticResource TouchTextBox}"/>
  9852.     </StackPanel>
  9853. </Window>    x:Class="WpfApp1.TouchTextBox">
  9854.    
  9855. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9856. <Window x:Class="WpfApp1.MainWindow"
  9857.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9858.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9859.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9860.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9861.         mc:Ignorable="d"
  9862.         Title="MainWindow" Height="800" Width="1200">
  9863.     <StackPanel>
  9864.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9865.                  Style="{StaticResource TouchTextBox}"/>
  9866.     </StackPanel>
  9867. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9868. <Window x:Class="WpfApp1.MainWindow"
  9869.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9870.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9871.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9872.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9873.         mc:Ignorable="d"
  9874.         Title="MainWindow" Height="800" Width="1200">
  9875.     <StackPanel>
  9876.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9877.                  Style="{StaticResource TouchTextBox}"/>
  9878.     </StackPanel>
  9879. </Window>    x:Class="WpfApp1.TouchTextBox">
  9880.    
  9881. </ResourceDictionary><Button Content="." Click="Button_Click"  Style="{StaticResource btnNum}" />
  9882. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9883. <Window x:Class="WpfApp1.MainWindow"
  9884.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9885.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9886.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9887.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9888.         mc:Ignorable="d"
  9889.         Title="MainWindow" Height="800" Width="1200">
  9890.     <StackPanel>
  9891.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9892.                  Style="{StaticResource TouchTextBox}"/>
  9893.     </StackPanel>
  9894. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9895. <Window x:Class="WpfApp1.MainWindow"
  9896.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9897.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9898.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9899.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9900.         mc:Ignorable="d"
  9901.         Title="MainWindow" Height="800" Width="1200">
  9902.     <StackPanel>
  9903.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9904.                  Style="{StaticResource TouchTextBox}"/>
  9905.     </StackPanel>
  9906. </Window>    x:Class="WpfApp1.TouchTextBox">
  9907.    
  9908. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9909. <Window x:Class="WpfApp1.MainWindow"
  9910.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9911.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9912.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9913.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9914.         mc:Ignorable="d"
  9915.         Title="MainWindow" Height="800" Width="1200">
  9916.     <StackPanel>
  9917.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9918.                  Style="{StaticResource TouchTextBox}"/>
  9919.     </StackPanel>
  9920. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9921. <Window x:Class="WpfApp1.MainWindow"
  9922.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9923.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9924.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9925.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9926.         mc:Ignorable="d"
  9927.         Title="MainWindow" Height="800" Width="1200">
  9928.     <StackPanel>
  9929.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9930.                  Style="{StaticResource TouchTextBox}"/>
  9931.     </StackPanel>
  9932. </Window>    x:Class="WpfApp1.TouchTextBox">
  9933.    
  9934. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9935. <Window x:Class="WpfApp1.MainWindow"
  9936.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9937.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9938.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9939.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9940.         mc:Ignorable="d"
  9941.         Title="MainWindow" Height="800" Width="1200">
  9942.     <StackPanel>
  9943.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9944.                  Style="{StaticResource TouchTextBox}"/>
  9945.     </StackPanel>
  9946. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9947. <Window x:Class="WpfApp1.MainWindow"
  9948.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9949.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9950.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9951.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9952.         mc:Ignorable="d"
  9953.         Title="MainWindow" Height="800" Width="1200">
  9954.     <StackPanel>
  9955.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9956.                  Style="{StaticResource TouchTextBox}"/>
  9957.     </StackPanel>
  9958. </Window>    x:Class="WpfApp1.TouchTextBox">
  9959.    
  9960. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9961. <Window x:Class="WpfApp1.MainWindow"
  9962.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9963.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9964.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9965.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9966.         mc:Ignorable="d"
  9967.         Title="MainWindow" Height="800" Width="1200">
  9968.     <StackPanel>
  9969.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9970.                  Style="{StaticResource TouchTextBox}"/>
  9971.     </StackPanel>
  9972. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9973. <Window x:Class="WpfApp1.MainWindow"
  9974.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9975.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9976.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9977.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9978.         mc:Ignorable="d"
  9979.         Title="MainWindow" Height="800" Width="1200">
  9980.     <StackPanel>
  9981.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9982.                  Style="{StaticResource TouchTextBox}"/>
  9983.     </StackPanel>
  9984. </Window>    x:Class="WpfApp1.TouchTextBox">
  9985.    
  9986. </ResourceDictionary></WrapPanel>
  9987. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9988. <Window x:Class="WpfApp1.MainWindow"
  9989.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  9990.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  9991.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9992.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9993.         mc:Ignorable="d"
  9994.         Title="MainWindow" Height="800" Width="1200">
  9995.     <StackPanel>
  9996.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  9997.                  Style="{StaticResource TouchTextBox}"/>
  9998.     </StackPanel>
  9999. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10000. <Window x:Class="WpfApp1.MainWindow"
  10001.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10002.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10003.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10004.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10005.         mc:Ignorable="d"
  10006.         Title="MainWindow" Height="800" Width="1200">
  10007.     <StackPanel>
  10008.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10009.                  Style="{StaticResource TouchTextBox}"/>
  10010.     </StackPanel>
  10011. </Window>    x:Class="WpfApp1.TouchTextBox">
  10012.    
  10013. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10014. <Window x:Class="WpfApp1.MainWindow"
  10015.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10016.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10017.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10018.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10019.         mc:Ignorable="d"
  10020.         Title="MainWindow" Height="800" Width="1200">
  10021.     <StackPanel>
  10022.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10023.                  Style="{StaticResource TouchTextBox}"/>
  10024.     </StackPanel>
  10025. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10026. <Window x:Class="WpfApp1.MainWindow"
  10027.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10028.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10029.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10030.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10031.         mc:Ignorable="d"
  10032.         Title="MainWindow" Height="800" Width="1200">
  10033.     <StackPanel>
  10034.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10035.                  Style="{StaticResource TouchTextBox}"/>
  10036.     </StackPanel>
  10037. </Window>    x:Class="WpfApp1.TouchTextBox">
  10038.    
  10039. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10040. <Window x:Class="WpfApp1.MainWindow"
  10041.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10042.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10043.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10044.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10045.         mc:Ignorable="d"
  10046.         Title="MainWindow" Height="800" Width="1200">
  10047.     <StackPanel>
  10048.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10049.                  Style="{StaticResource TouchTextBox}"/>
  10050.     </StackPanel>
  10051. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10052. <Window x:Class="WpfApp1.MainWindow"
  10053.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10054.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10055.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10056.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10057.         mc:Ignorable="d"
  10058.         Title="MainWindow" Height="800" Width="1200">
  10059.     <StackPanel>
  10060.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10061.                  Style="{StaticResource TouchTextBox}"/>
  10062.     </StackPanel>
  10063. </Window>    x:Class="WpfApp1.TouchTextBox">
  10064.    
  10065. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10066. <Window x:Class="WpfApp1.MainWindow"
  10067.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10068.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10069.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10070.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10071.         mc:Ignorable="d"
  10072.         Title="MainWindow" Height="800" Width="1200">
  10073.     <StackPanel>
  10074.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10075.                  Style="{StaticResource TouchTextBox}"/>
  10076.     </StackPanel>
  10077. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10078. <Window x:Class="WpfApp1.MainWindow"
  10079.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10080.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10081.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10082.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10083.         mc:Ignorable="d"
  10084.         Title="MainWindow" Height="800" Width="1200">
  10085.     <StackPanel>
  10086.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10087.                  Style="{StaticResource TouchTextBox}"/>
  10088.     </StackPanel>
  10089. </Window>    x:Class="WpfApp1.TouchTextBox">
  10090.    
  10091. </ResourceDictionary><WrapPanel Margin="70 0 0 0">
  10092. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10093. <Window x:Class="WpfApp1.MainWindow"
  10094.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10095.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10096.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10097.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10098.         mc:Ignorable="d"
  10099.         Title="MainWindow" Height="800" Width="1200">
  10100.     <StackPanel>
  10101.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10102.                  Style="{StaticResource TouchTextBox}"/>
  10103.     </StackPanel>
  10104. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10105. <Window x:Class="WpfApp1.MainWindow"
  10106.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10107.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10108.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10109.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10110.         mc:Ignorable="d"
  10111.         Title="MainWindow" Height="800" Width="1200">
  10112.     <StackPanel>
  10113.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10114.                  Style="{StaticResource TouchTextBox}"/>
  10115.     </StackPanel>
  10116. </Window>    x:Class="WpfApp1.TouchTextBox">
  10117.    
  10118. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10119. <Window x:Class="WpfApp1.MainWindow"
  10120.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10121.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10122.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10123.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10124.         mc:Ignorable="d"
  10125.         Title="MainWindow" Height="800" Width="1200">
  10126.     <StackPanel>
  10127.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10128.                  Style="{StaticResource TouchTextBox}"/>
  10129.     </StackPanel>
  10130. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10131. <Window x:Class="WpfApp1.MainWindow"
  10132.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10133.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10134.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10135.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10136.         mc:Ignorable="d"
  10137.         Title="MainWindow" Height="800" Width="1200">
  10138.     <StackPanel>
  10139.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10140.                  Style="{StaticResource TouchTextBox}"/>
  10141.     </StackPanel>
  10142. </Window>    x:Class="WpfApp1.TouchTextBox">
  10143.    
  10144. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10145. <Window x:Class="WpfApp1.MainWindow"
  10146.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10147.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10148.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10149.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10150.         mc:Ignorable="d"
  10151.         Title="MainWindow" Height="800" Width="1200">
  10152.     <StackPanel>
  10153.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10154.                  Style="{StaticResource TouchTextBox}"/>
  10155.     </StackPanel>
  10156. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10157. <Window x:Class="WpfApp1.MainWindow"
  10158.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10159.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10160.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10161.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10162.         mc:Ignorable="d"
  10163.         Title="MainWindow" Height="800" Width="1200">
  10164.     <StackPanel>
  10165.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10166.                  Style="{StaticResource TouchTextBox}"/>
  10167.     </StackPanel>
  10168. </Window>    x:Class="WpfApp1.TouchTextBox">
  10169.    
  10170. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10171. <Window x:Class="WpfApp1.MainWindow"
  10172.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10173.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10174.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10175.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10176.         mc:Ignorable="d"
  10177.         Title="MainWindow" Height="800" Width="1200">
  10178.     <StackPanel>
  10179.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10180.                  Style="{StaticResource TouchTextBox}"/>
  10181.     </StackPanel>
  10182. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10183. <Window x:Class="WpfApp1.MainWindow"
  10184.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10185.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10186.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10187.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10188.         mc:Ignorable="d"
  10189.         Title="MainWindow" Height="800" Width="1200">
  10190.     <StackPanel>
  10191.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10192.                  Style="{StaticResource TouchTextBox}"/>
  10193.     </StackPanel>
  10194. </Window>    x:Class="WpfApp1.TouchTextBox">
  10195.    
  10196. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10197. <Window x:Class="WpfApp1.MainWindow"
  10198.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10199.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10200.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10201.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10202.         mc:Ignorable="d"
  10203.         Title="MainWindow" Height="800" Width="1200">
  10204.     <StackPanel>
  10205.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10206.                  Style="{StaticResource TouchTextBox}"/>
  10207.     </StackPanel>
  10208. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10209. <Window x:Class="WpfApp1.MainWindow"
  10210.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10211.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10212.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10213.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10214.         mc:Ignorable="d"
  10215.         Title="MainWindow" Height="800" Width="1200">
  10216.     <StackPanel>
  10217.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10218.                  Style="{StaticResource TouchTextBox}"/>
  10219.     </StackPanel>
  10220. </Window>    x:Class="WpfApp1.TouchTextBox">
  10221.    
  10222. </ResourceDictionary><Button Content="A/a" Click="CapsButton_Click"  Style="{StaticResource btnFunc}"  />
  10223. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10224. <Window x:Class="WpfApp1.MainWindow"
  10225.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10226.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10227.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10228.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10229.         mc:Ignorable="d"
  10230.         Title="MainWindow" Height="800" Width="1200">
  10231.     <StackPanel>
  10232.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10233.                  Style="{StaticResource TouchTextBox}"/>
  10234.     </StackPanel>
  10235. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10236. <Window x:Class="WpfApp1.MainWindow"
  10237.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10238.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10239.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10240.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10241.         mc:Ignorable="d"
  10242.         Title="MainWindow" Height="800" Width="1200">
  10243.     <StackPanel>
  10244.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10245.                  Style="{StaticResource TouchTextBox}"/>
  10246.     </StackPanel>
  10247. </Window>    x:Class="WpfApp1.TouchTextBox">
  10248.    
  10249. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10250. <Window x:Class="WpfApp1.MainWindow"
  10251.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10252.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10253.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10254.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10255.         mc:Ignorable="d"
  10256.         Title="MainWindow" Height="800" Width="1200">
  10257.     <StackPanel>
  10258.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10259.                  Style="{StaticResource TouchTextBox}"/>
  10260.     </StackPanel>
  10261. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10262. <Window x:Class="WpfApp1.MainWindow"
  10263.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10264.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10265.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10266.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10267.         mc:Ignorable="d"
  10268.         Title="MainWindow" Height="800" Width="1200">
  10269.     <StackPanel>
  10270.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10271.                  Style="{StaticResource TouchTextBox}"/>
  10272.     </StackPanel>
  10273. </Window>    x:Class="WpfApp1.TouchTextBox">
  10274.    
  10275. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10276. <Window x:Class="WpfApp1.MainWindow"
  10277.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10278.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10279.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10280.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10281.         mc:Ignorable="d"
  10282.         Title="MainWindow" Height="800" Width="1200">
  10283.     <StackPanel>
  10284.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10285.                  Style="{StaticResource TouchTextBox}"/>
  10286.     </StackPanel>
  10287. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10288. <Window x:Class="WpfApp1.MainWindow"
  10289.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10290.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10291.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10292.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10293.         mc:Ignorable="d"
  10294.         Title="MainWindow" Height="800" Width="1200">
  10295.     <StackPanel>
  10296.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10297.                  Style="{StaticResource TouchTextBox}"/>
  10298.     </StackPanel>
  10299. </Window>    x:Class="WpfApp1.TouchTextBox">
  10300.    
  10301. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10302. <Window x:Class="WpfApp1.MainWindow"
  10303.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10304.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10305.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10306.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10307.         mc:Ignorable="d"
  10308.         Title="MainWindow" Height="800" Width="1200">
  10309.     <StackPanel>
  10310.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10311.                  Style="{StaticResource TouchTextBox}"/>
  10312.     </StackPanel>
  10313. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10314. <Window x:Class="WpfApp1.MainWindow"
  10315.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10316.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10317.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10318.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10319.         mc:Ignorable="d"
  10320.         Title="MainWindow" Height="800" Width="1200">
  10321.     <StackPanel>
  10322.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10323.                  Style="{StaticResource TouchTextBox}"/>
  10324.     </StackPanel>
  10325. </Window>    x:Class="WpfApp1.TouchTextBox">
  10326.    
  10327. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10328. <Window x:Class="WpfApp1.MainWindow"
  10329.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10330.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10331.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10332.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10333.         mc:Ignorable="d"
  10334.         Title="MainWindow" Height="800" Width="1200">
  10335.     <StackPanel>
  10336.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10337.                  Style="{StaticResource TouchTextBox}"/>
  10338.     </StackPanel>
  10339. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10340. <Window x:Class="WpfApp1.MainWindow"
  10341.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10342.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10343.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10344.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10345.         mc:Ignorable="d"
  10346.         Title="MainWindow" Height="800" Width="1200">
  10347.     <StackPanel>
  10348.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10349.                  Style="{StaticResource TouchTextBox}"/>
  10350.     </StackPanel>
  10351. </Window>    x:Class="WpfApp1.TouchTextBox">
  10352.    
  10353. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=z}"
  10354. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10355. <Window x:Class="WpfApp1.MainWindow"
  10356.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10357.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10358.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10359.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10360.         mc:Ignorable="d"
  10361.         Title="MainWindow" Height="800" Width="1200">
  10362.     <StackPanel>
  10363.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10364.                  Style="{StaticResource TouchTextBox}"/>
  10365.     </StackPanel>
  10366. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10367. <Window x:Class="WpfApp1.MainWindow"
  10368.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10369.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10370.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10371.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10372.         mc:Ignorable="d"
  10373.         Title="MainWindow" Height="800" Width="1200">
  10374.     <StackPanel>
  10375.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10376.                  Style="{StaticResource TouchTextBox}"/>
  10377.     </StackPanel>
  10378. </Window>    x:Class="WpfApp1.TouchTextBox">
  10379.    
  10380. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10381. <Window x:Class="WpfApp1.MainWindow"
  10382.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10383.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10384.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10385.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10386.         mc:Ignorable="d"
  10387.         Title="MainWindow" Height="800" Width="1200">
  10388.     <StackPanel>
  10389.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10390.                  Style="{StaticResource TouchTextBox}"/>
  10391.     </StackPanel>
  10392. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10393. <Window x:Class="WpfApp1.MainWindow"
  10394.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10395.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10396.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10397.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10398.         mc:Ignorable="d"
  10399.         Title="MainWindow" Height="800" Width="1200">
  10400.     <StackPanel>
  10401.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10402.                  Style="{StaticResource TouchTextBox}"/>
  10403.     </StackPanel>
  10404. </Window>    x:Class="WpfApp1.TouchTextBox">
  10405.    
  10406. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10407. <Window x:Class="WpfApp1.MainWindow"
  10408.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10409.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10410.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10411.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10412.         mc:Ignorable="d"
  10413.         Title="MainWindow" Height="800" Width="1200">
  10414.     <StackPanel>
  10415.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10416.                  Style="{StaticResource TouchTextBox}"/>
  10417.     </StackPanel>
  10418. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10419. <Window x:Class="WpfApp1.MainWindow"
  10420.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10421.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10422.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10423.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10424.         mc:Ignorable="d"
  10425.         Title="MainWindow" Height="800" Width="1200">
  10426.     <StackPanel>
  10427.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10428.                  Style="{StaticResource TouchTextBox}"/>
  10429.     </StackPanel>
  10430. </Window>    x:Class="WpfApp1.TouchTextBox">
  10431.    
  10432. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10433. <Window x:Class="WpfApp1.MainWindow"
  10434.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10435.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10436.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10437.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10438.         mc:Ignorable="d"
  10439.         Title="MainWindow" Height="800" Width="1200">
  10440.     <StackPanel>
  10441.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10442.                  Style="{StaticResource TouchTextBox}"/>
  10443.     </StackPanel>
  10444. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10445. <Window x:Class="WpfApp1.MainWindow"
  10446.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10447.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10448.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10449.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10450.         mc:Ignorable="d"
  10451.         Title="MainWindow" Height="800" Width="1200">
  10452.     <StackPanel>
  10453.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10454.                  Style="{StaticResource TouchTextBox}"/>
  10455.     </StackPanel>
  10456. </Window>    x:Class="WpfApp1.TouchTextBox">
  10457.    
  10458. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10459. <Window x:Class="WpfApp1.MainWindow"
  10460.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10461.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10462.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10463.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10464.         mc:Ignorable="d"
  10465.         Title="MainWindow" Height="800" Width="1200">
  10466.     <StackPanel>
  10467.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10468.                  Style="{StaticResource TouchTextBox}"/>
  10469.     </StackPanel>
  10470. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10471. <Window x:Class="WpfApp1.MainWindow"
  10472.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10473.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10474.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10475.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10476.         mc:Ignorable="d"
  10477.         Title="MainWindow" Height="800" Width="1200">
  10478.     <StackPanel>
  10479.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10480.                  Style="{StaticResource TouchTextBox}"/>
  10481.     </StackPanel>
  10482. </Window>    x:Class="WpfApp1.TouchTextBox">
  10483.    
  10484. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10485. <Window x:Class="WpfApp1.MainWindow"
  10486.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10487.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10488.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10489.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10490.         mc:Ignorable="d"
  10491.         Title="MainWindow" Height="800" Width="1200">
  10492.     <StackPanel>
  10493.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10494.                  Style="{StaticResource TouchTextBox}"/>
  10495.     </StackPanel>
  10496. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10497. <Window x:Class="WpfApp1.MainWindow"
  10498.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10499.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10500.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10501.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10502.         mc:Ignorable="d"
  10503.         Title="MainWindow" Height="800" Width="1200">
  10504.     <StackPanel>
  10505.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10506.                  Style="{StaticResource TouchTextBox}"/>
  10507.     </StackPanel>
  10508. </Window>    x:Class="WpfApp1.TouchTextBox">
  10509.    
  10510. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10511. <Window x:Class="WpfApp1.MainWindow"
  10512.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10513.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10514.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10515.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10516.         mc:Ignorable="d"
  10517.         Title="MainWindow" Height="800" Width="1200">
  10518.     <StackPanel>
  10519.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10520.                  Style="{StaticResource TouchTextBox}"/>
  10521.     </StackPanel>
  10522. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10523. <Window x:Class="WpfApp1.MainWindow"
  10524.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10525.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10526.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10527.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10528.         mc:Ignorable="d"
  10529.         Title="MainWindow" Height="800" Width="1200">
  10530.     <StackPanel>
  10531.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10532.                  Style="{StaticResource TouchTextBox}"/>
  10533.     </StackPanel>
  10534. </Window>    x:Class="WpfApp1.TouchTextBox">
  10535.    
  10536. </ResourceDictionary> Click="Button_Click"/>
  10537. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10538. <Window x:Class="WpfApp1.MainWindow"
  10539.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10540.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10541.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10542.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10543.         mc:Ignorable="d"
  10544.         Title="MainWindow" Height="800" Width="1200">
  10545.     <StackPanel>
  10546.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10547.                  Style="{StaticResource TouchTextBox}"/>
  10548.     </StackPanel>
  10549. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10550. <Window x:Class="WpfApp1.MainWindow"
  10551.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10552.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10553.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10554.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10555.         mc:Ignorable="d"
  10556.         Title="MainWindow" Height="800" Width="1200">
  10557.     <StackPanel>
  10558.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10559.                  Style="{StaticResource TouchTextBox}"/>
  10560.     </StackPanel>
  10561. </Window>    x:Class="WpfApp1.TouchTextBox">
  10562.    
  10563. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10564. <Window x:Class="WpfApp1.MainWindow"
  10565.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10566.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10567.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10568.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10569.         mc:Ignorable="d"
  10570.         Title="MainWindow" Height="800" Width="1200">
  10571.     <StackPanel>
  10572.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10573.                  Style="{StaticResource TouchTextBox}"/>
  10574.     </StackPanel>
  10575. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10576. <Window x:Class="WpfApp1.MainWindow"
  10577.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10578.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10579.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10580.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10581.         mc:Ignorable="d"
  10582.         Title="MainWindow" Height="800" Width="1200">
  10583.     <StackPanel>
  10584.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10585.                  Style="{StaticResource TouchTextBox}"/>
  10586.     </StackPanel>
  10587. </Window>    x:Class="WpfApp1.TouchTextBox">
  10588.    
  10589. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10590. <Window x:Class="WpfApp1.MainWindow"
  10591.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10592.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10593.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10594.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10595.         mc:Ignorable="d"
  10596.         Title="MainWindow" Height="800" Width="1200">
  10597.     <StackPanel>
  10598.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10599.                  Style="{StaticResource TouchTextBox}"/>
  10600.     </StackPanel>
  10601. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10602. <Window x:Class="WpfApp1.MainWindow"
  10603.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10604.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10605.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10606.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10607.         mc:Ignorable="d"
  10608.         Title="MainWindow" Height="800" Width="1200">
  10609.     <StackPanel>
  10610.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10611.                  Style="{StaticResource TouchTextBox}"/>
  10612.     </StackPanel>
  10613. </Window>    x:Class="WpfApp1.TouchTextBox">
  10614.    
  10615. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10616. <Window x:Class="WpfApp1.MainWindow"
  10617.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10618.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10619.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10620.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10621.         mc:Ignorable="d"
  10622.         Title="MainWindow" Height="800" Width="1200">
  10623.     <StackPanel>
  10624.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10625.                  Style="{StaticResource TouchTextBox}"/>
  10626.     </StackPanel>
  10627. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10628. <Window x:Class="WpfApp1.MainWindow"
  10629.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10630.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10631.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10632.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10633.         mc:Ignorable="d"
  10634.         Title="MainWindow" Height="800" Width="1200">
  10635.     <StackPanel>
  10636.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10637.                  Style="{StaticResource TouchTextBox}"/>
  10638.     </StackPanel>
  10639. </Window>    x:Class="WpfApp1.TouchTextBox">
  10640.    
  10641. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10642. <Window x:Class="WpfApp1.MainWindow"
  10643.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10644.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10645.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10646.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10647.         mc:Ignorable="d"
  10648.         Title="MainWindow" Height="800" Width="1200">
  10649.     <StackPanel>
  10650.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10651.                  Style="{StaticResource TouchTextBox}"/>
  10652.     </StackPanel>
  10653. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10654. <Window x:Class="WpfApp1.MainWindow"
  10655.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10656.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10657.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10658.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10659.         mc:Ignorable="d"
  10660.         Title="MainWindow" Height="800" Width="1200">
  10661.     <StackPanel>
  10662.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10663.                  Style="{StaticResource TouchTextBox}"/>
  10664.     </StackPanel>
  10665. </Window>    x:Class="WpfApp1.TouchTextBox">
  10666.    
  10667. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=x}"
  10668. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10669. <Window x:Class="WpfApp1.MainWindow"
  10670.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10671.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10672.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10673.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10674.         mc:Ignorable="d"
  10675.         Title="MainWindow" Height="800" Width="1200">
  10676.     <StackPanel>
  10677.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10678.                  Style="{StaticResource TouchTextBox}"/>
  10679.     </StackPanel>
  10680. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10681. <Window x:Class="WpfApp1.MainWindow"
  10682.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10683.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10684.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10685.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10686.         mc:Ignorable="d"
  10687.         Title="MainWindow" Height="800" Width="1200">
  10688.     <StackPanel>
  10689.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10690.                  Style="{StaticResource TouchTextBox}"/>
  10691.     </StackPanel>
  10692. </Window>    x:Class="WpfApp1.TouchTextBox">
  10693.    
  10694. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10695. <Window x:Class="WpfApp1.MainWindow"
  10696.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10697.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10698.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10699.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10700.         mc:Ignorable="d"
  10701.         Title="MainWindow" Height="800" Width="1200">
  10702.     <StackPanel>
  10703.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10704.                  Style="{StaticResource TouchTextBox}"/>
  10705.     </StackPanel>
  10706. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10707. <Window x:Class="WpfApp1.MainWindow"
  10708.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10709.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10710.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10711.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10712.         mc:Ignorable="d"
  10713.         Title="MainWindow" Height="800" Width="1200">
  10714.     <StackPanel>
  10715.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10716.                  Style="{StaticResource TouchTextBox}"/>
  10717.     </StackPanel>
  10718. </Window>    x:Class="WpfApp1.TouchTextBox">
  10719.    
  10720. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10721. <Window x:Class="WpfApp1.MainWindow"
  10722.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10723.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10724.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10725.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10726.         mc:Ignorable="d"
  10727.         Title="MainWindow" Height="800" Width="1200">
  10728.     <StackPanel>
  10729.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10730.                  Style="{StaticResource TouchTextBox}"/>
  10731.     </StackPanel>
  10732. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10733. <Window x:Class="WpfApp1.MainWindow"
  10734.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10735.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10736.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10737.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10738.         mc:Ignorable="d"
  10739.         Title="MainWindow" Height="800" Width="1200">
  10740.     <StackPanel>
  10741.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10742.                  Style="{StaticResource TouchTextBox}"/>
  10743.     </StackPanel>
  10744. </Window>    x:Class="WpfApp1.TouchTextBox">
  10745.    
  10746. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10747. <Window x:Class="WpfApp1.MainWindow"
  10748.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10749.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10750.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10751.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10752.         mc:Ignorable="d"
  10753.         Title="MainWindow" Height="800" Width="1200">
  10754.     <StackPanel>
  10755.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10756.                  Style="{StaticResource TouchTextBox}"/>
  10757.     </StackPanel>
  10758. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10759. <Window x:Class="WpfApp1.MainWindow"
  10760.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10761.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10762.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10763.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10764.         mc:Ignorable="d"
  10765.         Title="MainWindow" Height="800" Width="1200">
  10766.     <StackPanel>
  10767.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10768.                  Style="{StaticResource TouchTextBox}"/>
  10769.     </StackPanel>
  10770. </Window>    x:Class="WpfApp1.TouchTextBox">
  10771.    
  10772. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10773. <Window x:Class="WpfApp1.MainWindow"
  10774.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10775.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10776.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10777.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10778.         mc:Ignorable="d"
  10779.         Title="MainWindow" Height="800" Width="1200">
  10780.     <StackPanel>
  10781.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10782.                  Style="{StaticResource TouchTextBox}"/>
  10783.     </StackPanel>
  10784. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10785. <Window x:Class="WpfApp1.MainWindow"
  10786.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10787.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10788.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10789.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10790.         mc:Ignorable="d"
  10791.         Title="MainWindow" Height="800" Width="1200">
  10792.     <StackPanel>
  10793.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10794.                  Style="{StaticResource TouchTextBox}"/>
  10795.     </StackPanel>
  10796. </Window>    x:Class="WpfApp1.TouchTextBox">
  10797.    
  10798. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10799. <Window x:Class="WpfApp1.MainWindow"
  10800.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10801.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10802.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10803.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10804.         mc:Ignorable="d"
  10805.         Title="MainWindow" Height="800" Width="1200">
  10806.     <StackPanel>
  10807.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10808.                  Style="{StaticResource TouchTextBox}"/>
  10809.     </StackPanel>
  10810. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10811. <Window x:Class="WpfApp1.MainWindow"
  10812.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10813.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10814.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10815.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10816.         mc:Ignorable="d"
  10817.         Title="MainWindow" Height="800" Width="1200">
  10818.     <StackPanel>
  10819.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10820.                  Style="{StaticResource TouchTextBox}"/>
  10821.     </StackPanel>
  10822. </Window>    x:Class="WpfApp1.TouchTextBox">
  10823.    
  10824. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10825. <Window x:Class="WpfApp1.MainWindow"
  10826.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10827.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10828.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10829.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10830.         mc:Ignorable="d"
  10831.         Title="MainWindow" Height="800" Width="1200">
  10832.     <StackPanel>
  10833.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10834.                  Style="{StaticResource TouchTextBox}"/>
  10835.     </StackPanel>
  10836. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10837. <Window x:Class="WpfApp1.MainWindow"
  10838.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10839.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10840.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10841.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10842.         mc:Ignorable="d"
  10843.         Title="MainWindow" Height="800" Width="1200">
  10844.     <StackPanel>
  10845.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10846.                  Style="{StaticResource TouchTextBox}"/>
  10847.     </StackPanel>
  10848. </Window>    x:Class="WpfApp1.TouchTextBox">
  10849.    
  10850. </ResourceDictionary> Click="Button_Click"/>
  10851. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10852. <Window x:Class="WpfApp1.MainWindow"
  10853.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10854.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10855.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10856.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10857.         mc:Ignorable="d"
  10858.         Title="MainWindow" Height="800" Width="1200">
  10859.     <StackPanel>
  10860.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10861.                  Style="{StaticResource TouchTextBox}"/>
  10862.     </StackPanel>
  10863. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10864. <Window x:Class="WpfApp1.MainWindow"
  10865.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10866.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10867.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10868.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10869.         mc:Ignorable="d"
  10870.         Title="MainWindow" Height="800" Width="1200">
  10871.     <StackPanel>
  10872.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10873.                  Style="{StaticResource TouchTextBox}"/>
  10874.     </StackPanel>
  10875. </Window>    x:Class="WpfApp1.TouchTextBox">
  10876.    
  10877. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10878. <Window x:Class="WpfApp1.MainWindow"
  10879.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10880.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10881.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10882.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10883.         mc:Ignorable="d"
  10884.         Title="MainWindow" Height="800" Width="1200">
  10885.     <StackPanel>
  10886.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10887.                  Style="{StaticResource TouchTextBox}"/>
  10888.     </StackPanel>
  10889. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10890. <Window x:Class="WpfApp1.MainWindow"
  10891.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10892.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10893.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10894.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10895.         mc:Ignorable="d"
  10896.         Title="MainWindow" Height="800" Width="1200">
  10897.     <StackPanel>
  10898.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10899.                  Style="{StaticResource TouchTextBox}"/>
  10900.     </StackPanel>
  10901. </Window>    x:Class="WpfApp1.TouchTextBox">
  10902.    
  10903. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10904. <Window x:Class="WpfApp1.MainWindow"
  10905.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10906.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10907.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10908.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10909.         mc:Ignorable="d"
  10910.         Title="MainWindow" Height="800" Width="1200">
  10911.     <StackPanel>
  10912.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10913.                  Style="{StaticResource TouchTextBox}"/>
  10914.     </StackPanel>
  10915. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10916. <Window x:Class="WpfApp1.MainWindow"
  10917.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10918.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10919.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10920.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10921.         mc:Ignorable="d"
  10922.         Title="MainWindow" Height="800" Width="1200">
  10923.     <StackPanel>
  10924.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10925.                  Style="{StaticResource TouchTextBox}"/>
  10926.     </StackPanel>
  10927. </Window>    x:Class="WpfApp1.TouchTextBox">
  10928.    
  10929. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10930. <Window x:Class="WpfApp1.MainWindow"
  10931.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10932.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10933.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10934.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10935.         mc:Ignorable="d"
  10936.         Title="MainWindow" Height="800" Width="1200">
  10937.     <StackPanel>
  10938.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10939.                  Style="{StaticResource TouchTextBox}"/>
  10940.     </StackPanel>
  10941. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10942. <Window x:Class="WpfApp1.MainWindow"
  10943.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10944.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10945.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10946.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10947.         mc:Ignorable="d"
  10948.         Title="MainWindow" Height="800" Width="1200">
  10949.     <StackPanel>
  10950.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10951.                  Style="{StaticResource TouchTextBox}"/>
  10952.     </StackPanel>
  10953. </Window>    x:Class="WpfApp1.TouchTextBox">
  10954.    
  10955. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10956. <Window x:Class="WpfApp1.MainWindow"
  10957.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10958.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10959.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10960.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10961.         mc:Ignorable="d"
  10962.         Title="MainWindow" Height="800" Width="1200">
  10963.     <StackPanel>
  10964.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10965.                  Style="{StaticResource TouchTextBox}"/>
  10966.     </StackPanel>
  10967. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10968. <Window x:Class="WpfApp1.MainWindow"
  10969.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10970.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10971.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10972.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10973.         mc:Ignorable="d"
  10974.         Title="MainWindow" Height="800" Width="1200">
  10975.     <StackPanel>
  10976.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10977.                  Style="{StaticResource TouchTextBox}"/>
  10978.     </StackPanel>
  10979. </Window>    x:Class="WpfApp1.TouchTextBox">
  10980.    
  10981. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=c}"
  10982. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10983. <Window x:Class="WpfApp1.MainWindow"
  10984.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10985.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10986.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10987.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10988.         mc:Ignorable="d"
  10989.         Title="MainWindow" Height="800" Width="1200">
  10990.     <StackPanel>
  10991.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  10992.                  Style="{StaticResource TouchTextBox}"/>
  10993.     </StackPanel>
  10994. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10995. <Window x:Class="WpfApp1.MainWindow"
  10996.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  10997.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  10998.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  10999.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11000.         mc:Ignorable="d"
  11001.         Title="MainWindow" Height="800" Width="1200">
  11002.     <StackPanel>
  11003.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11004.                  Style="{StaticResource TouchTextBox}"/>
  11005.     </StackPanel>
  11006. </Window>    x:Class="WpfApp1.TouchTextBox">
  11007.    
  11008. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11009. <Window x:Class="WpfApp1.MainWindow"
  11010.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11011.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11012.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11013.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11014.         mc:Ignorable="d"
  11015.         Title="MainWindow" Height="800" Width="1200">
  11016.     <StackPanel>
  11017.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11018.                  Style="{StaticResource TouchTextBox}"/>
  11019.     </StackPanel>
  11020. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11021. <Window x:Class="WpfApp1.MainWindow"
  11022.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11023.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11024.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11025.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11026.         mc:Ignorable="d"
  11027.         Title="MainWindow" Height="800" Width="1200">
  11028.     <StackPanel>
  11029.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11030.                  Style="{StaticResource TouchTextBox}"/>
  11031.     </StackPanel>
  11032. </Window>    x:Class="WpfApp1.TouchTextBox">
  11033.    
  11034. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11035. <Window x:Class="WpfApp1.MainWindow"
  11036.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11037.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11038.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11039.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11040.         mc:Ignorable="d"
  11041.         Title="MainWindow" Height="800" Width="1200">
  11042.     <StackPanel>
  11043.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11044.                  Style="{StaticResource TouchTextBox}"/>
  11045.     </StackPanel>
  11046. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11047. <Window x:Class="WpfApp1.MainWindow"
  11048.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11049.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11050.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11051.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11052.         mc:Ignorable="d"
  11053.         Title="MainWindow" Height="800" Width="1200">
  11054.     <StackPanel>
  11055.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11056.                  Style="{StaticResource TouchTextBox}"/>
  11057.     </StackPanel>
  11058. </Window>    x:Class="WpfApp1.TouchTextBox">
  11059.    
  11060. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11061. <Window x:Class="WpfApp1.MainWindow"
  11062.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11063.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11064.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11065.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11066.         mc:Ignorable="d"
  11067.         Title="MainWindow" Height="800" Width="1200">
  11068.     <StackPanel>
  11069.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11070.                  Style="{StaticResource TouchTextBox}"/>
  11071.     </StackPanel>
  11072. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11073. <Window x:Class="WpfApp1.MainWindow"
  11074.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11075.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11076.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11077.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11078.         mc:Ignorable="d"
  11079.         Title="MainWindow" Height="800" Width="1200">
  11080.     <StackPanel>
  11081.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11082.                  Style="{StaticResource TouchTextBox}"/>
  11083.     </StackPanel>
  11084. </Window>    x:Class="WpfApp1.TouchTextBox">
  11085.    
  11086. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11087. <Window x:Class="WpfApp1.MainWindow"
  11088.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11089.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11090.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11091.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11092.         mc:Ignorable="d"
  11093.         Title="MainWindow" Height="800" Width="1200">
  11094.     <StackPanel>
  11095.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11096.                  Style="{StaticResource TouchTextBox}"/>
  11097.     </StackPanel>
  11098. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11099. <Window x:Class="WpfApp1.MainWindow"
  11100.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11101.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11102.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11103.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11104.         mc:Ignorable="d"
  11105.         Title="MainWindow" Height="800" Width="1200">
  11106.     <StackPanel>
  11107.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11108.                  Style="{StaticResource TouchTextBox}"/>
  11109.     </StackPanel>
  11110. </Window>    x:Class="WpfApp1.TouchTextBox">
  11111.    
  11112. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11113. <Window x:Class="WpfApp1.MainWindow"
  11114.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11115.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11116.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11117.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11118.         mc:Ignorable="d"
  11119.         Title="MainWindow" Height="800" Width="1200">
  11120.     <StackPanel>
  11121.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11122.                  Style="{StaticResource TouchTextBox}"/>
  11123.     </StackPanel>
  11124. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11125. <Window x:Class="WpfApp1.MainWindow"
  11126.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11127.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11128.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11129.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11130.         mc:Ignorable="d"
  11131.         Title="MainWindow" Height="800" Width="1200">
  11132.     <StackPanel>
  11133.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11134.                  Style="{StaticResource TouchTextBox}"/>
  11135.     </StackPanel>
  11136. </Window>    x:Class="WpfApp1.TouchTextBox">
  11137.    
  11138. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11139. <Window x:Class="WpfApp1.MainWindow"
  11140.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11141.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11142.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11143.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11144.         mc:Ignorable="d"
  11145.         Title="MainWindow" Height="800" Width="1200">
  11146.     <StackPanel>
  11147.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11148.                  Style="{StaticResource TouchTextBox}"/>
  11149.     </StackPanel>
  11150. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11151. <Window x:Class="WpfApp1.MainWindow"
  11152.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11153.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11154.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11155.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11156.         mc:Ignorable="d"
  11157.         Title="MainWindow" Height="800" Width="1200">
  11158.     <StackPanel>
  11159.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11160.                  Style="{StaticResource TouchTextBox}"/>
  11161.     </StackPanel>
  11162. </Window>    x:Class="WpfApp1.TouchTextBox">
  11163.    
  11164. </ResourceDictionary> Click="Button_Click"/>
  11165. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11166. <Window x:Class="WpfApp1.MainWindow"
  11167.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11168.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11169.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11170.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11171.         mc:Ignorable="d"
  11172.         Title="MainWindow" Height="800" Width="1200">
  11173.     <StackPanel>
  11174.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11175.                  Style="{StaticResource TouchTextBox}"/>
  11176.     </StackPanel>
  11177. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11178. <Window x:Class="WpfApp1.MainWindow"
  11179.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11180.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11181.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11182.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11183.         mc:Ignorable="d"
  11184.         Title="MainWindow" Height="800" Width="1200">
  11185.     <StackPanel>
  11186.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11187.                  Style="{StaticResource TouchTextBox}"/>
  11188.     </StackPanel>
  11189. </Window>    x:Class="WpfApp1.TouchTextBox">
  11190.    
  11191. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11192. <Window x:Class="WpfApp1.MainWindow"
  11193.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11194.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11195.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11196.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11197.         mc:Ignorable="d"
  11198.         Title="MainWindow" Height="800" Width="1200">
  11199.     <StackPanel>
  11200.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11201.                  Style="{StaticResource TouchTextBox}"/>
  11202.     </StackPanel>
  11203. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11204. <Window x:Class="WpfApp1.MainWindow"
  11205.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11206.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11207.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11208.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11209.         mc:Ignorable="d"
  11210.         Title="MainWindow" Height="800" Width="1200">
  11211.     <StackPanel>
  11212.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11213.                  Style="{StaticResource TouchTextBox}"/>
  11214.     </StackPanel>
  11215. </Window>    x:Class="WpfApp1.TouchTextBox">
  11216.    
  11217. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11218. <Window x:Class="WpfApp1.MainWindow"
  11219.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11220.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11221.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11222.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11223.         mc:Ignorable="d"
  11224.         Title="MainWindow" Height="800" Width="1200">
  11225.     <StackPanel>
  11226.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11227.                  Style="{StaticResource TouchTextBox}"/>
  11228.     </StackPanel>
  11229. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11230. <Window x:Class="WpfApp1.MainWindow"
  11231.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11232.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11233.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11234.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11235.         mc:Ignorable="d"
  11236.         Title="MainWindow" Height="800" Width="1200">
  11237.     <StackPanel>
  11238.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11239.                  Style="{StaticResource TouchTextBox}"/>
  11240.     </StackPanel>
  11241. </Window>    x:Class="WpfApp1.TouchTextBox">
  11242.    
  11243. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11244. <Window x:Class="WpfApp1.MainWindow"
  11245.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11246.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11247.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11248.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11249.         mc:Ignorable="d"
  11250.         Title="MainWindow" Height="800" Width="1200">
  11251.     <StackPanel>
  11252.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11253.                  Style="{StaticResource TouchTextBox}"/>
  11254.     </StackPanel>
  11255. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11256. <Window x:Class="WpfApp1.MainWindow"
  11257.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11258.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11259.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11260.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11261.         mc:Ignorable="d"
  11262.         Title="MainWindow" Height="800" Width="1200">
  11263.     <StackPanel>
  11264.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11265.                  Style="{StaticResource TouchTextBox}"/>
  11266.     </StackPanel>
  11267. </Window>    x:Class="WpfApp1.TouchTextBox">
  11268.    
  11269. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11270. <Window x:Class="WpfApp1.MainWindow"
  11271.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11272.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11273.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11274.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11275.         mc:Ignorable="d"
  11276.         Title="MainWindow" Height="800" Width="1200">
  11277.     <StackPanel>
  11278.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11279.                  Style="{StaticResource TouchTextBox}"/>
  11280.     </StackPanel>
  11281. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11282. <Window x:Class="WpfApp1.MainWindow"
  11283.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11284.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11285.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11286.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11287.         mc:Ignorable="d"
  11288.         Title="MainWindow" Height="800" Width="1200">
  11289.     <StackPanel>
  11290.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11291.                  Style="{StaticResource TouchTextBox}"/>
  11292.     </StackPanel>
  11293. </Window>    x:Class="WpfApp1.TouchTextBox">
  11294.    
  11295. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=v}"
  11296. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11297. <Window x:Class="WpfApp1.MainWindow"
  11298.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11299.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11300.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11301.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11302.         mc:Ignorable="d"
  11303.         Title="MainWindow" Height="800" Width="1200">
  11304.     <StackPanel>
  11305.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11306.                  Style="{StaticResource TouchTextBox}"/>
  11307.     </StackPanel>
  11308. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11309. <Window x:Class="WpfApp1.MainWindow"
  11310.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11311.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11312.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11313.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11314.         mc:Ignorable="d"
  11315.         Title="MainWindow" Height="800" Width="1200">
  11316.     <StackPanel>
  11317.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11318.                  Style="{StaticResource TouchTextBox}"/>
  11319.     </StackPanel>
  11320. </Window>    x:Class="WpfApp1.TouchTextBox">
  11321.    
  11322. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11323. <Window x:Class="WpfApp1.MainWindow"
  11324.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11325.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11326.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11327.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11328.         mc:Ignorable="d"
  11329.         Title="MainWindow" Height="800" Width="1200">
  11330.     <StackPanel>
  11331.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11332.                  Style="{StaticResource TouchTextBox}"/>
  11333.     </StackPanel>
  11334. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11335. <Window x:Class="WpfApp1.MainWindow"
  11336.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11337.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11338.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11339.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11340.         mc:Ignorable="d"
  11341.         Title="MainWindow" Height="800" Width="1200">
  11342.     <StackPanel>
  11343.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11344.                  Style="{StaticResource TouchTextBox}"/>
  11345.     </StackPanel>
  11346. </Window>    x:Class="WpfApp1.TouchTextBox">
  11347.    
  11348. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11349. <Window x:Class="WpfApp1.MainWindow"
  11350.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11351.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11352.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11353.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11354.         mc:Ignorable="d"
  11355.         Title="MainWindow" Height="800" Width="1200">
  11356.     <StackPanel>
  11357.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11358.                  Style="{StaticResource TouchTextBox}"/>
  11359.     </StackPanel>
  11360. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11361. <Window x:Class="WpfApp1.MainWindow"
  11362.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11363.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11364.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11365.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11366.         mc:Ignorable="d"
  11367.         Title="MainWindow" Height="800" Width="1200">
  11368.     <StackPanel>
  11369.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11370.                  Style="{StaticResource TouchTextBox}"/>
  11371.     </StackPanel>
  11372. </Window>    x:Class="WpfApp1.TouchTextBox">
  11373.    
  11374. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11375. <Window x:Class="WpfApp1.MainWindow"
  11376.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11377.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11378.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11379.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11380.         mc:Ignorable="d"
  11381.         Title="MainWindow" Height="800" Width="1200">
  11382.     <StackPanel>
  11383.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11384.                  Style="{StaticResource TouchTextBox}"/>
  11385.     </StackPanel>
  11386. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11387. <Window x:Class="WpfApp1.MainWindow"
  11388.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11389.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11390.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11391.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11392.         mc:Ignorable="d"
  11393.         Title="MainWindow" Height="800" Width="1200">
  11394.     <StackPanel>
  11395.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11396.                  Style="{StaticResource TouchTextBox}"/>
  11397.     </StackPanel>
  11398. </Window>    x:Class="WpfApp1.TouchTextBox">
  11399.    
  11400. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11401. <Window x:Class="WpfApp1.MainWindow"
  11402.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11403.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11404.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11405.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11406.         mc:Ignorable="d"
  11407.         Title="MainWindow" Height="800" Width="1200">
  11408.     <StackPanel>
  11409.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11410.                  Style="{StaticResource TouchTextBox}"/>
  11411.     </StackPanel>
  11412. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11413. <Window x:Class="WpfApp1.MainWindow"
  11414.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11415.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11416.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11417.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11418.         mc:Ignorable="d"
  11419.         Title="MainWindow" Height="800" Width="1200">
  11420.     <StackPanel>
  11421.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11422.                  Style="{StaticResource TouchTextBox}"/>
  11423.     </StackPanel>
  11424. </Window>    x:Class="WpfApp1.TouchTextBox">
  11425.    
  11426. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11427. <Window x:Class="WpfApp1.MainWindow"
  11428.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11429.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11430.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11431.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11432.         mc:Ignorable="d"
  11433.         Title="MainWindow" Height="800" Width="1200">
  11434.     <StackPanel>
  11435.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11436.                  Style="{StaticResource TouchTextBox}"/>
  11437.     </StackPanel>
  11438. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11439. <Window x:Class="WpfApp1.MainWindow"
  11440.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11441.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11442.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11443.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11444.         mc:Ignorable="d"
  11445.         Title="MainWindow" Height="800" Width="1200">
  11446.     <StackPanel>
  11447.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11448.                  Style="{StaticResource TouchTextBox}"/>
  11449.     </StackPanel>
  11450. </Window>    x:Class="WpfApp1.TouchTextBox">
  11451.    
  11452. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11453. <Window x:Class="WpfApp1.MainWindow"
  11454.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11455.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11456.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11457.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11458.         mc:Ignorable="d"
  11459.         Title="MainWindow" Height="800" Width="1200">
  11460.     <StackPanel>
  11461.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11462.                  Style="{StaticResource TouchTextBox}"/>
  11463.     </StackPanel>
  11464. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11465. <Window x:Class="WpfApp1.MainWindow"
  11466.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11467.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11468.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11469.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11470.         mc:Ignorable="d"
  11471.         Title="MainWindow" Height="800" Width="1200">
  11472.     <StackPanel>
  11473.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11474.                  Style="{StaticResource TouchTextBox}"/>
  11475.     </StackPanel>
  11476. </Window>    x:Class="WpfApp1.TouchTextBox">
  11477.    
  11478. </ResourceDictionary> Click="Button_Click"/>
  11479. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11480. <Window x:Class="WpfApp1.MainWindow"
  11481.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11482.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11483.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11484.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11485.         mc:Ignorable="d"
  11486.         Title="MainWindow" Height="800" Width="1200">
  11487.     <StackPanel>
  11488.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11489.                  Style="{StaticResource TouchTextBox}"/>
  11490.     </StackPanel>
  11491. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11492. <Window x:Class="WpfApp1.MainWindow"
  11493.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11494.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11495.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11496.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11497.         mc:Ignorable="d"
  11498.         Title="MainWindow" Height="800" Width="1200">
  11499.     <StackPanel>
  11500.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11501.                  Style="{StaticResource TouchTextBox}"/>
  11502.     </StackPanel>
  11503. </Window>    x:Class="WpfApp1.TouchTextBox">
  11504.    
  11505. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11506. <Window x:Class="WpfApp1.MainWindow"
  11507.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11508.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11509.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11510.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11511.         mc:Ignorable="d"
  11512.         Title="MainWindow" Height="800" Width="1200">
  11513.     <StackPanel>
  11514.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11515.                  Style="{StaticResource TouchTextBox}"/>
  11516.     </StackPanel>
  11517. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11518. <Window x:Class="WpfApp1.MainWindow"
  11519.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11520.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11521.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11522.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11523.         mc:Ignorable="d"
  11524.         Title="MainWindow" Height="800" Width="1200">
  11525.     <StackPanel>
  11526.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11527.                  Style="{StaticResource TouchTextBox}"/>
  11528.     </StackPanel>
  11529. </Window>    x:Class="WpfApp1.TouchTextBox">
  11530.    
  11531. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11532. <Window x:Class="WpfApp1.MainWindow"
  11533.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11534.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11535.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11536.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11537.         mc:Ignorable="d"
  11538.         Title="MainWindow" Height="800" Width="1200">
  11539.     <StackPanel>
  11540.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11541.                  Style="{StaticResource TouchTextBox}"/>
  11542.     </StackPanel>
  11543. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11544. <Window x:Class="WpfApp1.MainWindow"
  11545.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11546.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11547.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11548.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11549.         mc:Ignorable="d"
  11550.         Title="MainWindow" Height="800" Width="1200">
  11551.     <StackPanel>
  11552.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11553.                  Style="{StaticResource TouchTextBox}"/>
  11554.     </StackPanel>
  11555. </Window>    x:Class="WpfApp1.TouchTextBox">
  11556.    
  11557. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11558. <Window x:Class="WpfApp1.MainWindow"
  11559.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11560.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11561.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11562.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11563.         mc:Ignorable="d"
  11564.         Title="MainWindow" Height="800" Width="1200">
  11565.     <StackPanel>
  11566.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11567.                  Style="{StaticResource TouchTextBox}"/>
  11568.     </StackPanel>
  11569. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11570. <Window x:Class="WpfApp1.MainWindow"
  11571.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11572.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11573.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11574.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11575.         mc:Ignorable="d"
  11576.         Title="MainWindow" Height="800" Width="1200">
  11577.     <StackPanel>
  11578.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11579.                  Style="{StaticResource TouchTextBox}"/>
  11580.     </StackPanel>
  11581. </Window>    x:Class="WpfApp1.TouchTextBox">
  11582.    
  11583. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11584. <Window x:Class="WpfApp1.MainWindow"
  11585.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11586.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11587.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11588.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11589.         mc:Ignorable="d"
  11590.         Title="MainWindow" Height="800" Width="1200">
  11591.     <StackPanel>
  11592.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11593.                  Style="{StaticResource TouchTextBox}"/>
  11594.     </StackPanel>
  11595. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11596. <Window x:Class="WpfApp1.MainWindow"
  11597.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11598.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11599.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11600.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11601.         mc:Ignorable="d"
  11602.         Title="MainWindow" Height="800" Width="1200">
  11603.     <StackPanel>
  11604.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11605.                  Style="{StaticResource TouchTextBox}"/>
  11606.     </StackPanel>
  11607. </Window>    x:Class="WpfApp1.TouchTextBox">
  11608.    
  11609. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=b}"
  11610. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11611. <Window x:Class="WpfApp1.MainWindow"
  11612.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11613.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11614.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11615.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11616.         mc:Ignorable="d"
  11617.         Title="MainWindow" Height="800" Width="1200">
  11618.     <StackPanel>
  11619.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11620.                  Style="{StaticResource TouchTextBox}"/>
  11621.     </StackPanel>
  11622. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11623. <Window x:Class="WpfApp1.MainWindow"
  11624.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11625.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11626.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11627.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11628.         mc:Ignorable="d"
  11629.         Title="MainWindow" Height="800" Width="1200">
  11630.     <StackPanel>
  11631.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11632.                  Style="{StaticResource TouchTextBox}"/>
  11633.     </StackPanel>
  11634. </Window>    x:Class="WpfApp1.TouchTextBox">
  11635.    
  11636. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11637. <Window x:Class="WpfApp1.MainWindow"
  11638.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11639.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11640.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11641.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11642.         mc:Ignorable="d"
  11643.         Title="MainWindow" Height="800" Width="1200">
  11644.     <StackPanel>
  11645.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11646.                  Style="{StaticResource TouchTextBox}"/>
  11647.     </StackPanel>
  11648. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11649. <Window x:Class="WpfApp1.MainWindow"
  11650.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11651.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11652.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11653.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11654.         mc:Ignorable="d"
  11655.         Title="MainWindow" Height="800" Width="1200">
  11656.     <StackPanel>
  11657.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11658.                  Style="{StaticResource TouchTextBox}"/>
  11659.     </StackPanel>
  11660. </Window>    x:Class="WpfApp1.TouchTextBox">
  11661.    
  11662. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11663. <Window x:Class="WpfApp1.MainWindow"
  11664.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11665.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11666.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11667.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11668.         mc:Ignorable="d"
  11669.         Title="MainWindow" Height="800" Width="1200">
  11670.     <StackPanel>
  11671.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11672.                  Style="{StaticResource TouchTextBox}"/>
  11673.     </StackPanel>
  11674. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11675. <Window x:Class="WpfApp1.MainWindow"
  11676.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11677.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11678.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11679.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11680.         mc:Ignorable="d"
  11681.         Title="MainWindow" Height="800" Width="1200">
  11682.     <StackPanel>
  11683.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11684.                  Style="{StaticResource TouchTextBox}"/>
  11685.     </StackPanel>
  11686. </Window>    x:Class="WpfApp1.TouchTextBox">
  11687.    
  11688. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11689. <Window x:Class="WpfApp1.MainWindow"
  11690.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11691.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11692.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11693.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11694.         mc:Ignorable="d"
  11695.         Title="MainWindow" Height="800" Width="1200">
  11696.     <StackPanel>
  11697.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11698.                  Style="{StaticResource TouchTextBox}"/>
  11699.     </StackPanel>
  11700. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11701. <Window x:Class="WpfApp1.MainWindow"
  11702.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11703.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11704.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11705.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11706.         mc:Ignorable="d"
  11707.         Title="MainWindow" Height="800" Width="1200">
  11708.     <StackPanel>
  11709.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11710.                  Style="{StaticResource TouchTextBox}"/>
  11711.     </StackPanel>
  11712. </Window>    x:Class="WpfApp1.TouchTextBox">
  11713.    
  11714. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11715. <Window x:Class="WpfApp1.MainWindow"
  11716.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11717.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11718.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11719.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11720.         mc:Ignorable="d"
  11721.         Title="MainWindow" Height="800" Width="1200">
  11722.     <StackPanel>
  11723.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11724.                  Style="{StaticResource TouchTextBox}"/>
  11725.     </StackPanel>
  11726. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11727. <Window x:Class="WpfApp1.MainWindow"
  11728.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11729.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11730.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11731.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11732.         mc:Ignorable="d"
  11733.         Title="MainWindow" Height="800" Width="1200">
  11734.     <StackPanel>
  11735.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11736.                  Style="{StaticResource TouchTextBox}"/>
  11737.     </StackPanel>
  11738. </Window>    x:Class="WpfApp1.TouchTextBox">
  11739.    
  11740. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11741. <Window x:Class="WpfApp1.MainWindow"
  11742.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11743.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11744.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11745.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11746.         mc:Ignorable="d"
  11747.         Title="MainWindow" Height="800" Width="1200">
  11748.     <StackPanel>
  11749.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11750.                  Style="{StaticResource TouchTextBox}"/>
  11751.     </StackPanel>
  11752. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11753. <Window x:Class="WpfApp1.MainWindow"
  11754.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11755.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11756.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11757.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11758.         mc:Ignorable="d"
  11759.         Title="MainWindow" Height="800" Width="1200">
  11760.     <StackPanel>
  11761.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11762.                  Style="{StaticResource TouchTextBox}"/>
  11763.     </StackPanel>
  11764. </Window>    x:Class="WpfApp1.TouchTextBox">
  11765.    
  11766. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11767. <Window x:Class="WpfApp1.MainWindow"
  11768.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11769.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11770.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11771.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11772.         mc:Ignorable="d"
  11773.         Title="MainWindow" Height="800" Width="1200">
  11774.     <StackPanel>
  11775.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11776.                  Style="{StaticResource TouchTextBox}"/>
  11777.     </StackPanel>
  11778. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11779. <Window x:Class="WpfApp1.MainWindow"
  11780.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11781.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11782.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11783.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11784.         mc:Ignorable="d"
  11785.         Title="MainWindow" Height="800" Width="1200">
  11786.     <StackPanel>
  11787.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11788.                  Style="{StaticResource TouchTextBox}"/>
  11789.     </StackPanel>
  11790. </Window>    x:Class="WpfApp1.TouchTextBox">
  11791.    
  11792. </ResourceDictionary> Click="Button_Click"/>
  11793. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11794. <Window x:Class="WpfApp1.MainWindow"
  11795.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11796.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11797.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11798.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11799.         mc:Ignorable="d"
  11800.         Title="MainWindow" Height="800" Width="1200">
  11801.     <StackPanel>
  11802.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11803.                  Style="{StaticResource TouchTextBox}"/>
  11804.     </StackPanel>
  11805. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11806. <Window x:Class="WpfApp1.MainWindow"
  11807.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11808.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11809.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11810.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11811.         mc:Ignorable="d"
  11812.         Title="MainWindow" Height="800" Width="1200">
  11813.     <StackPanel>
  11814.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11815.                  Style="{StaticResource TouchTextBox}"/>
  11816.     </StackPanel>
  11817. </Window>    x:Class="WpfApp1.TouchTextBox">
  11818.    
  11819. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11820. <Window x:Class="WpfApp1.MainWindow"
  11821.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11822.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11823.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11824.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11825.         mc:Ignorable="d"
  11826.         Title="MainWindow" Height="800" Width="1200">
  11827.     <StackPanel>
  11828.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11829.                  Style="{StaticResource TouchTextBox}"/>
  11830.     </StackPanel>
  11831. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11832. <Window x:Class="WpfApp1.MainWindow"
  11833.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11834.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11835.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11836.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11837.         mc:Ignorable="d"
  11838.         Title="MainWindow" Height="800" Width="1200">
  11839.     <StackPanel>
  11840.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11841.                  Style="{StaticResource TouchTextBox}"/>
  11842.     </StackPanel>
  11843. </Window>    x:Class="WpfApp1.TouchTextBox">
  11844.    
  11845. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11846. <Window x:Class="WpfApp1.MainWindow"
  11847.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11848.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11849.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11850.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11851.         mc:Ignorable="d"
  11852.         Title="MainWindow" Height="800" Width="1200">
  11853.     <StackPanel>
  11854.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11855.                  Style="{StaticResource TouchTextBox}"/>
  11856.     </StackPanel>
  11857. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11858. <Window x:Class="WpfApp1.MainWindow"
  11859.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11860.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11861.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11862.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11863.         mc:Ignorable="d"
  11864.         Title="MainWindow" Height="800" Width="1200">
  11865.     <StackPanel>
  11866.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11867.                  Style="{StaticResource TouchTextBox}"/>
  11868.     </StackPanel>
  11869. </Window>    x:Class="WpfApp1.TouchTextBox">
  11870.    
  11871. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11872. <Window x:Class="WpfApp1.MainWindow"
  11873.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11874.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11875.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11876.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11877.         mc:Ignorable="d"
  11878.         Title="MainWindow" Height="800" Width="1200">
  11879.     <StackPanel>
  11880.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11881.                  Style="{StaticResource TouchTextBox}"/>
  11882.     </StackPanel>
  11883. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11884. <Window x:Class="WpfApp1.MainWindow"
  11885.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11886.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11887.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11888.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11889.         mc:Ignorable="d"
  11890.         Title="MainWindow" Height="800" Width="1200">
  11891.     <StackPanel>
  11892.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11893.                  Style="{StaticResource TouchTextBox}"/>
  11894.     </StackPanel>
  11895. </Window>    x:Class="WpfApp1.TouchTextBox">
  11896.    
  11897. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11898. <Window x:Class="WpfApp1.MainWindow"
  11899.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11900.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11901.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11902.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11903.         mc:Ignorable="d"
  11904.         Title="MainWindow" Height="800" Width="1200">
  11905.     <StackPanel>
  11906.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11907.                  Style="{StaticResource TouchTextBox}"/>
  11908.     </StackPanel>
  11909. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11910. <Window x:Class="WpfApp1.MainWindow"
  11911.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11912.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11913.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11914.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11915.         mc:Ignorable="d"
  11916.         Title="MainWindow" Height="800" Width="1200">
  11917.     <StackPanel>
  11918.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11919.                  Style="{StaticResource TouchTextBox}"/>
  11920.     </StackPanel>
  11921. </Window>    x:Class="WpfApp1.TouchTextBox">
  11922.    
  11923. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=n}"
  11924. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11925. <Window x:Class="WpfApp1.MainWindow"
  11926.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11927.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11928.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11929.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11930.         mc:Ignorable="d"
  11931.         Title="MainWindow" Height="800" Width="1200">
  11932.     <StackPanel>
  11933.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11934.                  Style="{StaticResource TouchTextBox}"/>
  11935.     </StackPanel>
  11936. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11937. <Window x:Class="WpfApp1.MainWindow"
  11938.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11939.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11940.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11941.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11942.         mc:Ignorable="d"
  11943.         Title="MainWindow" Height="800" Width="1200">
  11944.     <StackPanel>
  11945.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11946.                  Style="{StaticResource TouchTextBox}"/>
  11947.     </StackPanel>
  11948. </Window>    x:Class="WpfApp1.TouchTextBox">
  11949.    
  11950. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11951. <Window x:Class="WpfApp1.MainWindow"
  11952.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11953.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11954.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11955.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11956.         mc:Ignorable="d"
  11957.         Title="MainWindow" Height="800" Width="1200">
  11958.     <StackPanel>
  11959.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11960.                  Style="{StaticResource TouchTextBox}"/>
  11961.     </StackPanel>
  11962. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11963. <Window x:Class="WpfApp1.MainWindow"
  11964.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11965.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11966.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11967.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11968.         mc:Ignorable="d"
  11969.         Title="MainWindow" Height="800" Width="1200">
  11970.     <StackPanel>
  11971.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11972.                  Style="{StaticResource TouchTextBox}"/>
  11973.     </StackPanel>
  11974. </Window>    x:Class="WpfApp1.TouchTextBox">
  11975.    
  11976. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11977. <Window x:Class="WpfApp1.MainWindow"
  11978.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11979.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11980.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11981.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11982.         mc:Ignorable="d"
  11983.         Title="MainWindow" Height="800" Width="1200">
  11984.     <StackPanel>
  11985.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11986.                  Style="{StaticResource TouchTextBox}"/>
  11987.     </StackPanel>
  11988. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11989. <Window x:Class="WpfApp1.MainWindow"
  11990.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  11991.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  11992.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  11993.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  11994.         mc:Ignorable="d"
  11995.         Title="MainWindow" Height="800" Width="1200">
  11996.     <StackPanel>
  11997.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11998.                  Style="{StaticResource TouchTextBox}"/>
  11999.     </StackPanel>
  12000. </Window>    x:Class="WpfApp1.TouchTextBox">
  12001.    
  12002. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12003. <Window x:Class="WpfApp1.MainWindow"
  12004.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12005.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12006.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12007.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12008.         mc:Ignorable="d"
  12009.         Title="MainWindow" Height="800" Width="1200">
  12010.     <StackPanel>
  12011.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12012.                  Style="{StaticResource TouchTextBox}"/>
  12013.     </StackPanel>
  12014. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12015. <Window x:Class="WpfApp1.MainWindow"
  12016.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12017.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12018.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12019.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12020.         mc:Ignorable="d"
  12021.         Title="MainWindow" Height="800" Width="1200">
  12022.     <StackPanel>
  12023.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12024.                  Style="{StaticResource TouchTextBox}"/>
  12025.     </StackPanel>
  12026. </Window>    x:Class="WpfApp1.TouchTextBox">
  12027.    
  12028. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12029. <Window x:Class="WpfApp1.MainWindow"
  12030.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12031.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12032.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12033.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12034.         mc:Ignorable="d"
  12035.         Title="MainWindow" Height="800" Width="1200">
  12036.     <StackPanel>
  12037.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12038.                  Style="{StaticResource TouchTextBox}"/>
  12039.     </StackPanel>
  12040. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12041. <Window x:Class="WpfApp1.MainWindow"
  12042.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12043.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12044.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12045.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12046.         mc:Ignorable="d"
  12047.         Title="MainWindow" Height="800" Width="1200">
  12048.     <StackPanel>
  12049.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12050.                  Style="{StaticResource TouchTextBox}"/>
  12051.     </StackPanel>
  12052. </Window>    x:Class="WpfApp1.TouchTextBox">
  12053.    
  12054. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12055. <Window x:Class="WpfApp1.MainWindow"
  12056.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12057.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12058.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12059.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12060.         mc:Ignorable="d"
  12061.         Title="MainWindow" Height="800" Width="1200">
  12062.     <StackPanel>
  12063.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12064.                  Style="{StaticResource TouchTextBox}"/>
  12065.     </StackPanel>
  12066. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12067. <Window x:Class="WpfApp1.MainWindow"
  12068.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12069.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12070.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12071.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12072.         mc:Ignorable="d"
  12073.         Title="MainWindow" Height="800" Width="1200">
  12074.     <StackPanel>
  12075.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12076.                  Style="{StaticResource TouchTextBox}"/>
  12077.     </StackPanel>
  12078. </Window>    x:Class="WpfApp1.TouchTextBox">
  12079.    
  12080. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12081. <Window x:Class="WpfApp1.MainWindow"
  12082.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12083.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12084.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12085.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12086.         mc:Ignorable="d"
  12087.         Title="MainWindow" Height="800" Width="1200">
  12088.     <StackPanel>
  12089.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12090.                  Style="{StaticResource TouchTextBox}"/>
  12091.     </StackPanel>
  12092. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12093. <Window x:Class="WpfApp1.MainWindow"
  12094.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12095.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12096.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12097.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12098.         mc:Ignorable="d"
  12099.         Title="MainWindow" Height="800" Width="1200">
  12100.     <StackPanel>
  12101.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12102.                  Style="{StaticResource TouchTextBox}"/>
  12103.     </StackPanel>
  12104. </Window>    x:Class="WpfApp1.TouchTextBox">
  12105.    
  12106. </ResourceDictionary> Click="Button_Click"/>
  12107. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12108. <Window x:Class="WpfApp1.MainWindow"
  12109.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12110.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12111.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12112.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12113.         mc:Ignorable="d"
  12114.         Title="MainWindow" Height="800" Width="1200">
  12115.     <StackPanel>
  12116.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12117.                  Style="{StaticResource TouchTextBox}"/>
  12118.     </StackPanel>
  12119. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12120. <Window x:Class="WpfApp1.MainWindow"
  12121.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12122.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12123.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12124.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12125.         mc:Ignorable="d"
  12126.         Title="MainWindow" Height="800" Width="1200">
  12127.     <StackPanel>
  12128.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12129.                  Style="{StaticResource TouchTextBox}"/>
  12130.     </StackPanel>
  12131. </Window>    x:Class="WpfApp1.TouchTextBox">
  12132.    
  12133. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12134. <Window x:Class="WpfApp1.MainWindow"
  12135.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12136.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12137.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12138.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12139.         mc:Ignorable="d"
  12140.         Title="MainWindow" Height="800" Width="1200">
  12141.     <StackPanel>
  12142.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12143.                  Style="{StaticResource TouchTextBox}"/>
  12144.     </StackPanel>
  12145. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12146. <Window x:Class="WpfApp1.MainWindow"
  12147.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12148.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12149.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12150.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12151.         mc:Ignorable="d"
  12152.         Title="MainWindow" Height="800" Width="1200">
  12153.     <StackPanel>
  12154.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12155.                  Style="{StaticResource TouchTextBox}"/>
  12156.     </StackPanel>
  12157. </Window>    x:Class="WpfApp1.TouchTextBox">
  12158.    
  12159. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12160. <Window x:Class="WpfApp1.MainWindow"
  12161.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12162.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12163.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12164.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12165.         mc:Ignorable="d"
  12166.         Title="MainWindow" Height="800" Width="1200">
  12167.     <StackPanel>
  12168.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12169.                  Style="{StaticResource TouchTextBox}"/>
  12170.     </StackPanel>
  12171. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12172. <Window x:Class="WpfApp1.MainWindow"
  12173.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12174.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12175.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12176.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12177.         mc:Ignorable="d"
  12178.         Title="MainWindow" Height="800" Width="1200">
  12179.     <StackPanel>
  12180.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12181.                  Style="{StaticResource TouchTextBox}"/>
  12182.     </StackPanel>
  12183. </Window>    x:Class="WpfApp1.TouchTextBox">
  12184.    
  12185. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12186. <Window x:Class="WpfApp1.MainWindow"
  12187.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12188.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12189.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12190.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12191.         mc:Ignorable="d"
  12192.         Title="MainWindow" Height="800" Width="1200">
  12193.     <StackPanel>
  12194.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12195.                  Style="{StaticResource TouchTextBox}"/>
  12196.     </StackPanel>
  12197. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12198. <Window x:Class="WpfApp1.MainWindow"
  12199.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12200.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12201.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12202.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12203.         mc:Ignorable="d"
  12204.         Title="MainWindow" Height="800" Width="1200">
  12205.     <StackPanel>
  12206.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12207.                  Style="{StaticResource TouchTextBox}"/>
  12208.     </StackPanel>
  12209. </Window>    x:Class="WpfApp1.TouchTextBox">
  12210.    
  12211. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12212. <Window x:Class="WpfApp1.MainWindow"
  12213.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12214.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12215.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12216.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12217.         mc:Ignorable="d"
  12218.         Title="MainWindow" Height="800" Width="1200">
  12219.     <StackPanel>
  12220.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12221.                  Style="{StaticResource TouchTextBox}"/>
  12222.     </StackPanel>
  12223. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12224. <Window x:Class="WpfApp1.MainWindow"
  12225.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12226.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12227.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12228.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12229.         mc:Ignorable="d"
  12230.         Title="MainWindow" Height="800" Width="1200">
  12231.     <StackPanel>
  12232.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12233.                  Style="{StaticResource TouchTextBox}"/>
  12234.     </StackPanel>
  12235. </Window>    x:Class="WpfApp1.TouchTextBox">
  12236.    
  12237. </ResourceDictionary><Button Style="{StaticResource btnNum}" Content="{Binding Path=Caps,RelativeSource={RelativeSource AncestorType={x:Type local:KeyboardControl}},Converter={StaticResource CapsConverter},ConverterParameter=m}"
  12238. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12239. <Window x:Class="WpfApp1.MainWindow"
  12240.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12241.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12242.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12243.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12244.         mc:Ignorable="d"
  12245.         Title="MainWindow" Height="800" Width="1200">
  12246.     <StackPanel>
  12247.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12248.                  Style="{StaticResource TouchTextBox}"/>
  12249.     </StackPanel>
  12250. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12251. <Window x:Class="WpfApp1.MainWindow"
  12252.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12253.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12254.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12255.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12256.         mc:Ignorable="d"
  12257.         Title="MainWindow" Height="800" Width="1200">
  12258.     <StackPanel>
  12259.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12260.                  Style="{StaticResource TouchTextBox}"/>
  12261.     </StackPanel>
  12262. </Window>    x:Class="WpfApp1.TouchTextBox">
  12263.    
  12264. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12265. <Window x:Class="WpfApp1.MainWindow"
  12266.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12267.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12268.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12269.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12270.         mc:Ignorable="d"
  12271.         Title="MainWindow" Height="800" Width="1200">
  12272.     <StackPanel>
  12273.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12274.                  Style="{StaticResource TouchTextBox}"/>
  12275.     </StackPanel>
  12276. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12277. <Window x:Class="WpfApp1.MainWindow"
  12278.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12279.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12280.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12281.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12282.         mc:Ignorable="d"
  12283.         Title="MainWindow" Height="800" Width="1200">
  12284.     <StackPanel>
  12285.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12286.                  Style="{StaticResource TouchTextBox}"/>
  12287.     </StackPanel>
  12288. </Window>    x:Class="WpfApp1.TouchTextBox">
  12289.    
  12290. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12291. <Window x:Class="WpfApp1.MainWindow"
  12292.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12293.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12294.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12295.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12296.         mc:Ignorable="d"
  12297.         Title="MainWindow" Height="800" Width="1200">
  12298.     <StackPanel>
  12299.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12300.                  Style="{StaticResource TouchTextBox}"/>
  12301.     </StackPanel>
  12302. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12303. <Window x:Class="WpfApp1.MainWindow"
  12304.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12305.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12306.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12307.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12308.         mc:Ignorable="d"
  12309.         Title="MainWindow" Height="800" Width="1200">
  12310.     <StackPanel>
  12311.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12312.                  Style="{StaticResource TouchTextBox}"/>
  12313.     </StackPanel>
  12314. </Window>    x:Class="WpfApp1.TouchTextBox">
  12315.    
  12316. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12317. <Window x:Class="WpfApp1.MainWindow"
  12318.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12319.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12320.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12321.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12322.         mc:Ignorable="d"
  12323.         Title="MainWindow" Height="800" Width="1200">
  12324.     <StackPanel>
  12325.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12326.                  Style="{StaticResource TouchTextBox}"/>
  12327.     </StackPanel>
  12328. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12329. <Window x:Class="WpfApp1.MainWindow"
  12330.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12331.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12332.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12333.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12334.         mc:Ignorable="d"
  12335.         Title="MainWindow" Height="800" Width="1200">
  12336.     <StackPanel>
  12337.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12338.                  Style="{StaticResource TouchTextBox}"/>
  12339.     </StackPanel>
  12340. </Window>    x:Class="WpfApp1.TouchTextBox">
  12341.    
  12342. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12343. <Window x:Class="WpfApp1.MainWindow"
  12344.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12345.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12346.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12347.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12348.         mc:Ignorable="d"
  12349.         Title="MainWindow" Height="800" Width="1200">
  12350.     <StackPanel>
  12351.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12352.                  Style="{StaticResource TouchTextBox}"/>
  12353.     </StackPanel>
  12354. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12355. <Window x:Class="WpfApp1.MainWindow"
  12356.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12357.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12358.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12359.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12360.         mc:Ignorable="d"
  12361.         Title="MainWindow" Height="800" Width="1200">
  12362.     <StackPanel>
  12363.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12364.                  Style="{StaticResource TouchTextBox}"/>
  12365.     </StackPanel>
  12366. </Window>    x:Class="WpfApp1.TouchTextBox">
  12367.    
  12368. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12369. <Window x:Class="WpfApp1.MainWindow"
  12370.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12371.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12372.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12373.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12374.         mc:Ignorable="d"
  12375.         Title="MainWindow" Height="800" Width="1200">
  12376.     <StackPanel>
  12377.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12378.                  Style="{StaticResource TouchTextBox}"/>
  12379.     </StackPanel>
  12380. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12381. <Window x:Class="WpfApp1.MainWindow"
  12382.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12383.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12384.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12385.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12386.         mc:Ignorable="d"
  12387.         Title="MainWindow" Height="800" Width="1200">
  12388.     <StackPanel>
  12389.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12390.                  Style="{StaticResource TouchTextBox}"/>
  12391.     </StackPanel>
  12392. </Window>    x:Class="WpfApp1.TouchTextBox">
  12393.    
  12394. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12395. <Window x:Class="WpfApp1.MainWindow"
  12396.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12397.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12398.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12399.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12400.         mc:Ignorable="d"
  12401.         Title="MainWindow" Height="800" Width="1200">
  12402.     <StackPanel>
  12403.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12404.                  Style="{StaticResource TouchTextBox}"/>
  12405.     </StackPanel>
  12406. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12407. <Window x:Class="WpfApp1.MainWindow"
  12408.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12409.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12410.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12411.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12412.         mc:Ignorable="d"
  12413.         Title="MainWindow" Height="800" Width="1200">
  12414.     <StackPanel>
  12415.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12416.                  Style="{StaticResource TouchTextBox}"/>
  12417.     </StackPanel>
  12418. </Window>    x:Class="WpfApp1.TouchTextBox">
  12419.    
  12420. </ResourceDictionary> Click="Button_Click"/>
  12421. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12422. <Window x:Class="WpfApp1.MainWindow"
  12423.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12424.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12425.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12426.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12427.         mc:Ignorable="d"
  12428.         Title="MainWindow" Height="800" Width="1200">
  12429.     <StackPanel>
  12430.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12431.                  Style="{StaticResource TouchTextBox}"/>
  12432.     </StackPanel>
  12433. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12434. <Window x:Class="WpfApp1.MainWindow"
  12435.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12436.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12437.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12438.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12439.         mc:Ignorable="d"
  12440.         Title="MainWindow" Height="800" Width="1200">
  12441.     <StackPanel>
  12442.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12443.                  Style="{StaticResource TouchTextBox}"/>
  12444.     </StackPanel>
  12445. </Window>    x:Class="WpfApp1.TouchTextBox">
  12446.    
  12447. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12448. <Window x:Class="WpfApp1.MainWindow"
  12449.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12450.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12451.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12452.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12453.         mc:Ignorable="d"
  12454.         Title="MainWindow" Height="800" Width="1200">
  12455.     <StackPanel>
  12456.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12457.                  Style="{StaticResource TouchTextBox}"/>
  12458.     </StackPanel>
  12459. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12460. <Window x:Class="WpfApp1.MainWindow"
  12461.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12462.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12463.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12464.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12465.         mc:Ignorable="d"
  12466.         Title="MainWindow" Height="800" Width="1200">
  12467.     <StackPanel>
  12468.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12469.                  Style="{StaticResource TouchTextBox}"/>
  12470.     </StackPanel>
  12471. </Window>    x:Class="WpfApp1.TouchTextBox">
  12472.    
  12473. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12474. <Window x:Class="WpfApp1.MainWindow"
  12475.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12476.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12477.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12478.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12479.         mc:Ignorable="d"
  12480.         Title="MainWindow" Height="800" Width="1200">
  12481.     <StackPanel>
  12482.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12483.                  Style="{StaticResource TouchTextBox}"/>
  12484.     </StackPanel>
  12485. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12486. <Window x:Class="WpfApp1.MainWindow"
  12487.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12488.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12489.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12490.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12491.         mc:Ignorable="d"
  12492.         Title="MainWindow" Height="800" Width="1200">
  12493.     <StackPanel>
  12494.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12495.                  Style="{StaticResource TouchTextBox}"/>
  12496.     </StackPanel>
  12497. </Window>    x:Class="WpfApp1.TouchTextBox">
  12498.    
  12499. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12500. <Window x:Class="WpfApp1.MainWindow"
  12501.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12502.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12503.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12504.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12505.         mc:Ignorable="d"
  12506.         Title="MainWindow" Height="800" Width="1200">
  12507.     <StackPanel>
  12508.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12509.                  Style="{StaticResource TouchTextBox}"/>
  12510.     </StackPanel>
  12511. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12512. <Window x:Class="WpfApp1.MainWindow"
  12513.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12514.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12515.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12516.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12517.         mc:Ignorable="d"
  12518.         Title="MainWindow" Height="800" Width="1200">
  12519.     <StackPanel>
  12520.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12521.                  Style="{StaticResource TouchTextBox}"/>
  12522.     </StackPanel>
  12523. </Window>    x:Class="WpfApp1.TouchTextBox">
  12524.    
  12525. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12526. <Window x:Class="WpfApp1.MainWindow"
  12527.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12528.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12529.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12530.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12531.         mc:Ignorable="d"
  12532.         Title="MainWindow" Height="800" Width="1200">
  12533.     <StackPanel>
  12534.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12535.                  Style="{StaticResource TouchTextBox}"/>
  12536.     </StackPanel>
  12537. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12538. <Window x:Class="WpfApp1.MainWindow"
  12539.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12540.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12541.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12542.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12543.         mc:Ignorable="d"
  12544.         Title="MainWindow" Height="800" Width="1200">
  12545.     <StackPanel>
  12546.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12547.                  Style="{StaticResource TouchTextBox}"/>
  12548.     </StackPanel>
  12549. </Window>    x:Class="WpfApp1.TouchTextBox">
  12550.    
  12551. </ResourceDictionary><Button Content="Cancel" Click="CancelButton_Click" IsCancel="True" Style="{StaticResource btnFunc}" Width="70"  />
  12552. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12553. <Window x:Class="WpfApp1.MainWindow"
  12554.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12555.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12556.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12557.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12558.         mc:Ignorable="d"
  12559.         Title="MainWindow" Height="800" Width="1200">
  12560.     <StackPanel>
  12561.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12562.                  Style="{StaticResource TouchTextBox}"/>
  12563.     </StackPanel>
  12564. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12565. <Window x:Class="WpfApp1.MainWindow"
  12566.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12567.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12568.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12569.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12570.         mc:Ignorable="d"
  12571.         Title="MainWindow" Height="800" Width="1200">
  12572.     <StackPanel>
  12573.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12574.                  Style="{StaticResource TouchTextBox}"/>
  12575.     </StackPanel>
  12576. </Window>    x:Class="WpfApp1.TouchTextBox">
  12577.    
  12578. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12579. <Window x:Class="WpfApp1.MainWindow"
  12580.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12581.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12582.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12583.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12584.         mc:Ignorable="d"
  12585.         Title="MainWindow" Height="800" Width="1200">
  12586.     <StackPanel>
  12587.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12588.                  Style="{StaticResource TouchTextBox}"/>
  12589.     </StackPanel>
  12590. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12591. <Window x:Class="WpfApp1.MainWindow"
  12592.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12593.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12594.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12595.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12596.         mc:Ignorable="d"
  12597.         Title="MainWindow" Height="800" Width="1200">
  12598.     <StackPanel>
  12599.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12600.                  Style="{StaticResource TouchTextBox}"/>
  12601.     </StackPanel>
  12602. </Window>    x:Class="WpfApp1.TouchTextBox">
  12603.    
  12604. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12605. <Window x:Class="WpfApp1.MainWindow"
  12606.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12607.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12608.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12609.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12610.         mc:Ignorable="d"
  12611.         Title="MainWindow" Height="800" Width="1200">
  12612.     <StackPanel>
  12613.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12614.                  Style="{StaticResource TouchTextBox}"/>
  12615.     </StackPanel>
  12616. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12617. <Window x:Class="WpfApp1.MainWindow"
  12618.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12619.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12620.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12621.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12622.         mc:Ignorable="d"
  12623.         Title="MainWindow" Height="800" Width="1200">
  12624.     <StackPanel>
  12625.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12626.                  Style="{StaticResource TouchTextBox}"/>
  12627.     </StackPanel>
  12628. </Window>    x:Class="WpfApp1.TouchTextBox">
  12629.    
  12630. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12631. <Window x:Class="WpfApp1.MainWindow"
  12632.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12633.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12634.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12635.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12636.         mc:Ignorable="d"
  12637.         Title="MainWindow" Height="800" Width="1200">
  12638.     <StackPanel>
  12639.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12640.                  Style="{StaticResource TouchTextBox}"/>
  12641.     </StackPanel>
  12642. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12643. <Window x:Class="WpfApp1.MainWindow"
  12644.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12645.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12646.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12647.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12648.         mc:Ignorable="d"
  12649.         Title="MainWindow" Height="800" Width="1200">
  12650.     <StackPanel>
  12651.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12652.                  Style="{StaticResource TouchTextBox}"/>
  12653.     </StackPanel>
  12654. </Window>    x:Class="WpfApp1.TouchTextBox">
  12655.    
  12656. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12657. <Window x:Class="WpfApp1.MainWindow"
  12658.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12659.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12660.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12661.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12662.         mc:Ignorable="d"
  12663.         Title="MainWindow" Height="800" Width="1200">
  12664.     <StackPanel>
  12665.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12666.                  Style="{StaticResource TouchTextBox}"/>
  12667.     </StackPanel>
  12668. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12669. <Window x:Class="WpfApp1.MainWindow"
  12670.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12671.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12672.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12673.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12674.         mc:Ignorable="d"
  12675.         Title="MainWindow" Height="800" Width="1200">
  12676.     <StackPanel>
  12677.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12678.                  Style="{StaticResource TouchTextBox}"/>
  12679.     </StackPanel>
  12680. </Window>    x:Class="WpfApp1.TouchTextBox">
  12681.    
  12682. </ResourceDictionary><Button Content="OK" Click="OKButton_Click" IsDefault="True" Style="{StaticResource btnFunc}" Width="70"  Margin="0 0 0 5"/>
  12683. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12684. <Window x:Class="WpfApp1.MainWindow"
  12685.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12686.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12687.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12688.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12689.         mc:Ignorable="d"
  12690.         Title="MainWindow" Height="800" Width="1200">
  12691.     <StackPanel>
  12692.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12693.                  Style="{StaticResource TouchTextBox}"/>
  12694.     </StackPanel>
  12695. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12696. <Window x:Class="WpfApp1.MainWindow"
  12697.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12698.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12699.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12700.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12701.         mc:Ignorable="d"
  12702.         Title="MainWindow" Height="800" Width="1200">
  12703.     <StackPanel>
  12704.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12705.                  Style="{StaticResource TouchTextBox}"/>
  12706.     </StackPanel>
  12707. </Window>    x:Class="WpfApp1.TouchTextBox">
  12708.    
  12709. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12710. <Window x:Class="WpfApp1.MainWindow"
  12711.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12712.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12713.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12714.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12715.         mc:Ignorable="d"
  12716.         Title="MainWindow" Height="800" Width="1200">
  12717.     <StackPanel>
  12718.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12719.                  Style="{StaticResource TouchTextBox}"/>
  12720.     </StackPanel>
  12721. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12722. <Window x:Class="WpfApp1.MainWindow"
  12723.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12724.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12725.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12726.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12727.         mc:Ignorable="d"
  12728.         Title="MainWindow" Height="800" Width="1200">
  12729.     <StackPanel>
  12730.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12731.                  Style="{StaticResource TouchTextBox}"/>
  12732.     </StackPanel>
  12733. </Window>    x:Class="WpfApp1.TouchTextBox">
  12734.    
  12735. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12736. <Window x:Class="WpfApp1.MainWindow"
  12737.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12738.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12739.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12740.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12741.         mc:Ignorable="d"
  12742.         Title="MainWindow" Height="800" Width="1200">
  12743.     <StackPanel>
  12744.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12745.                  Style="{StaticResource TouchTextBox}"/>
  12746.     </StackPanel>
  12747. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12748. <Window x:Class="WpfApp1.MainWindow"
  12749.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12750.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12751.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12752.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12753.         mc:Ignorable="d"
  12754.         Title="MainWindow" Height="800" Width="1200">
  12755.     <StackPanel>
  12756.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12757.                  Style="{StaticResource TouchTextBox}"/>
  12758.     </StackPanel>
  12759. </Window>    x:Class="WpfApp1.TouchTextBox">
  12760.    
  12761. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12762. <Window x:Class="WpfApp1.MainWindow"
  12763.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12764.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12765.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12766.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12767.         mc:Ignorable="d"
  12768.         Title="MainWindow" Height="800" Width="1200">
  12769.     <StackPanel>
  12770.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12771.                  Style="{StaticResource TouchTextBox}"/>
  12772.     </StackPanel>
  12773. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12774. <Window x:Class="WpfApp1.MainWindow"
  12775.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12776.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12777.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12778.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12779.         mc:Ignorable="d"
  12780.         Title="MainWindow" Height="800" Width="1200">
  12781.     <StackPanel>
  12782.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12783.                  Style="{StaticResource TouchTextBox}"/>
  12784.     </StackPanel>
  12785. </Window>    x:Class="WpfApp1.TouchTextBox">
  12786.    
  12787. </ResourceDictionary></WrapPanel>
  12788. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12789. <Window x:Class="WpfApp1.MainWindow"
  12790.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12791.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12792.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12793.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12794.         mc:Ignorable="d"
  12795.         Title="MainWindow" Height="800" Width="1200">
  12796.     <StackPanel>
  12797.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12798.                  Style="{StaticResource TouchTextBox}"/>
  12799.     </StackPanel>
  12800. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12801. <Window x:Class="WpfApp1.MainWindow"
  12802.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12803.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12804.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12805.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12806.         mc:Ignorable="d"
  12807.         Title="MainWindow" Height="800" Width="1200">
  12808.     <StackPanel>
  12809.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12810.                  Style="{StaticResource TouchTextBox}"/>
  12811.     </StackPanel>
  12812. </Window>    x:Class="WpfApp1.TouchTextBox">
  12813.    
  12814. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12815. <Window x:Class="WpfApp1.MainWindow"
  12816.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12817.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12818.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12819.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12820.         mc:Ignorable="d"
  12821.         Title="MainWindow" Height="800" Width="1200">
  12822.     <StackPanel>
  12823.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12824.                  Style="{StaticResource TouchTextBox}"/>
  12825.     </StackPanel>
  12826. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12827. <Window x:Class="WpfApp1.MainWindow"
  12828.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12829.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12830.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12831.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12832.         mc:Ignorable="d"
  12833.         Title="MainWindow" Height="800" Width="1200">
  12834.     <StackPanel>
  12835.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12836.                  Style="{StaticResource TouchTextBox}"/>
  12837.     </StackPanel>
  12838. </Window>    x:Class="WpfApp1.TouchTextBox">
  12839.    
  12840. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12841. <Window x:Class="WpfApp1.MainWindow"
  12842.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12843.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12844.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12845.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12846.         mc:Ignorable="d"
  12847.         Title="MainWindow" Height="800" Width="1200">
  12848.     <StackPanel>
  12849.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12850.                  Style="{StaticResource TouchTextBox}"/>
  12851.     </StackPanel>
  12852. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12853. <Window x:Class="WpfApp1.MainWindow"
  12854.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12855.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12856.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12857.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12858.         mc:Ignorable="d"
  12859.         Title="MainWindow" Height="800" Width="1200">
  12860.     <StackPanel>
  12861.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12862.                  Style="{StaticResource TouchTextBox}"/>
  12863.     </StackPanel>
  12864. </Window>    x:Class="WpfApp1.TouchTextBox">
  12865.    
  12866. </ResourceDictionary></WrapPanel>
  12867. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12868. <Window x:Class="WpfApp1.MainWindow"
  12869.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12870.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12871.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12872.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12873.         mc:Ignorable="d"
  12874.         Title="MainWindow" Height="800" Width="1200">
  12875.     <StackPanel>
  12876.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12877.                  Style="{StaticResource TouchTextBox}"/>
  12878.     </StackPanel>
  12879. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12880. <Window x:Class="WpfApp1.MainWindow"
  12881.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12882.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12883.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12884.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12885.         mc:Ignorable="d"
  12886.         Title="MainWindow" Height="800" Width="1200">
  12887.     <StackPanel>
  12888.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12889.                  Style="{StaticResource TouchTextBox}"/>
  12890.     </StackPanel>
  12891. </Window>    x:Class="WpfApp1.TouchTextBox">
  12892.    
  12893. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12894. <Window x:Class="WpfApp1.MainWindow"
  12895.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12896.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12897.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12898.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12899.         mc:Ignorable="d"
  12900.         Title="MainWindow" Height="800" Width="1200">
  12901.     <StackPanel>
  12902.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12903.                  Style="{StaticResource TouchTextBox}"/>
  12904.     </StackPanel>
  12905. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12906. <Window x:Class="WpfApp1.MainWindow"
  12907.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12908.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12909.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12910.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12911.         mc:Ignorable="d"
  12912.         Title="MainWindow" Height="800" Width="1200">
  12913.     <StackPanel>
  12914.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12915.                  Style="{StaticResource TouchTextBox}"/>
  12916.     </StackPanel>
  12917. </Window>    x:Class="WpfApp1.TouchTextBox">
  12918.    
  12919. </ResourceDictionary></StackPanel>
  12920. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12921. <Window x:Class="WpfApp1.MainWindow"
  12922.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12923.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12924.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12925.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12926.         mc:Ignorable="d"
  12927.         Title="MainWindow" Height="800" Width="1200">
  12928.     <StackPanel>
  12929.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12930.                  Style="{StaticResource TouchTextBox}"/>
  12931.     </StackPanel>
  12932. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12933. <Window x:Class="WpfApp1.MainWindow"
  12934.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  12935.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  12936.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  12937.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  12938.         mc:Ignorable="d"
  12939.         Title="MainWindow" Height="800" Width="1200">
  12940.     <StackPanel>
  12941.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  12942.                  Style="{StaticResource TouchTextBox}"/>
  12943.     </StackPanel>
  12944. </Window>    x:Class="WpfApp1.TouchTextBox">
  12945.    
  12946. </ResourceDictionary></Border>
  12947. </Window>
复制代码
View Code 后台代码如下:
  1. public partial class KeyboardControl : Window
  2. {
  3. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. <Window x:Class="WpfApp1.MainWindow"
  5.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9.         mc:Ignorable="d"
  10.         Title="MainWindow" Height="800" Width="1200">
  11.     <StackPanel>
  12.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  13.                  Style="{StaticResource TouchTextBox}"/>
  14.     </StackPanel>
  15. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  16. <Window x:Class="WpfApp1.MainWindow"
  17.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  18.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  19.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  20.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  21.         mc:Ignorable="d"
  22.         Title="MainWindow" Height="800" Width="1200">
  23.     <StackPanel>
  24.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  25.                  Style="{StaticResource TouchTextBox}"/>
  26.     </StackPanel>
  27. </Window>    x:Class="WpfApp1.TouchTextBox">
  28.    
  29. </ResourceDictionary>private int TextIndex { get; set; }
  30. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  31. <Window x:Class="WpfApp1.MainWindow"
  32.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  33.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  34.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  35.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  36.         mc:Ignorable="d"
  37.         Title="MainWindow" Height="800" Width="1200">
  38.     <StackPanel>
  39.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  40.                  Style="{StaticResource TouchTextBox}"/>
  41.     </StackPanel>
  42. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  43. <Window x:Class="WpfApp1.MainWindow"
  44.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  45.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  46.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  47.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  48.         mc:Ignorable="d"
  49.         Title="MainWindow" Height="800" Width="1200">
  50.     <StackPanel>
  51.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  52.                  Style="{StaticResource TouchTextBox}"/>
  53.     </StackPanel>
  54. </Window>    x:Class="WpfApp1.TouchTextBox">
  55.    
  56. </ResourceDictionary>public string TextStr { get; private set; }//通过该属性,访问Keyboard的文本
  57. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  58. <Window x:Class="WpfApp1.MainWindow"
  59.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  60.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  61.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  62.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  63.         mc:Ignorable="d"
  64.         Title="MainWindow" Height="800" Width="1200">
  65.     <StackPanel>
  66.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  67.                  Style="{StaticResource TouchTextBox}"/>
  68.     </StackPanel>
  69. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  70. <Window x:Class="WpfApp1.MainWindow"
  71.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  72.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  73.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  74.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  75.         mc:Ignorable="d"
  76.         Title="MainWindow" Height="800" Width="1200">
  77.     <StackPanel>
  78.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  79.                  Style="{StaticResource TouchTextBox}"/>
  80.     </StackPanel>
  81. </Window>    x:Class="WpfApp1.TouchTextBox">
  82.    
  83. </ResourceDictionary>public KeyboardControl(string inputStr)//构造方式传入初始文本
  84. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  85. <Window x:Class="WpfApp1.MainWindow"
  86.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  87.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  88.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  89.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  90.         mc:Ignorable="d"
  91.         Title="MainWindow" Height="800" Width="1200">
  92.     <StackPanel>
  93.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  94.                  Style="{StaticResource TouchTextBox}"/>
  95.     </StackPanel>
  96. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  97. <Window x:Class="WpfApp1.MainWindow"
  98.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  99.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  100.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  101.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  102.         mc:Ignorable="d"
  103.         Title="MainWindow" Height="800" Width="1200">
  104.     <StackPanel>
  105.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  106.                  Style="{StaticResource TouchTextBox}"/>
  107.     </StackPanel>
  108. </Window>    x:Class="WpfApp1.TouchTextBox">
  109.    
  110. </ResourceDictionary>{
  111. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  112. <Window x:Class="WpfApp1.MainWindow"
  113.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  114.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  115.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  116.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  117.         mc:Ignorable="d"
  118.         Title="MainWindow" Height="800" Width="1200">
  119.     <StackPanel>
  120.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  121.                  Style="{StaticResource TouchTextBox}"/>
  122.     </StackPanel>
  123. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  124. <Window x:Class="WpfApp1.MainWindow"
  125.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  126.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  127.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  128.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  129.         mc:Ignorable="d"
  130.         Title="MainWindow" Height="800" Width="1200">
  131.     <StackPanel>
  132.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  133.                  Style="{StaticResource TouchTextBox}"/>
  134.     </StackPanel>
  135. </Window>    x:Class="WpfApp1.TouchTextBox">
  136.    
  137. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  138. <Window x:Class="WpfApp1.MainWindow"
  139.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  140.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  141.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  142.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  143.         mc:Ignorable="d"
  144.         Title="MainWindow" Height="800" Width="1200">
  145.     <StackPanel>
  146.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  147.                  Style="{StaticResource TouchTextBox}"/>
  148.     </StackPanel>
  149. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  150. <Window x:Class="WpfApp1.MainWindow"
  151.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  152.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  153.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  154.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  155.         mc:Ignorable="d"
  156.         Title="MainWindow" Height="800" Width="1200">
  157.     <StackPanel>
  158.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  159.                  Style="{StaticResource TouchTextBox}"/>
  160.     </StackPanel>
  161. </Window>    x:Class="WpfApp1.TouchTextBox">
  162.    
  163. </ResourceDictionary>InitializeComponent();
  164. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  165. <Window x:Class="WpfApp1.MainWindow"
  166.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  167.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  168.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  169.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  170.         mc:Ignorable="d"
  171.         Title="MainWindow" Height="800" Width="1200">
  172.     <StackPanel>
  173.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  174.                  Style="{StaticResource TouchTextBox}"/>
  175.     </StackPanel>
  176. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  177. <Window x:Class="WpfApp1.MainWindow"
  178.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  179.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  180.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  181.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  182.         mc:Ignorable="d"
  183.         Title="MainWindow" Height="800" Width="1200">
  184.     <StackPanel>
  185.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  186.                  Style="{StaticResource TouchTextBox}"/>
  187.     </StackPanel>
  188. </Window>    x:Class="WpfApp1.TouchTextBox">
  189.    
  190. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  191. <Window x:Class="WpfApp1.MainWindow"
  192.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  193.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  194.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  195.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  196.         mc:Ignorable="d"
  197.         Title="MainWindow" Height="800" Width="1200">
  198.     <StackPanel>
  199.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  200.                  Style="{StaticResource TouchTextBox}"/>
  201.     </StackPanel>
  202. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  203. <Window x:Class="WpfApp1.MainWindow"
  204.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  205.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  206.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  207.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  208.         mc:Ignorable="d"
  209.         Title="MainWindow" Height="800" Width="1200">
  210.     <StackPanel>
  211.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  212.                  Style="{StaticResource TouchTextBox}"/>
  213.     </StackPanel>
  214. </Window>    x:Class="WpfApp1.TouchTextBox">
  215.    
  216. </ResourceDictionary>TextStr = inputStr;
  217. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  218. <Window x:Class="WpfApp1.MainWindow"
  219.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  220.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  221.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  222.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  223.         mc:Ignorable="d"
  224.         Title="MainWindow" Height="800" Width="1200">
  225.     <StackPanel>
  226.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  227.                  Style="{StaticResource TouchTextBox}"/>
  228.     </StackPanel>
  229. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  230. <Window x:Class="WpfApp1.MainWindow"
  231.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  232.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  233.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  234.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  235.         mc:Ignorable="d"
  236.         Title="MainWindow" Height="800" Width="1200">
  237.     <StackPanel>
  238.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  239.                  Style="{StaticResource TouchTextBox}"/>
  240.     </StackPanel>
  241. </Window>    x:Class="WpfApp1.TouchTextBox">
  242.    
  243. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  244. <Window x:Class="WpfApp1.MainWindow"
  245.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  246.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  247.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  248.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  249.         mc:Ignorable="d"
  250.         Title="MainWindow" Height="800" Width="1200">
  251.     <StackPanel>
  252.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  253.                  Style="{StaticResource TouchTextBox}"/>
  254.     </StackPanel>
  255. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  256. <Window x:Class="WpfApp1.MainWindow"
  257.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  258.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  259.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  260.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  261.         mc:Ignorable="d"
  262.         Title="MainWindow" Height="800" Width="1200">
  263.     <StackPanel>
  264.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  265.                  Style="{StaticResource TouchTextBox}"/>
  266.     </StackPanel>
  267. </Window>    x:Class="WpfApp1.TouchTextBox">
  268.    
  269. </ResourceDictionary>tbValue.Text = inputStr;
  270. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  271. <Window x:Class="WpfApp1.MainWindow"
  272.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  273.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  274.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  275.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  276.         mc:Ignorable="d"
  277.         Title="MainWindow" Height="800" Width="1200">
  278.     <StackPanel>
  279.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  280.                  Style="{StaticResource TouchTextBox}"/>
  281.     </StackPanel>
  282. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  283. <Window x:Class="WpfApp1.MainWindow"
  284.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  285.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  286.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  287.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  288.         mc:Ignorable="d"
  289.         Title="MainWindow" Height="800" Width="1200">
  290.     <StackPanel>
  291.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  292.                  Style="{StaticResource TouchTextBox}"/>
  293.     </StackPanel>
  294. </Window>    x:Class="WpfApp1.TouchTextBox">
  295.    
  296. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  297. <Window x:Class="WpfApp1.MainWindow"
  298.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  299.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  300.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  301.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  302.         mc:Ignorable="d"
  303.         Title="MainWindow" Height="800" Width="1200">
  304.     <StackPanel>
  305.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  306.                  Style="{StaticResource TouchTextBox}"/>
  307.     </StackPanel>
  308. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  309. <Window x:Class="WpfApp1.MainWindow"
  310.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  311.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  312.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  313.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  314.         mc:Ignorable="d"
  315.         Title="MainWindow" Height="800" Width="1200">
  316.     <StackPanel>
  317.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  318.                  Style="{StaticResource TouchTextBox}"/>
  319.     </StackPanel>
  320. </Window>    x:Class="WpfApp1.TouchTextBox">
  321.    
  322. </ResourceDictionary>tbValue.Focus();
  323. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  324. <Window x:Class="WpfApp1.MainWindow"
  325.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  326.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  327.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  328.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  329.         mc:Ignorable="d"
  330.         Title="MainWindow" Height="800" Width="1200">
  331.     <StackPanel>
  332.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  333.                  Style="{StaticResource TouchTextBox}"/>
  334.     </StackPanel>
  335. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  336. <Window x:Class="WpfApp1.MainWindow"
  337.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  338.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  339.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  340.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  341.         mc:Ignorable="d"
  342.         Title="MainWindow" Height="800" Width="1200">
  343.     <StackPanel>
  344.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  345.                  Style="{StaticResource TouchTextBox}"/>
  346.     </StackPanel>
  347. </Window>    x:Class="WpfApp1.TouchTextBox">
  348.    
  349. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  350. <Window x:Class="WpfApp1.MainWindow"
  351.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  352.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  353.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  354.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  355.         mc:Ignorable="d"
  356.         Title="MainWindow" Height="800" Width="1200">
  357.     <StackPanel>
  358.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  359.                  Style="{StaticResource TouchTextBox}"/>
  360.     </StackPanel>
  361. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  362. <Window x:Class="WpfApp1.MainWindow"
  363.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  364.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  365.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  366.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  367.         mc:Ignorable="d"
  368.         Title="MainWindow" Height="800" Width="1200">
  369.     <StackPanel>
  370.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  371.                  Style="{StaticResource TouchTextBox}"/>
  372.     </StackPanel>
  373. </Window>    x:Class="WpfApp1.TouchTextBox">
  374.    
  375. </ResourceDictionary>tbValue.CaretIndex = inputStr.Length;
  376. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  377. <Window x:Class="WpfApp1.MainWindow"
  378.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  379.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  380.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  381.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  382.         mc:Ignorable="d"
  383.         Title="MainWindow" Height="800" Width="1200">
  384.     <StackPanel>
  385.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  386.                  Style="{StaticResource TouchTextBox}"/>
  387.     </StackPanel>
  388. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  389. <Window x:Class="WpfApp1.MainWindow"
  390.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  391.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  392.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  393.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  394.         mc:Ignorable="d"
  395.         Title="MainWindow" Height="800" Width="1200">
  396.     <StackPanel>
  397.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  398.                  Style="{StaticResource TouchTextBox}"/>
  399.     </StackPanel>
  400. </Window>    x:Class="WpfApp1.TouchTextBox">
  401.    
  402. </ResourceDictionary>}
  403. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  404. <Window x:Class="WpfApp1.MainWindow"
  405.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  406.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  407.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  408.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  409.         mc:Ignorable="d"
  410.         Title="MainWindow" Height="800" Width="1200">
  411.     <StackPanel>
  412.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  413.                  Style="{StaticResource TouchTextBox}"/>
  414.     </StackPanel>
  415. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  416. <Window x:Class="WpfApp1.MainWindow"
  417.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  418.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  419.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  420.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  421.         mc:Ignorable="d"
  422.         Title="MainWindow" Height="800" Width="1200">
  423.     <StackPanel>
  424.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  425.                  Style="{StaticResource TouchTextBox}"/>
  426.     </StackPanel>
  427. </Window>    x:Class="WpfApp1.TouchTextBox">
  428.    
  429. </ResourceDictionary>public static readonly DependencyProperty CapsProperty = DependencyProperty.Register(
  430. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  431. <Window x:Class="WpfApp1.MainWindow"
  432.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  433.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  434.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  435.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  436.         mc:Ignorable="d"
  437.         Title="MainWindow" Height="800" Width="1200">
  438.     <StackPanel>
  439.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  440.                  Style="{StaticResource TouchTextBox}"/>
  441.     </StackPanel>
  442. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  443. <Window x:Class="WpfApp1.MainWindow"
  444.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  445.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  446.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  447.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  448.         mc:Ignorable="d"
  449.         Title="MainWindow" Height="800" Width="1200">
  450.     <StackPanel>
  451.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  452.                  Style="{StaticResource TouchTextBox}"/>
  453.     </StackPanel>
  454. </Window>    x:Class="WpfApp1.TouchTextBox">
  455.    
  456. </ResourceDictionary>   "Caps", typeof(bool), typeof(KeyboardControl), new PropertyMetadata(default(bool)));
  457. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  458. <Window x:Class="WpfApp1.MainWindow"
  459.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  460.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  461.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  462.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  463.         mc:Ignorable="d"
  464.         Title="MainWindow" Height="800" Width="1200">
  465.     <StackPanel>
  466.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  467.                  Style="{StaticResource TouchTextBox}"/>
  468.     </StackPanel>
  469. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  470. <Window x:Class="WpfApp1.MainWindow"
  471.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  472.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  473.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  474.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  475.         mc:Ignorable="d"
  476.         Title="MainWindow" Height="800" Width="1200">
  477.     <StackPanel>
  478.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  479.                  Style="{StaticResource TouchTextBox}"/>
  480.     </StackPanel>
  481. </Window>    x:Class="WpfApp1.TouchTextBox">
  482.    
  483. </ResourceDictionary>public bool Caps
  484. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  485. <Window x:Class="WpfApp1.MainWindow"
  486.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  487.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  488.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  489.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  490.         mc:Ignorable="d"
  491.         Title="MainWindow" Height="800" Width="1200">
  492.     <StackPanel>
  493.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  494.                  Style="{StaticResource TouchTextBox}"/>
  495.     </StackPanel>
  496. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  497. <Window x:Class="WpfApp1.MainWindow"
  498.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  499.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  500.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  501.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  502.         mc:Ignorable="d"
  503.         Title="MainWindow" Height="800" Width="1200">
  504.     <StackPanel>
  505.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  506.                  Style="{StaticResource TouchTextBox}"/>
  507.     </StackPanel>
  508. </Window>    x:Class="WpfApp1.TouchTextBox">
  509.    
  510. </ResourceDictionary>{
  511. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  512. <Window x:Class="WpfApp1.MainWindow"
  513.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  514.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  515.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  516.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  517.         mc:Ignorable="d"
  518.         Title="MainWindow" Height="800" Width="1200">
  519.     <StackPanel>
  520.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  521.                  Style="{StaticResource TouchTextBox}"/>
  522.     </StackPanel>
  523. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  524. <Window x:Class="WpfApp1.MainWindow"
  525.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  526.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  527.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  528.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  529.         mc:Ignorable="d"
  530.         Title="MainWindow" Height="800" Width="1200">
  531.     <StackPanel>
  532.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  533.                  Style="{StaticResource TouchTextBox}"/>
  534.     </StackPanel>
  535. </Window>    x:Class="WpfApp1.TouchTextBox">
  536.    
  537. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  538. <Window x:Class="WpfApp1.MainWindow"
  539.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  540.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  541.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  542.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  543.         mc:Ignorable="d"
  544.         Title="MainWindow" Height="800" Width="1200">
  545.     <StackPanel>
  546.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  547.                  Style="{StaticResource TouchTextBox}"/>
  548.     </StackPanel>
  549. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  550. <Window x:Class="WpfApp1.MainWindow"
  551.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  552.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  553.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  554.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  555.         mc:Ignorable="d"
  556.         Title="MainWindow" Height="800" Width="1200">
  557.     <StackPanel>
  558.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  559.                  Style="{StaticResource TouchTextBox}"/>
  560.     </StackPanel>
  561. </Window>    x:Class="WpfApp1.TouchTextBox">
  562.    
  563. </ResourceDictionary>get { return (bool)GetValue(CapsProperty); }
  564. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  565. <Window x:Class="WpfApp1.MainWindow"
  566.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  567.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  568.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  569.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  570.         mc:Ignorable="d"
  571.         Title="MainWindow" Height="800" Width="1200">
  572.     <StackPanel>
  573.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  574.                  Style="{StaticResource TouchTextBox}"/>
  575.     </StackPanel>
  576. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  577. <Window x:Class="WpfApp1.MainWindow"
  578.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  579.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  580.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  581.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  582.         mc:Ignorable="d"
  583.         Title="MainWindow" Height="800" Width="1200">
  584.     <StackPanel>
  585.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  586.                  Style="{StaticResource TouchTextBox}"/>
  587.     </StackPanel>
  588. </Window>    x:Class="WpfApp1.TouchTextBox">
  589.    
  590. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  591. <Window x:Class="WpfApp1.MainWindow"
  592.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  593.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  594.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  595.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  596.         mc:Ignorable="d"
  597.         Title="MainWindow" Height="800" Width="1200">
  598.     <StackPanel>
  599.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  600.                  Style="{StaticResource TouchTextBox}"/>
  601.     </StackPanel>
  602. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  603. <Window x:Class="WpfApp1.MainWindow"
  604.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  605.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  606.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  607.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  608.         mc:Ignorable="d"
  609.         Title="MainWindow" Height="800" Width="1200">
  610.     <StackPanel>
  611.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  612.                  Style="{StaticResource TouchTextBox}"/>
  613.     </StackPanel>
  614. </Window>    x:Class="WpfApp1.TouchTextBox">
  615.    
  616. </ResourceDictionary>set { SetValue(CapsProperty, value); }
  617. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  618. <Window x:Class="WpfApp1.MainWindow"
  619.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  620.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  621.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  622.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  623.         mc:Ignorable="d"
  624.         Title="MainWindow" Height="800" Width="1200">
  625.     <StackPanel>
  626.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  627.                  Style="{StaticResource TouchTextBox}"/>
  628.     </StackPanel>
  629. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  630. <Window x:Class="WpfApp1.MainWindow"
  631.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  632.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  633.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  634.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  635.         mc:Ignorable="d"
  636.         Title="MainWindow" Height="800" Width="1200">
  637.     <StackPanel>
  638.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  639.                  Style="{StaticResource TouchTextBox}"/>
  640.     </StackPanel>
  641. </Window>    x:Class="WpfApp1.TouchTextBox">
  642.    
  643. </ResourceDictionary>}
  644. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  645. <Window x:Class="WpfApp1.MainWindow"
  646.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  647.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  648.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  649.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  650.         mc:Ignorable="d"
  651.         Title="MainWindow" Height="800" Width="1200">
  652.     <StackPanel>
  653.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  654.                  Style="{StaticResource TouchTextBox}"/>
  655.     </StackPanel>
  656. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  657. <Window x:Class="WpfApp1.MainWindow"
  658.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  659.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  660.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  661.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  662.         mc:Ignorable="d"
  663.         Title="MainWindow" Height="800" Width="1200">
  664.     <StackPanel>
  665.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  666.                  Style="{StaticResource TouchTextBox}"/>
  667.     </StackPanel>
  668. </Window>    x:Class="WpfApp1.TouchTextBox">
  669.    
  670. </ResourceDictionary>private void Button_Click(object sender, RoutedEventArgs e)
  671. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  672. <Window x:Class="WpfApp1.MainWindow"
  673.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  674.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  675.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  676.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  677.         mc:Ignorable="d"
  678.         Title="MainWindow" Height="800" Width="1200">
  679.     <StackPanel>
  680.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  681.                  Style="{StaticResource TouchTextBox}"/>
  682.     </StackPanel>
  683. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  684. <Window x:Class="WpfApp1.MainWindow"
  685.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  686.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  687.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  688.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  689.         mc:Ignorable="d"
  690.         Title="MainWindow" Height="800" Width="1200">
  691.     <StackPanel>
  692.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  693.                  Style="{StaticResource TouchTextBox}"/>
  694.     </StackPanel>
  695. </Window>    x:Class="WpfApp1.TouchTextBox">
  696.    
  697. </ResourceDictionary>{
  698. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  699. <Window x:Class="WpfApp1.MainWindow"
  700.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  701.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  702.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  703.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  704.         mc:Ignorable="d"
  705.         Title="MainWindow" Height="800" Width="1200">
  706.     <StackPanel>
  707.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  708.                  Style="{StaticResource TouchTextBox}"/>
  709.     </StackPanel>
  710. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  711. <Window x:Class="WpfApp1.MainWindow"
  712.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  713.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  714.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  715.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  716.         mc:Ignorable="d"
  717.         Title="MainWindow" Height="800" Width="1200">
  718.     <StackPanel>
  719.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  720.                  Style="{StaticResource TouchTextBox}"/>
  721.     </StackPanel>
  722. </Window>    x:Class="WpfApp1.TouchTextBox">
  723.    
  724. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  725. <Window x:Class="WpfApp1.MainWindow"
  726.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  727.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  728.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  729.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  730.         mc:Ignorable="d"
  731.         Title="MainWindow" Height="800" Width="1200">
  732.     <StackPanel>
  733.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  734.                  Style="{StaticResource TouchTextBox}"/>
  735.     </StackPanel>
  736. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  737. <Window x:Class="WpfApp1.MainWindow"
  738.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  739.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  740.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  741.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  742.         mc:Ignorable="d"
  743.         Title="MainWindow" Height="800" Width="1200">
  744.     <StackPanel>
  745.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  746.                  Style="{StaticResource TouchTextBox}"/>
  747.     </StackPanel>
  748. </Window>    x:Class="WpfApp1.TouchTextBox">
  749.    
  750. </ResourceDictionary>Button button = (Button)sender;
  751. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  752. <Window x:Class="WpfApp1.MainWindow"
  753.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  754.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  755.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  756.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  757.         mc:Ignorable="d"
  758.         Title="MainWindow" Height="800" Width="1200">
  759.     <StackPanel>
  760.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  761.                  Style="{StaticResource TouchTextBox}"/>
  762.     </StackPanel>
  763. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  764. <Window x:Class="WpfApp1.MainWindow"
  765.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  766.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  767.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  768.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  769.         mc:Ignorable="d"
  770.         Title="MainWindow" Height="800" Width="1200">
  771.     <StackPanel>
  772.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  773.                  Style="{StaticResource TouchTextBox}"/>
  774.     </StackPanel>
  775. </Window>    x:Class="WpfApp1.TouchTextBox">
  776.    
  777. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  778. <Window x:Class="WpfApp1.MainWindow"
  779.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  780.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  781.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  782.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  783.         mc:Ignorable="d"
  784.         Title="MainWindow" Height="800" Width="1200">
  785.     <StackPanel>
  786.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  787.                  Style="{StaticResource TouchTextBox}"/>
  788.     </StackPanel>
  789. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  790. <Window x:Class="WpfApp1.MainWindow"
  791.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  792.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  793.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  794.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  795.         mc:Ignorable="d"
  796.         Title="MainWindow" Height="800" Width="1200">
  797.     <StackPanel>
  798.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  799.                  Style="{StaticResource TouchTextBox}"/>
  800.     </StackPanel>
  801. </Window>    x:Class="WpfApp1.TouchTextBox">
  802.    
  803. </ResourceDictionary>if (TextIndex == 0)
  804. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  805. <Window x:Class="WpfApp1.MainWindow"
  806.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  807.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  808.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  809.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  810.         mc:Ignorable="d"
  811.         Title="MainWindow" Height="800" Width="1200">
  812.     <StackPanel>
  813.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  814.                  Style="{StaticResource TouchTextBox}"/>
  815.     </StackPanel>
  816. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  817. <Window x:Class="WpfApp1.MainWindow"
  818.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  819.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  820.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  821.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  822.         mc:Ignorable="d"
  823.         Title="MainWindow" Height="800" Width="1200">
  824.     <StackPanel>
  825.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  826.                  Style="{StaticResource TouchTextBox}"/>
  827.     </StackPanel>
  828. </Window>    x:Class="WpfApp1.TouchTextBox">
  829.    
  830. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  831. <Window x:Class="WpfApp1.MainWindow"
  832.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  833.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  834.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  835.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  836.         mc:Ignorable="d"
  837.         Title="MainWindow" Height="800" Width="1200">
  838.     <StackPanel>
  839.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  840.                  Style="{StaticResource TouchTextBox}"/>
  841.     </StackPanel>
  842. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  843. <Window x:Class="WpfApp1.MainWindow"
  844.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  845.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  846.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  847.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  848.         mc:Ignorable="d"
  849.         Title="MainWindow" Height="800" Width="1200">
  850.     <StackPanel>
  851.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  852.                  Style="{StaticResource TouchTextBox}"/>
  853.     </StackPanel>
  854. </Window>    x:Class="WpfApp1.TouchTextBox">
  855.    
  856. </ResourceDictionary>{
  857. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  858. <Window x:Class="WpfApp1.MainWindow"
  859.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  860.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  861.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  862.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  863.         mc:Ignorable="d"
  864.         Title="MainWindow" Height="800" Width="1200">
  865.     <StackPanel>
  866.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  867.                  Style="{StaticResource TouchTextBox}"/>
  868.     </StackPanel>
  869. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  870. <Window x:Class="WpfApp1.MainWindow"
  871.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  872.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  873.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  874.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  875.         mc:Ignorable="d"
  876.         Title="MainWindow" Height="800" Width="1200">
  877.     <StackPanel>
  878.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  879.                  Style="{StaticResource TouchTextBox}"/>
  880.     </StackPanel>
  881. </Window>    x:Class="WpfApp1.TouchTextBox">
  882.    
  883. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  884. <Window x:Class="WpfApp1.MainWindow"
  885.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  886.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  887.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  888.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  889.         mc:Ignorable="d"
  890.         Title="MainWindow" Height="800" Width="1200">
  891.     <StackPanel>
  892.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  893.                  Style="{StaticResource TouchTextBox}"/>
  894.     </StackPanel>
  895. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  896. <Window x:Class="WpfApp1.MainWindow"
  897.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  898.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  899.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  900.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  901.         mc:Ignorable="d"
  902.         Title="MainWindow" Height="800" Width="1200">
  903.     <StackPanel>
  904.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  905.                  Style="{StaticResource TouchTextBox}"/>
  906.     </StackPanel>
  907. </Window>    x:Class="WpfApp1.TouchTextBox">
  908.    
  909. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  910. <Window x:Class="WpfApp1.MainWindow"
  911.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  912.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  913.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  914.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  915.         mc:Ignorable="d"
  916.         Title="MainWindow" Height="800" Width="1200">
  917.     <StackPanel>
  918.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  919.                  Style="{StaticResource TouchTextBox}"/>
  920.     </StackPanel>
  921. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  922. <Window x:Class="WpfApp1.MainWindow"
  923.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  924.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  925.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  926.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  927.         mc:Ignorable="d"
  928.         Title="MainWindow" Height="800" Width="1200">
  929.     <StackPanel>
  930.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  931.                  Style="{StaticResource TouchTextBox}"/>
  932.     </StackPanel>
  933. </Window>    x:Class="WpfApp1.TouchTextBox">
  934.    
  935. </ResourceDictionary>tbValue.Text += (string)button.Content;
  936. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  937. <Window x:Class="WpfApp1.MainWindow"
  938.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  939.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  940.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  941.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  942.         mc:Ignorable="d"
  943.         Title="MainWindow" Height="800" Width="1200">
  944.     <StackPanel>
  945.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  946.                  Style="{StaticResource TouchTextBox}"/>
  947.     </StackPanel>
  948. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  949. <Window x:Class="WpfApp1.MainWindow"
  950.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  951.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  952.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  953.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  954.         mc:Ignorable="d"
  955.         Title="MainWindow" Height="800" Width="1200">
  956.     <StackPanel>
  957.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  958.                  Style="{StaticResource TouchTextBox}"/>
  959.     </StackPanel>
  960. </Window>    x:Class="WpfApp1.TouchTextBox">
  961.    
  962. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  963. <Window x:Class="WpfApp1.MainWindow"
  964.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  965.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  966.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  967.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  968.         mc:Ignorable="d"
  969.         Title="MainWindow" Height="800" Width="1200">
  970.     <StackPanel>
  971.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  972.                  Style="{StaticResource TouchTextBox}"/>
  973.     </StackPanel>
  974. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  975. <Window x:Class="WpfApp1.MainWindow"
  976.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  977.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  978.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  979.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  980.         mc:Ignorable="d"
  981.         Title="MainWindow" Height="800" Width="1200">
  982.     <StackPanel>
  983.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  984.                  Style="{StaticResource TouchTextBox}"/>
  985.     </StackPanel>
  986. </Window>    x:Class="WpfApp1.TouchTextBox">
  987.    
  988. </ResourceDictionary>}
  989. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  990. <Window x:Class="WpfApp1.MainWindow"
  991.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  992.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  993.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  994.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  995.         mc:Ignorable="d"
  996.         Title="MainWindow" Height="800" Width="1200">
  997.     <StackPanel>
  998.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  999.                  Style="{StaticResource TouchTextBox}"/>
  1000.     </StackPanel>
  1001. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1002. <Window x:Class="WpfApp1.MainWindow"
  1003.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1004.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1005.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1006.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1007.         mc:Ignorable="d"
  1008.         Title="MainWindow" Height="800" Width="1200">
  1009.     <StackPanel>
  1010.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1011.                  Style="{StaticResource TouchTextBox}"/>
  1012.     </StackPanel>
  1013. </Window>    x:Class="WpfApp1.TouchTextBox">
  1014.    
  1015. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1016. <Window x:Class="WpfApp1.MainWindow"
  1017.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1018.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1019.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1020.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1021.         mc:Ignorable="d"
  1022.         Title="MainWindow" Height="800" Width="1200">
  1023.     <StackPanel>
  1024.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1025.                  Style="{StaticResource TouchTextBox}"/>
  1026.     </StackPanel>
  1027. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1028. <Window x:Class="WpfApp1.MainWindow"
  1029.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1030.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1031.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1032.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1033.         mc:Ignorable="d"
  1034.         Title="MainWindow" Height="800" Width="1200">
  1035.     <StackPanel>
  1036.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1037.                  Style="{StaticResource TouchTextBox}"/>
  1038.     </StackPanel>
  1039. </Window>    x:Class="WpfApp1.TouchTextBox">
  1040.    
  1041. </ResourceDictionary>else
  1042. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1043. <Window x:Class="WpfApp1.MainWindow"
  1044.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1045.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1046.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1047.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1048.         mc:Ignorable="d"
  1049.         Title="MainWindow" Height="800" Width="1200">
  1050.     <StackPanel>
  1051.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1052.                  Style="{StaticResource TouchTextBox}"/>
  1053.     </StackPanel>
  1054. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1055. <Window x:Class="WpfApp1.MainWindow"
  1056.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1057.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1058.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1059.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1060.         mc:Ignorable="d"
  1061.         Title="MainWindow" Height="800" Width="1200">
  1062.     <StackPanel>
  1063.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1064.                  Style="{StaticResource TouchTextBox}"/>
  1065.     </StackPanel>
  1066. </Window>    x:Class="WpfApp1.TouchTextBox">
  1067.    
  1068. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1069. <Window x:Class="WpfApp1.MainWindow"
  1070.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1071.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1072.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1073.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1074.         mc:Ignorable="d"
  1075.         Title="MainWindow" Height="800" Width="1200">
  1076.     <StackPanel>
  1077.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1078.                  Style="{StaticResource TouchTextBox}"/>
  1079.     </StackPanel>
  1080. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1081. <Window x:Class="WpfApp1.MainWindow"
  1082.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1083.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1084.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1085.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1086.         mc:Ignorable="d"
  1087.         Title="MainWindow" Height="800" Width="1200">
  1088.     <StackPanel>
  1089.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1090.                  Style="{StaticResource TouchTextBox}"/>
  1091.     </StackPanel>
  1092. </Window>    x:Class="WpfApp1.TouchTextBox">
  1093.    
  1094. </ResourceDictionary>{
  1095. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1096. <Window x:Class="WpfApp1.MainWindow"
  1097.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1098.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1099.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1100.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1101.         mc:Ignorable="d"
  1102.         Title="MainWindow" Height="800" Width="1200">
  1103.     <StackPanel>
  1104.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1105.                  Style="{StaticResource TouchTextBox}"/>
  1106.     </StackPanel>
  1107. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1108. <Window x:Class="WpfApp1.MainWindow"
  1109.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1110.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1111.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1112.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1113.         mc:Ignorable="d"
  1114.         Title="MainWindow" Height="800" Width="1200">
  1115.     <StackPanel>
  1116.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1117.                  Style="{StaticResource TouchTextBox}"/>
  1118.     </StackPanel>
  1119. </Window>    x:Class="WpfApp1.TouchTextBox">
  1120.    
  1121. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1122. <Window x:Class="WpfApp1.MainWindow"
  1123.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1124.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1125.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1126.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1127.         mc:Ignorable="d"
  1128.         Title="MainWindow" Height="800" Width="1200">
  1129.     <StackPanel>
  1130.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1131.                  Style="{StaticResource TouchTextBox}"/>
  1132.     </StackPanel>
  1133. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1134. <Window x:Class="WpfApp1.MainWindow"
  1135.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1136.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1137.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1138.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1139.         mc:Ignorable="d"
  1140.         Title="MainWindow" Height="800" Width="1200">
  1141.     <StackPanel>
  1142.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1143.                  Style="{StaticResource TouchTextBox}"/>
  1144.     </StackPanel>
  1145. </Window>    x:Class="WpfApp1.TouchTextBox">
  1146.    
  1147. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1148. <Window x:Class="WpfApp1.MainWindow"
  1149.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1150.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1151.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1152.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1153.         mc:Ignorable="d"
  1154.         Title="MainWindow" Height="800" Width="1200">
  1155.     <StackPanel>
  1156.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1157.                  Style="{StaticResource TouchTextBox}"/>
  1158.     </StackPanel>
  1159. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1160. <Window x:Class="WpfApp1.MainWindow"
  1161.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1162.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1163.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1164.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1165.         mc:Ignorable="d"
  1166.         Title="MainWindow" Height="800" Width="1200">
  1167.     <StackPanel>
  1168.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1169.                  Style="{StaticResource TouchTextBox}"/>
  1170.     </StackPanel>
  1171. </Window>    x:Class="WpfApp1.TouchTextBox">
  1172.    
  1173. </ResourceDictionary>tbValue.Text = tbValue.Text.Insert(TextIndex, (string)button.Content);
  1174. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1175. <Window x:Class="WpfApp1.MainWindow"
  1176.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1177.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1178.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1179.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1180.         mc:Ignorable="d"
  1181.         Title="MainWindow" Height="800" Width="1200">
  1182.     <StackPanel>
  1183.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1184.                  Style="{StaticResource TouchTextBox}"/>
  1185.     </StackPanel>
  1186. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1187. <Window x:Class="WpfApp1.MainWindow"
  1188.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1189.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1190.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1191.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1192.         mc:Ignorable="d"
  1193.         Title="MainWindow" Height="800" Width="1200">
  1194.     <StackPanel>
  1195.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1196.                  Style="{StaticResource TouchTextBox}"/>
  1197.     </StackPanel>
  1198. </Window>    x:Class="WpfApp1.TouchTextBox">
  1199.    
  1200. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1201. <Window x:Class="WpfApp1.MainWindow"
  1202.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1203.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1204.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1205.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1206.         mc:Ignorable="d"
  1207.         Title="MainWindow" Height="800" Width="1200">
  1208.     <StackPanel>
  1209.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1210.                  Style="{StaticResource TouchTextBox}"/>
  1211.     </StackPanel>
  1212. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1213. <Window x:Class="WpfApp1.MainWindow"
  1214.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1215.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1216.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1217.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1218.         mc:Ignorable="d"
  1219.         Title="MainWindow" Height="800" Width="1200">
  1220.     <StackPanel>
  1221.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1222.                  Style="{StaticResource TouchTextBox}"/>
  1223.     </StackPanel>
  1224. </Window>    x:Class="WpfApp1.TouchTextBox">
  1225.    
  1226. </ResourceDictionary>}
  1227. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1228. <Window x:Class="WpfApp1.MainWindow"
  1229.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1230.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1231.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1232.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1233.         mc:Ignorable="d"
  1234.         Title="MainWindow" Height="800" Width="1200">
  1235.     <StackPanel>
  1236.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1237.                  Style="{StaticResource TouchTextBox}"/>
  1238.     </StackPanel>
  1239. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1240. <Window x:Class="WpfApp1.MainWindow"
  1241.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1242.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1243.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1244.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1245.         mc:Ignorable="d"
  1246.         Title="MainWindow" Height="800" Width="1200">
  1247.     <StackPanel>
  1248.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1249.                  Style="{StaticResource TouchTextBox}"/>
  1250.     </StackPanel>
  1251. </Window>    x:Class="WpfApp1.TouchTextBox">
  1252.    
  1253. </ResourceDictionary>}
  1254. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1255. <Window x:Class="WpfApp1.MainWindow"
  1256.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1257.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1258.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1259.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1260.         mc:Ignorable="d"
  1261.         Title="MainWindow" Height="800" Width="1200">
  1262.     <StackPanel>
  1263.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1264.                  Style="{StaticResource TouchTextBox}"/>
  1265.     </StackPanel>
  1266. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1267. <Window x:Class="WpfApp1.MainWindow"
  1268.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1269.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1270.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1271.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1272.         mc:Ignorable="d"
  1273.         Title="MainWindow" Height="800" Width="1200">
  1274.     <StackPanel>
  1275.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1276.                  Style="{StaticResource TouchTextBox}"/>
  1277.     </StackPanel>
  1278. </Window>    x:Class="WpfApp1.TouchTextBox">
  1279.    
  1280. </ResourceDictionary>private void tbValue_TextChanged(object sender, RoutedEventArgs e)
  1281. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1282. <Window x:Class="WpfApp1.MainWindow"
  1283.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1284.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1285.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1286.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1287.         mc:Ignorable="d"
  1288.         Title="MainWindow" Height="800" Width="1200">
  1289.     <StackPanel>
  1290.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1291.                  Style="{StaticResource TouchTextBox}"/>
  1292.     </StackPanel>
  1293. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1294. <Window x:Class="WpfApp1.MainWindow"
  1295.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1296.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1297.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1298.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1299.         mc:Ignorable="d"
  1300.         Title="MainWindow" Height="800" Width="1200">
  1301.     <StackPanel>
  1302.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1303.                  Style="{StaticResource TouchTextBox}"/>
  1304.     </StackPanel>
  1305. </Window>    x:Class="WpfApp1.TouchTextBox">
  1306.    
  1307. </ResourceDictionary>{
  1308. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1309. <Window x:Class="WpfApp1.MainWindow"
  1310.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1311.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1312.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1313.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1314.         mc:Ignorable="d"
  1315.         Title="MainWindow" Height="800" Width="1200">
  1316.     <StackPanel>
  1317.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1318.                  Style="{StaticResource TouchTextBox}"/>
  1319.     </StackPanel>
  1320. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1321. <Window x:Class="WpfApp1.MainWindow"
  1322.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1323.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1324.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1325.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1326.         mc:Ignorable="d"
  1327.         Title="MainWindow" Height="800" Width="1200">
  1328.     <StackPanel>
  1329.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1330.                  Style="{StaticResource TouchTextBox}"/>
  1331.     </StackPanel>
  1332. </Window>    x:Class="WpfApp1.TouchTextBox">
  1333.    
  1334. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1335. <Window x:Class="WpfApp1.MainWindow"
  1336.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1337.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1338.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1339.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1340.         mc:Ignorable="d"
  1341.         Title="MainWindow" Height="800" Width="1200">
  1342.     <StackPanel>
  1343.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1344.                  Style="{StaticResource TouchTextBox}"/>
  1345.     </StackPanel>
  1346. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1347. <Window x:Class="WpfApp1.MainWindow"
  1348.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1349.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1350.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1351.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1352.         mc:Ignorable="d"
  1353.         Title="MainWindow" Height="800" Width="1200">
  1354.     <StackPanel>
  1355.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1356.                  Style="{StaticResource TouchTextBox}"/>
  1357.     </StackPanel>
  1358. </Window>    x:Class="WpfApp1.TouchTextBox">
  1359.    
  1360. </ResourceDictionary>TextBox textBox = (TextBox)sender;
  1361. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1362. <Window x:Class="WpfApp1.MainWindow"
  1363.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1364.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1365.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1366.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1367.         mc:Ignorable="d"
  1368.         Title="MainWindow" Height="800" Width="1200">
  1369.     <StackPanel>
  1370.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1371.                  Style="{StaticResource TouchTextBox}"/>
  1372.     </StackPanel>
  1373. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1374. <Window x:Class="WpfApp1.MainWindow"
  1375.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1376.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1377.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1378.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1379.         mc:Ignorable="d"
  1380.         Title="MainWindow" Height="800" Width="1200">
  1381.     <StackPanel>
  1382.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1383.                  Style="{StaticResource TouchTextBox}"/>
  1384.     </StackPanel>
  1385. </Window>    x:Class="WpfApp1.TouchTextBox">
  1386.    
  1387. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1388. <Window x:Class="WpfApp1.MainWindow"
  1389.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1390.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1391.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1392.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1393.         mc:Ignorable="d"
  1394.         Title="MainWindow" Height="800" Width="1200">
  1395.     <StackPanel>
  1396.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1397.                  Style="{StaticResource TouchTextBox}"/>
  1398.     </StackPanel>
  1399. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1400. <Window x:Class="WpfApp1.MainWindow"
  1401.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1402.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1403.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1404.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1405.         mc:Ignorable="d"
  1406.         Title="MainWindow" Height="800" Width="1200">
  1407.     <StackPanel>
  1408.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1409.                  Style="{StaticResource TouchTextBox}"/>
  1410.     </StackPanel>
  1411. </Window>    x:Class="WpfApp1.TouchTextBox">
  1412.    
  1413. </ResourceDictionary>TextIndex = textBox.CaretIndex;
  1414. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1415. <Window x:Class="WpfApp1.MainWindow"
  1416.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1417.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1418.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1419.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1420.         mc:Ignorable="d"
  1421.         Title="MainWindow" Height="800" Width="1200">
  1422.     <StackPanel>
  1423.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1424.                  Style="{StaticResource TouchTextBox}"/>
  1425.     </StackPanel>
  1426. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1427. <Window x:Class="WpfApp1.MainWindow"
  1428.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1429.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1430.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1431.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1432.         mc:Ignorable="d"
  1433.         Title="MainWindow" Height="800" Width="1200">
  1434.     <StackPanel>
  1435.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1436.                  Style="{StaticResource TouchTextBox}"/>
  1437.     </StackPanel>
  1438. </Window>    x:Class="WpfApp1.TouchTextBox">
  1439.    
  1440. </ResourceDictionary>}
  1441. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1442. <Window x:Class="WpfApp1.MainWindow"
  1443.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1444.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1445.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1446.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1447.         mc:Ignorable="d"
  1448.         Title="MainWindow" Height="800" Width="1200">
  1449.     <StackPanel>
  1450.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1451.                  Style="{StaticResource TouchTextBox}"/>
  1452.     </StackPanel>
  1453. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1454. <Window x:Class="WpfApp1.MainWindow"
  1455.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1456.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1457.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1458.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1459.         mc:Ignorable="d"
  1460.         Title="MainWindow" Height="800" Width="1200">
  1461.     <StackPanel>
  1462.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1463.                  Style="{StaticResource TouchTextBox}"/>
  1464.     </StackPanel>
  1465. </Window>    x:Class="WpfApp1.TouchTextBox">
  1466.    
  1467. </ResourceDictionary>private void ClearButton_Click(object sender, RoutedEventArgs e)
  1468. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1469. <Window x:Class="WpfApp1.MainWindow"
  1470.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1471.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1472.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1473.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1474.         mc:Ignorable="d"
  1475.         Title="MainWindow" Height="800" Width="1200">
  1476.     <StackPanel>
  1477.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1478.                  Style="{StaticResource TouchTextBox}"/>
  1479.     </StackPanel>
  1480. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1481. <Window x:Class="WpfApp1.MainWindow"
  1482.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1483.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1484.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1485.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1486.         mc:Ignorable="d"
  1487.         Title="MainWindow" Height="800" Width="1200">
  1488.     <StackPanel>
  1489.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1490.                  Style="{StaticResource TouchTextBox}"/>
  1491.     </StackPanel>
  1492. </Window>    x:Class="WpfApp1.TouchTextBox">
  1493.    
  1494. </ResourceDictionary>{
  1495. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1496. <Window x:Class="WpfApp1.MainWindow"
  1497.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1498.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1499.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1500.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1501.         mc:Ignorable="d"
  1502.         Title="MainWindow" Height="800" Width="1200">
  1503.     <StackPanel>
  1504.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1505.                  Style="{StaticResource TouchTextBox}"/>
  1506.     </StackPanel>
  1507. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1508. <Window x:Class="WpfApp1.MainWindow"
  1509.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1510.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1511.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1512.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1513.         mc:Ignorable="d"
  1514.         Title="MainWindow" Height="800" Width="1200">
  1515.     <StackPanel>
  1516.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1517.                  Style="{StaticResource TouchTextBox}"/>
  1518.     </StackPanel>
  1519. </Window>    x:Class="WpfApp1.TouchTextBox">
  1520.    
  1521. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1522. <Window x:Class="WpfApp1.MainWindow"
  1523.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1524.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1525.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1526.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1527.         mc:Ignorable="d"
  1528.         Title="MainWindow" Height="800" Width="1200">
  1529.     <StackPanel>
  1530.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1531.                  Style="{StaticResource TouchTextBox}"/>
  1532.     </StackPanel>
  1533. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1534. <Window x:Class="WpfApp1.MainWindow"
  1535.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1536.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1537.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1538.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1539.         mc:Ignorable="d"
  1540.         Title="MainWindow" Height="800" Width="1200">
  1541.     <StackPanel>
  1542.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1543.                  Style="{StaticResource TouchTextBox}"/>
  1544.     </StackPanel>
  1545. </Window>    x:Class="WpfApp1.TouchTextBox">
  1546.    
  1547. </ResourceDictionary>tbValue.Text = "";
  1548. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1549. <Window x:Class="WpfApp1.MainWindow"
  1550.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1551.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1552.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1553.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1554.         mc:Ignorable="d"
  1555.         Title="MainWindow" Height="800" Width="1200">
  1556.     <StackPanel>
  1557.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1558.                  Style="{StaticResource TouchTextBox}"/>
  1559.     </StackPanel>
  1560. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1561. <Window x:Class="WpfApp1.MainWindow"
  1562.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1563.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1564.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1565.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1566.         mc:Ignorable="d"
  1567.         Title="MainWindow" Height="800" Width="1200">
  1568.     <StackPanel>
  1569.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1570.                  Style="{StaticResource TouchTextBox}"/>
  1571.     </StackPanel>
  1572. </Window>    x:Class="WpfApp1.TouchTextBox">
  1573.    
  1574. </ResourceDictionary>}
  1575. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1576. <Window x:Class="WpfApp1.MainWindow"
  1577.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1578.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1579.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1580.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1581.         mc:Ignorable="d"
  1582.         Title="MainWindow" Height="800" Width="1200">
  1583.     <StackPanel>
  1584.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1585.                  Style="{StaticResource TouchTextBox}"/>
  1586.     </StackPanel>
  1587. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1588. <Window x:Class="WpfApp1.MainWindow"
  1589.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1590.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1591.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1592.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1593.         mc:Ignorable="d"
  1594.         Title="MainWindow" Height="800" Width="1200">
  1595.     <StackPanel>
  1596.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1597.                  Style="{StaticResource TouchTextBox}"/>
  1598.     </StackPanel>
  1599. </Window>    x:Class="WpfApp1.TouchTextBox">
  1600.    
  1601. </ResourceDictionary>private void DELButton_Click(object sender, RoutedEventArgs e)
  1602. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1603. <Window x:Class="WpfApp1.MainWindow"
  1604.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1605.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1606.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1607.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1608.         mc:Ignorable="d"
  1609.         Title="MainWindow" Height="800" Width="1200">
  1610.     <StackPanel>
  1611.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1612.                  Style="{StaticResource TouchTextBox}"/>
  1613.     </StackPanel>
  1614. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1615. <Window x:Class="WpfApp1.MainWindow"
  1616.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1617.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1618.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1619.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1620.         mc:Ignorable="d"
  1621.         Title="MainWindow" Height="800" Width="1200">
  1622.     <StackPanel>
  1623.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1624.                  Style="{StaticResource TouchTextBox}"/>
  1625.     </StackPanel>
  1626. </Window>    x:Class="WpfApp1.TouchTextBox">
  1627.    
  1628. </ResourceDictionary>{
  1629. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1630. <Window x:Class="WpfApp1.MainWindow"
  1631.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1632.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1633.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1634.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1635.         mc:Ignorable="d"
  1636.         Title="MainWindow" Height="800" Width="1200">
  1637.     <StackPanel>
  1638.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1639.                  Style="{StaticResource TouchTextBox}"/>
  1640.     </StackPanel>
  1641. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1642. <Window x:Class="WpfApp1.MainWindow"
  1643.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1644.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1645.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1646.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1647.         mc:Ignorable="d"
  1648.         Title="MainWindow" Height="800" Width="1200">
  1649.     <StackPanel>
  1650.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1651.                  Style="{StaticResource TouchTextBox}"/>
  1652.     </StackPanel>
  1653. </Window>    x:Class="WpfApp1.TouchTextBox">
  1654.    
  1655. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1656. <Window x:Class="WpfApp1.MainWindow"
  1657.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1658.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1659.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1660.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1661.         mc:Ignorable="d"
  1662.         Title="MainWindow" Height="800" Width="1200">
  1663.     <StackPanel>
  1664.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1665.                  Style="{StaticResource TouchTextBox}"/>
  1666.     </StackPanel>
  1667. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1668. <Window x:Class="WpfApp1.MainWindow"
  1669.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1670.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1671.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1672.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1673.         mc:Ignorable="d"
  1674.         Title="MainWindow" Height="800" Width="1200">
  1675.     <StackPanel>
  1676.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1677.                  Style="{StaticResource TouchTextBox}"/>
  1678.     </StackPanel>
  1679. </Window>    x:Class="WpfApp1.TouchTextBox">
  1680.    
  1681. </ResourceDictionary>if (tbValue.Text.Length > 0)
  1682. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1683. <Window x:Class="WpfApp1.MainWindow"
  1684.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1685.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1686.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1687.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1688.         mc:Ignorable="d"
  1689.         Title="MainWindow" Height="800" Width="1200">
  1690.     <StackPanel>
  1691.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1692.                  Style="{StaticResource TouchTextBox}"/>
  1693.     </StackPanel>
  1694. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1695. <Window x:Class="WpfApp1.MainWindow"
  1696.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1697.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1698.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1699.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1700.         mc:Ignorable="d"
  1701.         Title="MainWindow" Height="800" Width="1200">
  1702.     <StackPanel>
  1703.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1704.                  Style="{StaticResource TouchTextBox}"/>
  1705.     </StackPanel>
  1706. </Window>    x:Class="WpfApp1.TouchTextBox">
  1707.    
  1708. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1709. <Window x:Class="WpfApp1.MainWindow"
  1710.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1711.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1712.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1713.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1714.         mc:Ignorable="d"
  1715.         Title="MainWindow" Height="800" Width="1200">
  1716.     <StackPanel>
  1717.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1718.                  Style="{StaticResource TouchTextBox}"/>
  1719.     </StackPanel>
  1720. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1721. <Window x:Class="WpfApp1.MainWindow"
  1722.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1723.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1724.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1725.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1726.         mc:Ignorable="d"
  1727.         Title="MainWindow" Height="800" Width="1200">
  1728.     <StackPanel>
  1729.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1730.                  Style="{StaticResource TouchTextBox}"/>
  1731.     </StackPanel>
  1732. </Window>    x:Class="WpfApp1.TouchTextBox">
  1733.    
  1734. </ResourceDictionary>{
  1735. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1736. <Window x:Class="WpfApp1.MainWindow"
  1737.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1738.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1739.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1740.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1741.         mc:Ignorable="d"
  1742.         Title="MainWindow" Height="800" Width="1200">
  1743.     <StackPanel>
  1744.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1745.                  Style="{StaticResource TouchTextBox}"/>
  1746.     </StackPanel>
  1747. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1748. <Window x:Class="WpfApp1.MainWindow"
  1749.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1750.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1751.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1752.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1753.         mc:Ignorable="d"
  1754.         Title="MainWindow" Height="800" Width="1200">
  1755.     <StackPanel>
  1756.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1757.                  Style="{StaticResource TouchTextBox}"/>
  1758.     </StackPanel>
  1759. </Window>    x:Class="WpfApp1.TouchTextBox">
  1760.    
  1761. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1762. <Window x:Class="WpfApp1.MainWindow"
  1763.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1764.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1765.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1766.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1767.         mc:Ignorable="d"
  1768.         Title="MainWindow" Height="800" Width="1200">
  1769.     <StackPanel>
  1770.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1771.                  Style="{StaticResource TouchTextBox}"/>
  1772.     </StackPanel>
  1773. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1774. <Window x:Class="WpfApp1.MainWindow"
  1775.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1776.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1777.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1778.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1779.         mc:Ignorable="d"
  1780.         Title="MainWindow" Height="800" Width="1200">
  1781.     <StackPanel>
  1782.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1783.                  Style="{StaticResource TouchTextBox}"/>
  1784.     </StackPanel>
  1785. </Window>    x:Class="WpfApp1.TouchTextBox">
  1786.    
  1787. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1788. <Window x:Class="WpfApp1.MainWindow"
  1789.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1790.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1791.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1792.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1793.         mc:Ignorable="d"
  1794.         Title="MainWindow" Height="800" Width="1200">
  1795.     <StackPanel>
  1796.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1797.                  Style="{StaticResource TouchTextBox}"/>
  1798.     </StackPanel>
  1799. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1800. <Window x:Class="WpfApp1.MainWindow"
  1801.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1802.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1803.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1804.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1805.         mc:Ignorable="d"
  1806.         Title="MainWindow" Height="800" Width="1200">
  1807.     <StackPanel>
  1808.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1809.                  Style="{StaticResource TouchTextBox}"/>
  1810.     </StackPanel>
  1811. </Window>    x:Class="WpfApp1.TouchTextBox">
  1812.    
  1813. </ResourceDictionary>if (TextIndex == 0 && tbValue.Text.Length >= 1)
  1814. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1815. <Window x:Class="WpfApp1.MainWindow"
  1816.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1817.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1818.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1819.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1820.         mc:Ignorable="d"
  1821.         Title="MainWindow" Height="800" Width="1200">
  1822.     <StackPanel>
  1823.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1824.                  Style="{StaticResource TouchTextBox}"/>
  1825.     </StackPanel>
  1826. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1827. <Window x:Class="WpfApp1.MainWindow"
  1828.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1829.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1830.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1831.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1832.         mc:Ignorable="d"
  1833.         Title="MainWindow" Height="800" Width="1200">
  1834.     <StackPanel>
  1835.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1836.                  Style="{StaticResource TouchTextBox}"/>
  1837.     </StackPanel>
  1838. </Window>    x:Class="WpfApp1.TouchTextBox">
  1839.    
  1840. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1841. <Window x:Class="WpfApp1.MainWindow"
  1842.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1843.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1844.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1845.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1846.         mc:Ignorable="d"
  1847.         Title="MainWindow" Height="800" Width="1200">
  1848.     <StackPanel>
  1849.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1850.                  Style="{StaticResource TouchTextBox}"/>
  1851.     </StackPanel>
  1852. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1853. <Window x:Class="WpfApp1.MainWindow"
  1854.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1855.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1856.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1857.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1858.         mc:Ignorable="d"
  1859.         Title="MainWindow" Height="800" Width="1200">
  1860.     <StackPanel>
  1861.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1862.                  Style="{StaticResource TouchTextBox}"/>
  1863.     </StackPanel>
  1864. </Window>    x:Class="WpfApp1.TouchTextBox">
  1865.    
  1866. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1867. <Window x:Class="WpfApp1.MainWindow"
  1868.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1869.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1870.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1871.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1872.         mc:Ignorable="d"
  1873.         Title="MainWindow" Height="800" Width="1200">
  1874.     <StackPanel>
  1875.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1876.                  Style="{StaticResource TouchTextBox}"/>
  1877.     </StackPanel>
  1878. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1879. <Window x:Class="WpfApp1.MainWindow"
  1880.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1881.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1882.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1883.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1884.         mc:Ignorable="d"
  1885.         Title="MainWindow" Height="800" Width="1200">
  1886.     <StackPanel>
  1887.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1888.                  Style="{StaticResource TouchTextBox}"/>
  1889.     </StackPanel>
  1890. </Window>    x:Class="WpfApp1.TouchTextBox">
  1891.    
  1892. </ResourceDictionary>{
  1893. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1894. <Window x:Class="WpfApp1.MainWindow"
  1895.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1896.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1897.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1898.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1899.         mc:Ignorable="d"
  1900.         Title="MainWindow" Height="800" Width="1200">
  1901.     <StackPanel>
  1902.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1903.                  Style="{StaticResource TouchTextBox}"/>
  1904.     </StackPanel>
  1905. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1906. <Window x:Class="WpfApp1.MainWindow"
  1907.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1908.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1909.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1910.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1911.         mc:Ignorable="d"
  1912.         Title="MainWindow" Height="800" Width="1200">
  1913.     <StackPanel>
  1914.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1915.                  Style="{StaticResource TouchTextBox}"/>
  1916.     </StackPanel>
  1917. </Window>    x:Class="WpfApp1.TouchTextBox">
  1918.    
  1919. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1920. <Window x:Class="WpfApp1.MainWindow"
  1921.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1922.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1923.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1924.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1925.         mc:Ignorable="d"
  1926.         Title="MainWindow" Height="800" Width="1200">
  1927.     <StackPanel>
  1928.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1929.                  Style="{StaticResource TouchTextBox}"/>
  1930.     </StackPanel>
  1931. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1932. <Window x:Class="WpfApp1.MainWindow"
  1933.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1934.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1935.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1936.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1937.         mc:Ignorable="d"
  1938.         Title="MainWindow" Height="800" Width="1200">
  1939.     <StackPanel>
  1940.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1941.                  Style="{StaticResource TouchTextBox}"/>
  1942.     </StackPanel>
  1943. </Window>    x:Class="WpfApp1.TouchTextBox">
  1944.    
  1945. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1946. <Window x:Class="WpfApp1.MainWindow"
  1947.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1948.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1949.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1950.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1951.         mc:Ignorable="d"
  1952.         Title="MainWindow" Height="800" Width="1200">
  1953.     <StackPanel>
  1954.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1955.                  Style="{StaticResource TouchTextBox}"/>
  1956.     </StackPanel>
  1957. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1958. <Window x:Class="WpfApp1.MainWindow"
  1959.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1960.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1961.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1962.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1963.         mc:Ignorable="d"
  1964.         Title="MainWindow" Height="800" Width="1200">
  1965.     <StackPanel>
  1966.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1967.                  Style="{StaticResource TouchTextBox}"/>
  1968.     </StackPanel>
  1969. </Window>    x:Class="WpfApp1.TouchTextBox">
  1970.    
  1971. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1972. <Window x:Class="WpfApp1.MainWindow"
  1973.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1974.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1975.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1976.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1977.         mc:Ignorable="d"
  1978.         Title="MainWindow" Height="800" Width="1200">
  1979.     <StackPanel>
  1980.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1981.                  Style="{StaticResource TouchTextBox}"/>
  1982.     </StackPanel>
  1983. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1984. <Window x:Class="WpfApp1.MainWindow"
  1985.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1986.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1987.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1988.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1989.         mc:Ignorable="d"
  1990.         Title="MainWindow" Height="800" Width="1200">
  1991.     <StackPanel>
  1992.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1993.                  Style="{StaticResource TouchTextBox}"/>
  1994.     </StackPanel>
  1995. </Window>    x:Class="WpfApp1.TouchTextBox">
  1996.    
  1997. </ResourceDictionary>tbValue.Text = tbValue.Text.Remove(tbValue.Text.Length - 1, 1);
  1998. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1999. <Window x:Class="WpfApp1.MainWindow"
  2000.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2001.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2002.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2003.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2004.         mc:Ignorable="d"
  2005.         Title="MainWindow" Height="800" Width="1200">
  2006.     <StackPanel>
  2007.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2008.                  Style="{StaticResource TouchTextBox}"/>
  2009.     </StackPanel>
  2010. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2011. <Window x:Class="WpfApp1.MainWindow"
  2012.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2013.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2014.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2015.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2016.         mc:Ignorable="d"
  2017.         Title="MainWindow" Height="800" Width="1200">
  2018.     <StackPanel>
  2019.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2020.                  Style="{StaticResource TouchTextBox}"/>
  2021.     </StackPanel>
  2022. </Window>    x:Class="WpfApp1.TouchTextBox">
  2023.    
  2024. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2025. <Window x:Class="WpfApp1.MainWindow"
  2026.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2027.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2028.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2029.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2030.         mc:Ignorable="d"
  2031.         Title="MainWindow" Height="800" Width="1200">
  2032.     <StackPanel>
  2033.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2034.                  Style="{StaticResource TouchTextBox}"/>
  2035.     </StackPanel>
  2036. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2037. <Window x:Class="WpfApp1.MainWindow"
  2038.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2039.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2040.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2041.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2042.         mc:Ignorable="d"
  2043.         Title="MainWindow" Height="800" Width="1200">
  2044.     <StackPanel>
  2045.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2046.                  Style="{StaticResource TouchTextBox}"/>
  2047.     </StackPanel>
  2048. </Window>    x:Class="WpfApp1.TouchTextBox">
  2049.    
  2050. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2051. <Window x:Class="WpfApp1.MainWindow"
  2052.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2053.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2054.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2055.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2056.         mc:Ignorable="d"
  2057.         Title="MainWindow" Height="800" Width="1200">
  2058.     <StackPanel>
  2059.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2060.                  Style="{StaticResource TouchTextBox}"/>
  2061.     </StackPanel>
  2062. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2063. <Window x:Class="WpfApp1.MainWindow"
  2064.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2065.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2066.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2067.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2068.         mc:Ignorable="d"
  2069.         Title="MainWindow" Height="800" Width="1200">
  2070.     <StackPanel>
  2071.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2072.                  Style="{StaticResource TouchTextBox}"/>
  2073.     </StackPanel>
  2074. </Window>    x:Class="WpfApp1.TouchTextBox">
  2075.    
  2076. </ResourceDictionary>}
  2077. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2078. <Window x:Class="WpfApp1.MainWindow"
  2079.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2080.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2081.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2082.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2083.         mc:Ignorable="d"
  2084.         Title="MainWindow" Height="800" Width="1200">
  2085.     <StackPanel>
  2086.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2087.                  Style="{StaticResource TouchTextBox}"/>
  2088.     </StackPanel>
  2089. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2090. <Window x:Class="WpfApp1.MainWindow"
  2091.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2092.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2093.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2094.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2095.         mc:Ignorable="d"
  2096.         Title="MainWindow" Height="800" Width="1200">
  2097.     <StackPanel>
  2098.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2099.                  Style="{StaticResource TouchTextBox}"/>
  2100.     </StackPanel>
  2101. </Window>    x:Class="WpfApp1.TouchTextBox">
  2102.    
  2103. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2104. <Window x:Class="WpfApp1.MainWindow"
  2105.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2106.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2107.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2108.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2109.         mc:Ignorable="d"
  2110.         Title="MainWindow" Height="800" Width="1200">
  2111.     <StackPanel>
  2112.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2113.                  Style="{StaticResource TouchTextBox}"/>
  2114.     </StackPanel>
  2115. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2116. <Window x:Class="WpfApp1.MainWindow"
  2117.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2118.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2119.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2120.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2121.         mc:Ignorable="d"
  2122.         Title="MainWindow" Height="800" Width="1200">
  2123.     <StackPanel>
  2124.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2125.                  Style="{StaticResource TouchTextBox}"/>
  2126.     </StackPanel>
  2127. </Window>    x:Class="WpfApp1.TouchTextBox">
  2128.    
  2129. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2130. <Window x:Class="WpfApp1.MainWindow"
  2131.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2132.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2133.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2134.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2135.         mc:Ignorable="d"
  2136.         Title="MainWindow" Height="800" Width="1200">
  2137.     <StackPanel>
  2138.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2139.                  Style="{StaticResource TouchTextBox}"/>
  2140.     </StackPanel>
  2141. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2142. <Window x:Class="WpfApp1.MainWindow"
  2143.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2144.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2145.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2146.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2147.         mc:Ignorable="d"
  2148.         Title="MainWindow" Height="800" Width="1200">
  2149.     <StackPanel>
  2150.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2151.                  Style="{StaticResource TouchTextBox}"/>
  2152.     </StackPanel>
  2153. </Window>    x:Class="WpfApp1.TouchTextBox">
  2154.    
  2155. </ResourceDictionary>else if (TextIndex > 0)
  2156. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2157. <Window x:Class="WpfApp1.MainWindow"
  2158.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2159.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2160.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2161.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2162.         mc:Ignorable="d"
  2163.         Title="MainWindow" Height="800" Width="1200">
  2164.     <StackPanel>
  2165.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2166.                  Style="{StaticResource TouchTextBox}"/>
  2167.     </StackPanel>
  2168. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2169. <Window x:Class="WpfApp1.MainWindow"
  2170.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2171.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2172.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2173.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2174.         mc:Ignorable="d"
  2175.         Title="MainWindow" Height="800" Width="1200">
  2176.     <StackPanel>
  2177.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2178.                  Style="{StaticResource TouchTextBox}"/>
  2179.     </StackPanel>
  2180. </Window>    x:Class="WpfApp1.TouchTextBox">
  2181.    
  2182. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2183. <Window x:Class="WpfApp1.MainWindow"
  2184.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2185.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2186.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2187.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2188.         mc:Ignorable="d"
  2189.         Title="MainWindow" Height="800" Width="1200">
  2190.     <StackPanel>
  2191.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2192.                  Style="{StaticResource TouchTextBox}"/>
  2193.     </StackPanel>
  2194. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2195. <Window x:Class="WpfApp1.MainWindow"
  2196.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2197.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2198.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2199.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2200.         mc:Ignorable="d"
  2201.         Title="MainWindow" Height="800" Width="1200">
  2202.     <StackPanel>
  2203.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2204.                  Style="{StaticResource TouchTextBox}"/>
  2205.     </StackPanel>
  2206. </Window>    x:Class="WpfApp1.TouchTextBox">
  2207.    
  2208. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2209. <Window x:Class="WpfApp1.MainWindow"
  2210.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2211.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2212.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2213.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2214.         mc:Ignorable="d"
  2215.         Title="MainWindow" Height="800" Width="1200">
  2216.     <StackPanel>
  2217.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2218.                  Style="{StaticResource TouchTextBox}"/>
  2219.     </StackPanel>
  2220. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2221. <Window x:Class="WpfApp1.MainWindow"
  2222.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2223.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2224.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2225.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2226.         mc:Ignorable="d"
  2227.         Title="MainWindow" Height="800" Width="1200">
  2228.     <StackPanel>
  2229.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2230.                  Style="{StaticResource TouchTextBox}"/>
  2231.     </StackPanel>
  2232. </Window>    x:Class="WpfApp1.TouchTextBox">
  2233.    
  2234. </ResourceDictionary>{
  2235. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2236. <Window x:Class="WpfApp1.MainWindow"
  2237.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2238.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2239.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2240.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2241.         mc:Ignorable="d"
  2242.         Title="MainWindow" Height="800" Width="1200">
  2243.     <StackPanel>
  2244.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2245.                  Style="{StaticResource TouchTextBox}"/>
  2246.     </StackPanel>
  2247. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2248. <Window x:Class="WpfApp1.MainWindow"
  2249.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2250.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2251.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2252.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2253.         mc:Ignorable="d"
  2254.         Title="MainWindow" Height="800" Width="1200">
  2255.     <StackPanel>
  2256.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2257.                  Style="{StaticResource TouchTextBox}"/>
  2258.     </StackPanel>
  2259. </Window>    x:Class="WpfApp1.TouchTextBox">
  2260.    
  2261. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2262. <Window x:Class="WpfApp1.MainWindow"
  2263.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2264.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2265.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2266.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2267.         mc:Ignorable="d"
  2268.         Title="MainWindow" Height="800" Width="1200">
  2269.     <StackPanel>
  2270.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2271.                  Style="{StaticResource TouchTextBox}"/>
  2272.     </StackPanel>
  2273. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2274. <Window x:Class="WpfApp1.MainWindow"
  2275.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2276.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2277.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2278.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2279.         mc:Ignorable="d"
  2280.         Title="MainWindow" Height="800" Width="1200">
  2281.     <StackPanel>
  2282.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2283.                  Style="{StaticResource TouchTextBox}"/>
  2284.     </StackPanel>
  2285. </Window>    x:Class="WpfApp1.TouchTextBox">
  2286.    
  2287. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2288. <Window x:Class="WpfApp1.MainWindow"
  2289.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2290.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2291.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2292.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2293.         mc:Ignorable="d"
  2294.         Title="MainWindow" Height="800" Width="1200">
  2295.     <StackPanel>
  2296.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2297.                  Style="{StaticResource TouchTextBox}"/>
  2298.     </StackPanel>
  2299. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2300. <Window x:Class="WpfApp1.MainWindow"
  2301.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2302.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2303.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2304.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2305.         mc:Ignorable="d"
  2306.         Title="MainWindow" Height="800" Width="1200">
  2307.     <StackPanel>
  2308.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2309.                  Style="{StaticResource TouchTextBox}"/>
  2310.     </StackPanel>
  2311. </Window>    x:Class="WpfApp1.TouchTextBox">
  2312.    
  2313. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2314. <Window x:Class="WpfApp1.MainWindow"
  2315.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2316.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2317.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2318.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2319.         mc:Ignorable="d"
  2320.         Title="MainWindow" Height="800" Width="1200">
  2321.     <StackPanel>
  2322.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2323.                  Style="{StaticResource TouchTextBox}"/>
  2324.     </StackPanel>
  2325. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2326. <Window x:Class="WpfApp1.MainWindow"
  2327.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2328.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2329.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2330.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2331.         mc:Ignorable="d"
  2332.         Title="MainWindow" Height="800" Width="1200">
  2333.     <StackPanel>
  2334.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2335.                  Style="{StaticResource TouchTextBox}"/>
  2336.     </StackPanel>
  2337. </Window>    x:Class="WpfApp1.TouchTextBox">
  2338.    
  2339. </ResourceDictionary>tbValue.Text = tbValue.Text.Remove(TextIndex - 1, 1);
  2340. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2341. <Window x:Class="WpfApp1.MainWindow"
  2342.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2343.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2344.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2345.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2346.         mc:Ignorable="d"
  2347.         Title="MainWindow" Height="800" Width="1200">
  2348.     <StackPanel>
  2349.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2350.                  Style="{StaticResource TouchTextBox}"/>
  2351.     </StackPanel>
  2352. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2353. <Window x:Class="WpfApp1.MainWindow"
  2354.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2355.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2356.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2357.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2358.         mc:Ignorable="d"
  2359.         Title="MainWindow" Height="800" Width="1200">
  2360.     <StackPanel>
  2361.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2362.                  Style="{StaticResource TouchTextBox}"/>
  2363.     </StackPanel>
  2364. </Window>    x:Class="WpfApp1.TouchTextBox">
  2365.    
  2366. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2367. <Window x:Class="WpfApp1.MainWindow"
  2368.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2369.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2370.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2371.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2372.         mc:Ignorable="d"
  2373.         Title="MainWindow" Height="800" Width="1200">
  2374.     <StackPanel>
  2375.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2376.                  Style="{StaticResource TouchTextBox}"/>
  2377.     </StackPanel>
  2378. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2379. <Window x:Class="WpfApp1.MainWindow"
  2380.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2381.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2382.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2383.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2384.         mc:Ignorable="d"
  2385.         Title="MainWindow" Height="800" Width="1200">
  2386.     <StackPanel>
  2387.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2388.                  Style="{StaticResource TouchTextBox}"/>
  2389.     </StackPanel>
  2390. </Window>    x:Class="WpfApp1.TouchTextBox">
  2391.    
  2392. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2393. <Window x:Class="WpfApp1.MainWindow"
  2394.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2395.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2396.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2397.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2398.         mc:Ignorable="d"
  2399.         Title="MainWindow" Height="800" Width="1200">
  2400.     <StackPanel>
  2401.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2402.                  Style="{StaticResource TouchTextBox}"/>
  2403.     </StackPanel>
  2404. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2405. <Window x:Class="WpfApp1.MainWindow"
  2406.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2407.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2408.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2409.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2410.         mc:Ignorable="d"
  2411.         Title="MainWindow" Height="800" Width="1200">
  2412.     <StackPanel>
  2413.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2414.                  Style="{StaticResource TouchTextBox}"/>
  2415.     </StackPanel>
  2416. </Window>    x:Class="WpfApp1.TouchTextBox">
  2417.    
  2418. </ResourceDictionary>}
  2419. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2420. <Window x:Class="WpfApp1.MainWindow"
  2421.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2422.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2423.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2424.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2425.         mc:Ignorable="d"
  2426.         Title="MainWindow" Height="800" Width="1200">
  2427.     <StackPanel>
  2428.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2429.                  Style="{StaticResource TouchTextBox}"/>
  2430.     </StackPanel>
  2431. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2432. <Window x:Class="WpfApp1.MainWindow"
  2433.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2434.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2435.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2436.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2437.         mc:Ignorable="d"
  2438.         Title="MainWindow" Height="800" Width="1200">
  2439.     <StackPanel>
  2440.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2441.                  Style="{StaticResource TouchTextBox}"/>
  2442.     </StackPanel>
  2443. </Window>    x:Class="WpfApp1.TouchTextBox">
  2444.    
  2445. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2446. <Window x:Class="WpfApp1.MainWindow"
  2447.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2448.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2449.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2450.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2451.         mc:Ignorable="d"
  2452.         Title="MainWindow" Height="800" Width="1200">
  2453.     <StackPanel>
  2454.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2455.                  Style="{StaticResource TouchTextBox}"/>
  2456.     </StackPanel>
  2457. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2458. <Window x:Class="WpfApp1.MainWindow"
  2459.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2460.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2461.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2462.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2463.         mc:Ignorable="d"
  2464.         Title="MainWindow" Height="800" Width="1200">
  2465.     <StackPanel>
  2466.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2467.                  Style="{StaticResource TouchTextBox}"/>
  2468.     </StackPanel>
  2469. </Window>    x:Class="WpfApp1.TouchTextBox">
  2470.    
  2471. </ResourceDictionary>}
  2472. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2473. <Window x:Class="WpfApp1.MainWindow"
  2474.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2475.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2476.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2477.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2478.         mc:Ignorable="d"
  2479.         Title="MainWindow" Height="800" Width="1200">
  2480.     <StackPanel>
  2481.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2482.                  Style="{StaticResource TouchTextBox}"/>
  2483.     </StackPanel>
  2484. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2485. <Window x:Class="WpfApp1.MainWindow"
  2486.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2487.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2488.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2489.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2490.         mc:Ignorable="d"
  2491.         Title="MainWindow" Height="800" Width="1200">
  2492.     <StackPanel>
  2493.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2494.                  Style="{StaticResource TouchTextBox}"/>
  2495.     </StackPanel>
  2496. </Window>    x:Class="WpfApp1.TouchTextBox">
  2497.    
  2498. </ResourceDictionary>}
  2499. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2500. <Window x:Class="WpfApp1.MainWindow"
  2501.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2502.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2503.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2504.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2505.         mc:Ignorable="d"
  2506.         Title="MainWindow" Height="800" Width="1200">
  2507.     <StackPanel>
  2508.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2509.                  Style="{StaticResource TouchTextBox}"/>
  2510.     </StackPanel>
  2511. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2512. <Window x:Class="WpfApp1.MainWindow"
  2513.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2514.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2515.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2516.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2517.         mc:Ignorable="d"
  2518.         Title="MainWindow" Height="800" Width="1200">
  2519.     <StackPanel>
  2520.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2521.                  Style="{StaticResource TouchTextBox}"/>
  2522.     </StackPanel>
  2523. </Window>    x:Class="WpfApp1.TouchTextBox">
  2524.    
  2525. </ResourceDictionary>private void OKButton_Click(object sender, RoutedEventArgs e)
  2526. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2527. <Window x:Class="WpfApp1.MainWindow"
  2528.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2529.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2530.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2531.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2532.         mc:Ignorable="d"
  2533.         Title="MainWindow" Height="800" Width="1200">
  2534.     <StackPanel>
  2535.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2536.                  Style="{StaticResource TouchTextBox}"/>
  2537.     </StackPanel>
  2538. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2539. <Window x:Class="WpfApp1.MainWindow"
  2540.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2541.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2542.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2543.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2544.         mc:Ignorable="d"
  2545.         Title="MainWindow" Height="800" Width="1200">
  2546.     <StackPanel>
  2547.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2548.                  Style="{StaticResource TouchTextBox}"/>
  2549.     </StackPanel>
  2550. </Window>    x:Class="WpfApp1.TouchTextBox">
  2551.    
  2552. </ResourceDictionary>{
  2553. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2554. <Window x:Class="WpfApp1.MainWindow"
  2555.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2556.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2557.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2558.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2559.         mc:Ignorable="d"
  2560.         Title="MainWindow" Height="800" Width="1200">
  2561.     <StackPanel>
  2562.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2563.                  Style="{StaticResource TouchTextBox}"/>
  2564.     </StackPanel>
  2565. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2566. <Window x:Class="WpfApp1.MainWindow"
  2567.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2568.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2569.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2570.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2571.         mc:Ignorable="d"
  2572.         Title="MainWindow" Height="800" Width="1200">
  2573.     <StackPanel>
  2574.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2575.                  Style="{StaticResource TouchTextBox}"/>
  2576.     </StackPanel>
  2577. </Window>    x:Class="WpfApp1.TouchTextBox">
  2578.    
  2579. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2580. <Window x:Class="WpfApp1.MainWindow"
  2581.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2582.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2583.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2584.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2585.         mc:Ignorable="d"
  2586.         Title="MainWindow" Height="800" Width="1200">
  2587.     <StackPanel>
  2588.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2589.                  Style="{StaticResource TouchTextBox}"/>
  2590.     </StackPanel>
  2591. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2592. <Window x:Class="WpfApp1.MainWindow"
  2593.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2594.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2595.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2596.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2597.         mc:Ignorable="d"
  2598.         Title="MainWindow" Height="800" Width="1200">
  2599.     <StackPanel>
  2600.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2601.                  Style="{StaticResource TouchTextBox}"/>
  2602.     </StackPanel>
  2603. </Window>    x:Class="WpfApp1.TouchTextBox">
  2604.    
  2605. </ResourceDictionary>TextStr = tbValue.Text;
  2606. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2607. <Window x:Class="WpfApp1.MainWindow"
  2608.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2609.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2610.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2611.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2612.         mc:Ignorable="d"
  2613.         Title="MainWindow" Height="800" Width="1200">
  2614.     <StackPanel>
  2615.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2616.                  Style="{StaticResource TouchTextBox}"/>
  2617.     </StackPanel>
  2618. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2619. <Window x:Class="WpfApp1.MainWindow"
  2620.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2621.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2622.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2623.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2624.         mc:Ignorable="d"
  2625.         Title="MainWindow" Height="800" Width="1200">
  2626.     <StackPanel>
  2627.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2628.                  Style="{StaticResource TouchTextBox}"/>
  2629.     </StackPanel>
  2630. </Window>    x:Class="WpfApp1.TouchTextBox">
  2631.    
  2632. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2633. <Window x:Class="WpfApp1.MainWindow"
  2634.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2635.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2636.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2637.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2638.         mc:Ignorable="d"
  2639.         Title="MainWindow" Height="800" Width="1200">
  2640.     <StackPanel>
  2641.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2642.                  Style="{StaticResource TouchTextBox}"/>
  2643.     </StackPanel>
  2644. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2645. <Window x:Class="WpfApp1.MainWindow"
  2646.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2647.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2648.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2649.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2650.         mc:Ignorable="d"
  2651.         Title="MainWindow" Height="800" Width="1200">
  2652.     <StackPanel>
  2653.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2654.                  Style="{StaticResource TouchTextBox}"/>
  2655.     </StackPanel>
  2656. </Window>    x:Class="WpfApp1.TouchTextBox">
  2657.    
  2658. </ResourceDictionary>DialogResult = true;
  2659. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2660. <Window x:Class="WpfApp1.MainWindow"
  2661.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2662.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2663.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2664.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2665.         mc:Ignorable="d"
  2666.         Title="MainWindow" Height="800" Width="1200">
  2667.     <StackPanel>
  2668.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2669.                  Style="{StaticResource TouchTextBox}"/>
  2670.     </StackPanel>
  2671. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2672. <Window x:Class="WpfApp1.MainWindow"
  2673.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2674.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2675.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2676.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2677.         mc:Ignorable="d"
  2678.         Title="MainWindow" Height="800" Width="1200">
  2679.     <StackPanel>
  2680.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2681.                  Style="{StaticResource TouchTextBox}"/>
  2682.     </StackPanel>
  2683. </Window>    x:Class="WpfApp1.TouchTextBox">
  2684.    
  2685. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2686. <Window x:Class="WpfApp1.MainWindow"
  2687.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2688.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2689.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2690.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2691.         mc:Ignorable="d"
  2692.         Title="MainWindow" Height="800" Width="1200">
  2693.     <StackPanel>
  2694.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2695.                  Style="{StaticResource TouchTextBox}"/>
  2696.     </StackPanel>
  2697. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2698. <Window x:Class="WpfApp1.MainWindow"
  2699.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2700.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2701.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2702.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2703.         mc:Ignorable="d"
  2704.         Title="MainWindow" Height="800" Width="1200">
  2705.     <StackPanel>
  2706.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2707.                  Style="{StaticResource TouchTextBox}"/>
  2708.     </StackPanel>
  2709. </Window>    x:Class="WpfApp1.TouchTextBox">
  2710.    
  2711. </ResourceDictionary>Close();
  2712. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2713. <Window x:Class="WpfApp1.MainWindow"
  2714.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2715.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2716.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2717.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2718.         mc:Ignorable="d"
  2719.         Title="MainWindow" Height="800" Width="1200">
  2720.     <StackPanel>
  2721.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2722.                  Style="{StaticResource TouchTextBox}"/>
  2723.     </StackPanel>
  2724. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2725. <Window x:Class="WpfApp1.MainWindow"
  2726.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2727.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2728.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2729.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2730.         mc:Ignorable="d"
  2731.         Title="MainWindow" Height="800" Width="1200">
  2732.     <StackPanel>
  2733.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2734.                  Style="{StaticResource TouchTextBox}"/>
  2735.     </StackPanel>
  2736. </Window>    x:Class="WpfApp1.TouchTextBox">
  2737.    
  2738. </ResourceDictionary>}
  2739. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2740. <Window x:Class="WpfApp1.MainWindow"
  2741.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2742.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2743.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2744.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2745.         mc:Ignorable="d"
  2746.         Title="MainWindow" Height="800" Width="1200">
  2747.     <StackPanel>
  2748.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2749.                  Style="{StaticResource TouchTextBox}"/>
  2750.     </StackPanel>
  2751. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2752. <Window x:Class="WpfApp1.MainWindow"
  2753.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2754.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2755.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2756.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2757.         mc:Ignorable="d"
  2758.         Title="MainWindow" Height="800" Width="1200">
  2759.     <StackPanel>
  2760.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2761.                  Style="{StaticResource TouchTextBox}"/>
  2762.     </StackPanel>
  2763. </Window>    x:Class="WpfApp1.TouchTextBox">
  2764.    
  2765. </ResourceDictionary>private void CancelButton_Click(object sender, RoutedEventArgs e)
  2766. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2767. <Window x:Class="WpfApp1.MainWindow"
  2768.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2769.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2770.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2771.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2772.         mc:Ignorable="d"
  2773.         Title="MainWindow" Height="800" Width="1200">
  2774.     <StackPanel>
  2775.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2776.                  Style="{StaticResource TouchTextBox}"/>
  2777.     </StackPanel>
  2778. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2779. <Window x:Class="WpfApp1.MainWindow"
  2780.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2781.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2782.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2783.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2784.         mc:Ignorable="d"
  2785.         Title="MainWindow" Height="800" Width="1200">
  2786.     <StackPanel>
  2787.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2788.                  Style="{StaticResource TouchTextBox}"/>
  2789.     </StackPanel>
  2790. </Window>    x:Class="WpfApp1.TouchTextBox">
  2791.    
  2792. </ResourceDictionary>{
  2793. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2794. <Window x:Class="WpfApp1.MainWindow"
  2795.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2796.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2797.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2798.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2799.         mc:Ignorable="d"
  2800.         Title="MainWindow" Height="800" Width="1200">
  2801.     <StackPanel>
  2802.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2803.                  Style="{StaticResource TouchTextBox}"/>
  2804.     </StackPanel>
  2805. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2806. <Window x:Class="WpfApp1.MainWindow"
  2807.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2808.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2809.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2810.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2811.         mc:Ignorable="d"
  2812.         Title="MainWindow" Height="800" Width="1200">
  2813.     <StackPanel>
  2814.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2815.                  Style="{StaticResource TouchTextBox}"/>
  2816.     </StackPanel>
  2817. </Window>    x:Class="WpfApp1.TouchTextBox">
  2818.    
  2819. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2820. <Window x:Class="WpfApp1.MainWindow"
  2821.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2822.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2823.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2824.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2825.         mc:Ignorable="d"
  2826.         Title="MainWindow" Height="800" Width="1200">
  2827.     <StackPanel>
  2828.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2829.                  Style="{StaticResource TouchTextBox}"/>
  2830.     </StackPanel>
  2831. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2832. <Window x:Class="WpfApp1.MainWindow"
  2833.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2834.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2835.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2836.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2837.         mc:Ignorable="d"
  2838.         Title="MainWindow" Height="800" Width="1200">
  2839.     <StackPanel>
  2840.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2841.                  Style="{StaticResource TouchTextBox}"/>
  2842.     </StackPanel>
  2843. </Window>    x:Class="WpfApp1.TouchTextBox">
  2844.    
  2845. </ResourceDictionary>DialogResult = false;
  2846. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2847. <Window x:Class="WpfApp1.MainWindow"
  2848.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2849.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2850.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2851.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2852.         mc:Ignorable="d"
  2853.         Title="MainWindow" Height="800" Width="1200">
  2854.     <StackPanel>
  2855.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2856.                  Style="{StaticResource TouchTextBox}"/>
  2857.     </StackPanel>
  2858. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2859. <Window x:Class="WpfApp1.MainWindow"
  2860.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2861.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2862.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2863.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2864.         mc:Ignorable="d"
  2865.         Title="MainWindow" Height="800" Width="1200">
  2866.     <StackPanel>
  2867.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2868.                  Style="{StaticResource TouchTextBox}"/>
  2869.     </StackPanel>
  2870. </Window>    x:Class="WpfApp1.TouchTextBox">
  2871.    
  2872. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2873. <Window x:Class="WpfApp1.MainWindow"
  2874.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2875.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2876.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2877.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2878.         mc:Ignorable="d"
  2879.         Title="MainWindow" Height="800" Width="1200">
  2880.     <StackPanel>
  2881.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2882.                  Style="{StaticResource TouchTextBox}"/>
  2883.     </StackPanel>
  2884. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2885. <Window x:Class="WpfApp1.MainWindow"
  2886.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2887.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2888.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2889.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2890.         mc:Ignorable="d"
  2891.         Title="MainWindow" Height="800" Width="1200">
  2892.     <StackPanel>
  2893.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2894.                  Style="{StaticResource TouchTextBox}"/>
  2895.     </StackPanel>
  2896. </Window>    x:Class="WpfApp1.TouchTextBox">
  2897.    
  2898. </ResourceDictionary>Close();
  2899. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2900. <Window x:Class="WpfApp1.MainWindow"
  2901.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2902.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2903.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2904.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2905.         mc:Ignorable="d"
  2906.         Title="MainWindow" Height="800" Width="1200">
  2907.     <StackPanel>
  2908.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2909.                  Style="{StaticResource TouchTextBox}"/>
  2910.     </StackPanel>
  2911. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2912. <Window x:Class="WpfApp1.MainWindow"
  2913.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2914.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2915.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2916.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2917.         mc:Ignorable="d"
  2918.         Title="MainWindow" Height="800" Width="1200">
  2919.     <StackPanel>
  2920.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2921.                  Style="{StaticResource TouchTextBox}"/>
  2922.     </StackPanel>
  2923. </Window>    x:Class="WpfApp1.TouchTextBox">
  2924.    
  2925. </ResourceDictionary>}
  2926. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2927. <Window x:Class="WpfApp1.MainWindow"
  2928.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2929.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2930.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2931.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2932.         mc:Ignorable="d"
  2933.         Title="MainWindow" Height="800" Width="1200">
  2934.     <StackPanel>
  2935.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2936.                  Style="{StaticResource TouchTextBox}"/>
  2937.     </StackPanel>
  2938. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2939. <Window x:Class="WpfApp1.MainWindow"
  2940.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2941.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2942.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2943.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2944.         mc:Ignorable="d"
  2945.         Title="MainWindow" Height="800" Width="1200">
  2946.     <StackPanel>
  2947.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2948.                  Style="{StaticResource TouchTextBox}"/>
  2949.     </StackPanel>
  2950. </Window>    x:Class="WpfApp1.TouchTextBox">
  2951.    
  2952. </ResourceDictionary>private void CapsButton_Click(object sender, RoutedEventArgs e)
  2953. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2954. <Window x:Class="WpfApp1.MainWindow"
  2955.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2956.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2957.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2958.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2959.         mc:Ignorable="d"
  2960.         Title="MainWindow" Height="800" Width="1200">
  2961.     <StackPanel>
  2962.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2963.                  Style="{StaticResource TouchTextBox}"/>
  2964.     </StackPanel>
  2965. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2966. <Window x:Class="WpfApp1.MainWindow"
  2967.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2968.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2969.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2970.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2971.         mc:Ignorable="d"
  2972.         Title="MainWindow" Height="800" Width="1200">
  2973.     <StackPanel>
  2974.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2975.                  Style="{StaticResource TouchTextBox}"/>
  2976.     </StackPanel>
  2977. </Window>    x:Class="WpfApp1.TouchTextBox">
  2978.    
  2979. </ResourceDictionary>{
  2980. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2981. <Window x:Class="WpfApp1.MainWindow"
  2982.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2983.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2984.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2985.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2986.         mc:Ignorable="d"
  2987.         Title="MainWindow" Height="800" Width="1200">
  2988.     <StackPanel>
  2989.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2990.                  Style="{StaticResource TouchTextBox}"/>
  2991.     </StackPanel>
  2992. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2993. <Window x:Class="WpfApp1.MainWindow"
  2994.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2995.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2996.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2997.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2998.         mc:Ignorable="d"
  2999.         Title="MainWindow" Height="800" Width="1200">
  3000.     <StackPanel>
  3001.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3002.                  Style="{StaticResource TouchTextBox}"/>
  3003.     </StackPanel>
  3004. </Window>    x:Class="WpfApp1.TouchTextBox">
  3005.    
  3006. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3007. <Window x:Class="WpfApp1.MainWindow"
  3008.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3009.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3010.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3011.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3012.         mc:Ignorable="d"
  3013.         Title="MainWindow" Height="800" Width="1200">
  3014.     <StackPanel>
  3015.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3016.                  Style="{StaticResource TouchTextBox}"/>
  3017.     </StackPanel>
  3018. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3019. <Window x:Class="WpfApp1.MainWindow"
  3020.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3021.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3022.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3023.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3024.         mc:Ignorable="d"
  3025.         Title="MainWindow" Height="800" Width="1200">
  3026.     <StackPanel>
  3027.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3028.                  Style="{StaticResource TouchTextBox}"/>
  3029.     </StackPanel>
  3030. </Window>    x:Class="WpfApp1.TouchTextBox">
  3031.    
  3032. </ResourceDictionary>Caps = !Caps;
  3033. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3034. <Window x:Class="WpfApp1.MainWindow"
  3035.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3036.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3037.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3038.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3039.         mc:Ignorable="d"
  3040.         Title="MainWindow" Height="800" Width="1200">
  3041.     <StackPanel>
  3042.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3043.                  Style="{StaticResource TouchTextBox}"/>
  3044.     </StackPanel>
  3045. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3046. <Window x:Class="WpfApp1.MainWindow"
  3047.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3048.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3049.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3050.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3051.         mc:Ignorable="d"
  3052.         Title="MainWindow" Height="800" Width="1200">
  3053.     <StackPanel>
  3054.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3055.                  Style="{StaticResource TouchTextBox}"/>
  3056.     </StackPanel>
  3057. </Window>    x:Class="WpfApp1.TouchTextBox">
  3058.    
  3059. </ResourceDictionary>}
  3060. }
复制代码
View CodeXaml代码中用到了一个大小写的转换类:
  1. public class CapsConverter : IValueConverter
  2. {
  3. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. <Window x:Class="WpfApp1.MainWindow"
  5.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9.         mc:Ignorable="d"
  10.         Title="MainWindow" Height="800" Width="1200">
  11.     <StackPanel>
  12.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  13.                  Style="{StaticResource TouchTextBox}"/>
  14.     </StackPanel>
  15. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  16. <Window x:Class="WpfApp1.MainWindow"
  17.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  18.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  19.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  20.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  21.         mc:Ignorable="d"
  22.         Title="MainWindow" Height="800" Width="1200">
  23.     <StackPanel>
  24.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  25.                  Style="{StaticResource TouchTextBox}"/>
  26.     </StackPanel>
  27. </Window>    x:Class="WpfApp1.TouchTextBox">
  28.    
  29. </ResourceDictionary>public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
  30. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  31. <Window x:Class="WpfApp1.MainWindow"
  32.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  33.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  34.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  35.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  36.         mc:Ignorable="d"
  37.         Title="MainWindow" Height="800" Width="1200">
  38.     <StackPanel>
  39.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  40.                  Style="{StaticResource TouchTextBox}"/>
  41.     </StackPanel>
  42. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  43. <Window x:Class="WpfApp1.MainWindow"
  44.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  45.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  46.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  47.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  48.         mc:Ignorable="d"
  49.         Title="MainWindow" Height="800" Width="1200">
  50.     <StackPanel>
  51.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  52.                  Style="{StaticResource TouchTextBox}"/>
  53.     </StackPanel>
  54. </Window>    x:Class="WpfApp1.TouchTextBox">
  55.    
  56. </ResourceDictionary>{
  57. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  58. <Window x:Class="WpfApp1.MainWindow"
  59.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  60.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  61.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  62.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  63.         mc:Ignorable="d"
  64.         Title="MainWindow" Height="800" Width="1200">
  65.     <StackPanel>
  66.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  67.                  Style="{StaticResource TouchTextBox}"/>
  68.     </StackPanel>
  69. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  70. <Window x:Class="WpfApp1.MainWindow"
  71.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  72.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  73.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  74.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  75.         mc:Ignorable="d"
  76.         Title="MainWindow" Height="800" Width="1200">
  77.     <StackPanel>
  78.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  79.                  Style="{StaticResource TouchTextBox}"/>
  80.     </StackPanel>
  81. </Window>    x:Class="WpfApp1.TouchTextBox">
  82.    
  83. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  84. <Window x:Class="WpfApp1.MainWindow"
  85.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  86.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  87.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  88.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  89.         mc:Ignorable="d"
  90.         Title="MainWindow" Height="800" Width="1200">
  91.     <StackPanel>
  92.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  93.                  Style="{StaticResource TouchTextBox}"/>
  94.     </StackPanel>
  95. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  96. <Window x:Class="WpfApp1.MainWindow"
  97.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  98.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  99.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  100.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  101.         mc:Ignorable="d"
  102.         Title="MainWindow" Height="800" Width="1200">
  103.     <StackPanel>
  104.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  105.                  Style="{StaticResource TouchTextBox}"/>
  106.     </StackPanel>
  107. </Window>    x:Class="WpfApp1.TouchTextBox">
  108.    
  109. </ResourceDictionary>if (parameter == null)
  110. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  111. <Window x:Class="WpfApp1.MainWindow"
  112.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  113.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  114.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  115.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  116.         mc:Ignorable="d"
  117.         Title="MainWindow" Height="800" Width="1200">
  118.     <StackPanel>
  119.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  120.                  Style="{StaticResource TouchTextBox}"/>
  121.     </StackPanel>
  122. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  123. <Window x:Class="WpfApp1.MainWindow"
  124.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  125.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  126.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  127.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  128.         mc:Ignorable="d"
  129.         Title="MainWindow" Height="800" Width="1200">
  130.     <StackPanel>
  131.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  132.                  Style="{StaticResource TouchTextBox}"/>
  133.     </StackPanel>
  134. </Window>    x:Class="WpfApp1.TouchTextBox">
  135.    
  136. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  137. <Window x:Class="WpfApp1.MainWindow"
  138.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  139.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  140.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  141.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  142.         mc:Ignorable="d"
  143.         Title="MainWindow" Height="800" Width="1200">
  144.     <StackPanel>
  145.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  146.                  Style="{StaticResource TouchTextBox}"/>
  147.     </StackPanel>
  148. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  149. <Window x:Class="WpfApp1.MainWindow"
  150.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  151.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  152.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  153.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  154.         mc:Ignorable="d"
  155.         Title="MainWindow" Height="800" Width="1200">
  156.     <StackPanel>
  157.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  158.                  Style="{StaticResource TouchTextBox}"/>
  159.     </StackPanel>
  160. </Window>    x:Class="WpfApp1.TouchTextBox">
  161.    
  162. </ResourceDictionary>{
  163. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  164. <Window x:Class="WpfApp1.MainWindow"
  165.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  166.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  167.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  168.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  169.         mc:Ignorable="d"
  170.         Title="MainWindow" Height="800" Width="1200">
  171.     <StackPanel>
  172.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  173.                  Style="{StaticResource TouchTextBox}"/>
  174.     </StackPanel>
  175. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  176. <Window x:Class="WpfApp1.MainWindow"
  177.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  178.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  179.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  180.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  181.         mc:Ignorable="d"
  182.         Title="MainWindow" Height="800" Width="1200">
  183.     <StackPanel>
  184.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  185.                  Style="{StaticResource TouchTextBox}"/>
  186.     </StackPanel>
  187. </Window>    x:Class="WpfApp1.TouchTextBox">
  188.    
  189. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  190. <Window x:Class="WpfApp1.MainWindow"
  191.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  192.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  193.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  194.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  195.         mc:Ignorable="d"
  196.         Title="MainWindow" Height="800" Width="1200">
  197.     <StackPanel>
  198.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  199.                  Style="{StaticResource TouchTextBox}"/>
  200.     </StackPanel>
  201. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  202. <Window x:Class="WpfApp1.MainWindow"
  203.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  204.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  205.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  206.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  207.         mc:Ignorable="d"
  208.         Title="MainWindow" Height="800" Width="1200">
  209.     <StackPanel>
  210.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  211.                  Style="{StaticResource TouchTextBox}"/>
  212.     </StackPanel>
  213. </Window>    x:Class="WpfApp1.TouchTextBox">
  214.    
  215. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  216. <Window x:Class="WpfApp1.MainWindow"
  217.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  218.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  219.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  220.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  221.         mc:Ignorable="d"
  222.         Title="MainWindow" Height="800" Width="1200">
  223.     <StackPanel>
  224.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  225.                  Style="{StaticResource TouchTextBox}"/>
  226.     </StackPanel>
  227. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  228. <Window x:Class="WpfApp1.MainWindow"
  229.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  230.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  231.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  232.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  233.         mc:Ignorable="d"
  234.         Title="MainWindow" Height="800" Width="1200">
  235.     <StackPanel>
  236.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  237.                  Style="{StaticResource TouchTextBox}"/>
  238.     </StackPanel>
  239. </Window>    x:Class="WpfApp1.TouchTextBox">
  240.    
  241. </ResourceDictionary>return "";
  242. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  243. <Window x:Class="WpfApp1.MainWindow"
  244.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  245.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  246.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  247.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  248.         mc:Ignorable="d"
  249.         Title="MainWindow" Height="800" Width="1200">
  250.     <StackPanel>
  251.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  252.                  Style="{StaticResource TouchTextBox}"/>
  253.     </StackPanel>
  254. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  255. <Window x:Class="WpfApp1.MainWindow"
  256.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  257.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  258.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  259.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  260.         mc:Ignorable="d"
  261.         Title="MainWindow" Height="800" Width="1200">
  262.     <StackPanel>
  263.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  264.                  Style="{StaticResource TouchTextBox}"/>
  265.     </StackPanel>
  266. </Window>    x:Class="WpfApp1.TouchTextBox">
  267.    
  268. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  269. <Window x:Class="WpfApp1.MainWindow"
  270.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  271.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  272.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  273.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  274.         mc:Ignorable="d"
  275.         Title="MainWindow" Height="800" Width="1200">
  276.     <StackPanel>
  277.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  278.                  Style="{StaticResource TouchTextBox}"/>
  279.     </StackPanel>
  280. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  281. <Window x:Class="WpfApp1.MainWindow"
  282.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  283.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  284.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  285.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  286.         mc:Ignorable="d"
  287.         Title="MainWindow" Height="800" Width="1200">
  288.     <StackPanel>
  289.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  290.                  Style="{StaticResource TouchTextBox}"/>
  291.     </StackPanel>
  292. </Window>    x:Class="WpfApp1.TouchTextBox">
  293.    
  294. </ResourceDictionary>}
  295. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  296. <Window x:Class="WpfApp1.MainWindow"
  297.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  298.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  299.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  300.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  301.         mc:Ignorable="d"
  302.         Title="MainWindow" Height="800" Width="1200">
  303.     <StackPanel>
  304.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  305.                  Style="{StaticResource TouchTextBox}"/>
  306.     </StackPanel>
  307. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  308. <Window x:Class="WpfApp1.MainWindow"
  309.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  310.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  311.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  312.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  313.         mc:Ignorable="d"
  314.         Title="MainWindow" Height="800" Width="1200">
  315.     <StackPanel>
  316.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  317.                  Style="{StaticResource TouchTextBox}"/>
  318.     </StackPanel>
  319. </Window>    x:Class="WpfApp1.TouchTextBox">
  320.    
  321. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  322. <Window x:Class="WpfApp1.MainWindow"
  323.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  324.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  325.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  326.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  327.         mc:Ignorable="d"
  328.         Title="MainWindow" Height="800" Width="1200">
  329.     <StackPanel>
  330.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  331.                  Style="{StaticResource TouchTextBox}"/>
  332.     </StackPanel>
  333. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  334. <Window x:Class="WpfApp1.MainWindow"
  335.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  336.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  337.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  338.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  339.         mc:Ignorable="d"
  340.         Title="MainWindow" Height="800" Width="1200">
  341.     <StackPanel>
  342.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  343.                  Style="{StaticResource TouchTextBox}"/>
  344.     </StackPanel>
  345. </Window>    x:Class="WpfApp1.TouchTextBox">
  346.    
  347. </ResourceDictionary>if (value == null)
  348. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  349. <Window x:Class="WpfApp1.MainWindow"
  350.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  351.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  352.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  353.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  354.         mc:Ignorable="d"
  355.         Title="MainWindow" Height="800" Width="1200">
  356.     <StackPanel>
  357.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  358.                  Style="{StaticResource TouchTextBox}"/>
  359.     </StackPanel>
  360. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  361. <Window x:Class="WpfApp1.MainWindow"
  362.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  363.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  364.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  365.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  366.         mc:Ignorable="d"
  367.         Title="MainWindow" Height="800" Width="1200">
  368.     <StackPanel>
  369.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  370.                  Style="{StaticResource TouchTextBox}"/>
  371.     </StackPanel>
  372. </Window>    x:Class="WpfApp1.TouchTextBox">
  373.    
  374. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  375. <Window x:Class="WpfApp1.MainWindow"
  376.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  377.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  378.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  379.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  380.         mc:Ignorable="d"
  381.         Title="MainWindow" Height="800" Width="1200">
  382.     <StackPanel>
  383.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  384.                  Style="{StaticResource TouchTextBox}"/>
  385.     </StackPanel>
  386. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  387. <Window x:Class="WpfApp1.MainWindow"
  388.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  389.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  390.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  391.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  392.         mc:Ignorable="d"
  393.         Title="MainWindow" Height="800" Width="1200">
  394.     <StackPanel>
  395.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  396.                  Style="{StaticResource TouchTextBox}"/>
  397.     </StackPanel>
  398. </Window>    x:Class="WpfApp1.TouchTextBox">
  399.    
  400. </ResourceDictionary>{
  401. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  402. <Window x:Class="WpfApp1.MainWindow"
  403.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  404.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  405.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  406.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  407.         mc:Ignorable="d"
  408.         Title="MainWindow" Height="800" Width="1200">
  409.     <StackPanel>
  410.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  411.                  Style="{StaticResource TouchTextBox}"/>
  412.     </StackPanel>
  413. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  414. <Window x:Class="WpfApp1.MainWindow"
  415.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  416.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  417.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  418.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  419.         mc:Ignorable="d"
  420.         Title="MainWindow" Height="800" Width="1200">
  421.     <StackPanel>
  422.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  423.                  Style="{StaticResource TouchTextBox}"/>
  424.     </StackPanel>
  425. </Window>    x:Class="WpfApp1.TouchTextBox">
  426.    
  427. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  428. <Window x:Class="WpfApp1.MainWindow"
  429.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  430.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  431.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  432.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  433.         mc:Ignorable="d"
  434.         Title="MainWindow" Height="800" Width="1200">
  435.     <StackPanel>
  436.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  437.                  Style="{StaticResource TouchTextBox}"/>
  438.     </StackPanel>
  439. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  440. <Window x:Class="WpfApp1.MainWindow"
  441.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  442.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  443.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  444.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  445.         mc:Ignorable="d"
  446.         Title="MainWindow" Height="800" Width="1200">
  447.     <StackPanel>
  448.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  449.                  Style="{StaticResource TouchTextBox}"/>
  450.     </StackPanel>
  451. </Window>    x:Class="WpfApp1.TouchTextBox">
  452.    
  453. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  454. <Window x:Class="WpfApp1.MainWindow"
  455.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  456.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  457.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  458.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  459.         mc:Ignorable="d"
  460.         Title="MainWindow" Height="800" Width="1200">
  461.     <StackPanel>
  462.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  463.                  Style="{StaticResource TouchTextBox}"/>
  464.     </StackPanel>
  465. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  466. <Window x:Class="WpfApp1.MainWindow"
  467.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  468.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  469.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  470.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  471.         mc:Ignorable="d"
  472.         Title="MainWindow" Height="800" Width="1200">
  473.     <StackPanel>
  474.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  475.                  Style="{StaticResource TouchTextBox}"/>
  476.     </StackPanel>
  477. </Window>    x:Class="WpfApp1.TouchTextBox">
  478.    
  479. </ResourceDictionary>return parameter.ToString();
  480. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  481. <Window x:Class="WpfApp1.MainWindow"
  482.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  483.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  484.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  485.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  486.         mc:Ignorable="d"
  487.         Title="MainWindow" Height="800" Width="1200">
  488.     <StackPanel>
  489.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  490.                  Style="{StaticResource TouchTextBox}"/>
  491.     </StackPanel>
  492. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  493. <Window x:Class="WpfApp1.MainWindow"
  494.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  495.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  496.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  497.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  498.         mc:Ignorable="d"
  499.         Title="MainWindow" Height="800" Width="1200">
  500.     <StackPanel>
  501.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  502.                  Style="{StaticResource TouchTextBox}"/>
  503.     </StackPanel>
  504. </Window>    x:Class="WpfApp1.TouchTextBox">
  505.    
  506. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  507. <Window x:Class="WpfApp1.MainWindow"
  508.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  509.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  510.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  511.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  512.         mc:Ignorable="d"
  513.         Title="MainWindow" Height="800" Width="1200">
  514.     <StackPanel>
  515.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  516.                  Style="{StaticResource TouchTextBox}"/>
  517.     </StackPanel>
  518. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  519. <Window x:Class="WpfApp1.MainWindow"
  520.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  521.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  522.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  523.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  524.         mc:Ignorable="d"
  525.         Title="MainWindow" Height="800" Width="1200">
  526.     <StackPanel>
  527.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  528.                  Style="{StaticResource TouchTextBox}"/>
  529.     </StackPanel>
  530. </Window>    x:Class="WpfApp1.TouchTextBox">
  531.    
  532. </ResourceDictionary>}
  533. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  534. <Window x:Class="WpfApp1.MainWindow"
  535.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  536.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  537.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  538.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  539.         mc:Ignorable="d"
  540.         Title="MainWindow" Height="800" Width="1200">
  541.     <StackPanel>
  542.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  543.                  Style="{StaticResource TouchTextBox}"/>
  544.     </StackPanel>
  545. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  546. <Window x:Class="WpfApp1.MainWindow"
  547.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  548.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  549.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  550.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  551.         mc:Ignorable="d"
  552.         Title="MainWindow" Height="800" Width="1200">
  553.     <StackPanel>
  554.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  555.                  Style="{StaticResource TouchTextBox}"/>
  556.     </StackPanel>
  557. </Window>    x:Class="WpfApp1.TouchTextBox">
  558.    
  559. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  560. <Window x:Class="WpfApp1.MainWindow"
  561.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  562.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  563.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  564.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  565.         mc:Ignorable="d"
  566.         Title="MainWindow" Height="800" Width="1200">
  567.     <StackPanel>
  568.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  569.                  Style="{StaticResource TouchTextBox}"/>
  570.     </StackPanel>
  571. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  572. <Window x:Class="WpfApp1.MainWindow"
  573.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  574.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  575.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  576.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  577.         mc:Ignorable="d"
  578.         Title="MainWindow" Height="800" Width="1200">
  579.     <StackPanel>
  580.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  581.                  Style="{StaticResource TouchTextBox}"/>
  582.     </StackPanel>
  583. </Window>    x:Class="WpfApp1.TouchTextBox">
  584.    
  585. </ResourceDictionary>if (value is bool b)
  586. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  587. <Window x:Class="WpfApp1.MainWindow"
  588.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  589.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  590.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  591.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  592.         mc:Ignorable="d"
  593.         Title="MainWindow" Height="800" Width="1200">
  594.     <StackPanel>
  595.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  596.                  Style="{StaticResource TouchTextBox}"/>
  597.     </StackPanel>
  598. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  599. <Window x:Class="WpfApp1.MainWindow"
  600.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  601.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  602.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  603.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  604.         mc:Ignorable="d"
  605.         Title="MainWindow" Height="800" Width="1200">
  606.     <StackPanel>
  607.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  608.                  Style="{StaticResource TouchTextBox}"/>
  609.     </StackPanel>
  610. </Window>    x:Class="WpfApp1.TouchTextBox">
  611.    
  612. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  613. <Window x:Class="WpfApp1.MainWindow"
  614.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  615.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  616.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  617.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  618.         mc:Ignorable="d"
  619.         Title="MainWindow" Height="800" Width="1200">
  620.     <StackPanel>
  621.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  622.                  Style="{StaticResource TouchTextBox}"/>
  623.     </StackPanel>
  624. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  625. <Window x:Class="WpfApp1.MainWindow"
  626.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  627.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  628.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  629.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  630.         mc:Ignorable="d"
  631.         Title="MainWindow" Height="800" Width="1200">
  632.     <StackPanel>
  633.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  634.                  Style="{StaticResource TouchTextBox}"/>
  635.     </StackPanel>
  636. </Window>    x:Class="WpfApp1.TouchTextBox">
  637.    
  638. </ResourceDictionary>{
  639. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  640. <Window x:Class="WpfApp1.MainWindow"
  641.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  642.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  643.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  644.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  645.         mc:Ignorable="d"
  646.         Title="MainWindow" Height="800" Width="1200">
  647.     <StackPanel>
  648.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  649.                  Style="{StaticResource TouchTextBox}"/>
  650.     </StackPanel>
  651. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  652. <Window x:Class="WpfApp1.MainWindow"
  653.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  654.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  655.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  656.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  657.         mc:Ignorable="d"
  658.         Title="MainWindow" Height="800" Width="1200">
  659.     <StackPanel>
  660.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  661.                  Style="{StaticResource TouchTextBox}"/>
  662.     </StackPanel>
  663. </Window>    x:Class="WpfApp1.TouchTextBox">
  664.    
  665. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  666. <Window x:Class="WpfApp1.MainWindow"
  667.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  668.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  669.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  670.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  671.         mc:Ignorable="d"
  672.         Title="MainWindow" Height="800" Width="1200">
  673.     <StackPanel>
  674.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  675.                  Style="{StaticResource TouchTextBox}"/>
  676.     </StackPanel>
  677. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  678. <Window x:Class="WpfApp1.MainWindow"
  679.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  680.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  681.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  682.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  683.         mc:Ignorable="d"
  684.         Title="MainWindow" Height="800" Width="1200">
  685.     <StackPanel>
  686.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  687.                  Style="{StaticResource TouchTextBox}"/>
  688.     </StackPanel>
  689. </Window>    x:Class="WpfApp1.TouchTextBox">
  690.    
  691. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  692. <Window x:Class="WpfApp1.MainWindow"
  693.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  694.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  695.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  696.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  697.         mc:Ignorable="d"
  698.         Title="MainWindow" Height="800" Width="1200">
  699.     <StackPanel>
  700.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  701.                  Style="{StaticResource TouchTextBox}"/>
  702.     </StackPanel>
  703. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  704. <Window x:Class="WpfApp1.MainWindow"
  705.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  706.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  707.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  708.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  709.         mc:Ignorable="d"
  710.         Title="MainWindow" Height="800" Width="1200">
  711.     <StackPanel>
  712.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  713.                  Style="{StaticResource TouchTextBox}"/>
  714.     </StackPanel>
  715. </Window>    x:Class="WpfApp1.TouchTextBox">
  716.    
  717. </ResourceDictionary>return b ? parameter.ToString().ToUpper() : parameter.ToString().ToLower();
  718. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  719. <Window x:Class="WpfApp1.MainWindow"
  720.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  721.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  722.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  723.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  724.         mc:Ignorable="d"
  725.         Title="MainWindow" Height="800" Width="1200">
  726.     <StackPanel>
  727.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  728.                  Style="{StaticResource TouchTextBox}"/>
  729.     </StackPanel>
  730. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  731. <Window x:Class="WpfApp1.MainWindow"
  732.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  733.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  734.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  735.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  736.         mc:Ignorable="d"
  737.         Title="MainWindow" Height="800" Width="1200">
  738.     <StackPanel>
  739.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  740.                  Style="{StaticResource TouchTextBox}"/>
  741.     </StackPanel>
  742. </Window>    x:Class="WpfApp1.TouchTextBox">
  743.    
  744. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  745. <Window x:Class="WpfApp1.MainWindow"
  746.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  747.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  748.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  749.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  750.         mc:Ignorable="d"
  751.         Title="MainWindow" Height="800" Width="1200">
  752.     <StackPanel>
  753.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  754.                  Style="{StaticResource TouchTextBox}"/>
  755.     </StackPanel>
  756. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  757. <Window x:Class="WpfApp1.MainWindow"
  758.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  759.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  760.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  761.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  762.         mc:Ignorable="d"
  763.         Title="MainWindow" Height="800" Width="1200">
  764.     <StackPanel>
  765.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  766.                  Style="{StaticResource TouchTextBox}"/>
  767.     </StackPanel>
  768. </Window>    x:Class="WpfApp1.TouchTextBox">
  769.    
  770. </ResourceDictionary>}
  771. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  772. <Window x:Class="WpfApp1.MainWindow"
  773.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  774.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  775.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  776.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  777.         mc:Ignorable="d"
  778.         Title="MainWindow" Height="800" Width="1200">
  779.     <StackPanel>
  780.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  781.                  Style="{StaticResource TouchTextBox}"/>
  782.     </StackPanel>
  783. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  784. <Window x:Class="WpfApp1.MainWindow"
  785.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  786.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  787.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  788.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  789.         mc:Ignorable="d"
  790.         Title="MainWindow" Height="800" Width="1200">
  791.     <StackPanel>
  792.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  793.                  Style="{StaticResource TouchTextBox}"/>
  794.     </StackPanel>
  795. </Window>    x:Class="WpfApp1.TouchTextBox">
  796.    
  797. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  798. <Window x:Class="WpfApp1.MainWindow"
  799.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  800.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  801.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  802.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  803.         mc:Ignorable="d"
  804.         Title="MainWindow" Height="800" Width="1200">
  805.     <StackPanel>
  806.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  807.                  Style="{StaticResource TouchTextBox}"/>
  808.     </StackPanel>
  809. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  810. <Window x:Class="WpfApp1.MainWindow"
  811.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  812.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  813.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  814.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  815.         mc:Ignorable="d"
  816.         Title="MainWindow" Height="800" Width="1200">
  817.     <StackPanel>
  818.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  819.                  Style="{StaticResource TouchTextBox}"/>
  820.     </StackPanel>
  821. </Window>    x:Class="WpfApp1.TouchTextBox">
  822.    
  823. </ResourceDictionary>else
  824. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  825. <Window x:Class="WpfApp1.MainWindow"
  826.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  827.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  828.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  829.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  830.         mc:Ignorable="d"
  831.         Title="MainWindow" Height="800" Width="1200">
  832.     <StackPanel>
  833.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  834.                  Style="{StaticResource TouchTextBox}"/>
  835.     </StackPanel>
  836. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  837. <Window x:Class="WpfApp1.MainWindow"
  838.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  839.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  840.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  841.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  842.         mc:Ignorable="d"
  843.         Title="MainWindow" Height="800" Width="1200">
  844.     <StackPanel>
  845.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  846.                  Style="{StaticResource TouchTextBox}"/>
  847.     </StackPanel>
  848. </Window>    x:Class="WpfApp1.TouchTextBox">
  849.    
  850. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  851. <Window x:Class="WpfApp1.MainWindow"
  852.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  853.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  854.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  855.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  856.         mc:Ignorable="d"
  857.         Title="MainWindow" Height="800" Width="1200">
  858.     <StackPanel>
  859.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  860.                  Style="{StaticResource TouchTextBox}"/>
  861.     </StackPanel>
  862. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  863. <Window x:Class="WpfApp1.MainWindow"
  864.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  865.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  866.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  867.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  868.         mc:Ignorable="d"
  869.         Title="MainWindow" Height="800" Width="1200">
  870.     <StackPanel>
  871.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  872.                  Style="{StaticResource TouchTextBox}"/>
  873.     </StackPanel>
  874. </Window>    x:Class="WpfApp1.TouchTextBox">
  875.    
  876. </ResourceDictionary>{
  877. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  878. <Window x:Class="WpfApp1.MainWindow"
  879.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  880.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  881.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  882.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  883.         mc:Ignorable="d"
  884.         Title="MainWindow" Height="800" Width="1200">
  885.     <StackPanel>
  886.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  887.                  Style="{StaticResource TouchTextBox}"/>
  888.     </StackPanel>
  889. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  890. <Window x:Class="WpfApp1.MainWindow"
  891.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  892.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  893.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  894.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  895.         mc:Ignorable="d"
  896.         Title="MainWindow" Height="800" Width="1200">
  897.     <StackPanel>
  898.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  899.                  Style="{StaticResource TouchTextBox}"/>
  900.     </StackPanel>
  901. </Window>    x:Class="WpfApp1.TouchTextBox">
  902.    
  903. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  904. <Window x:Class="WpfApp1.MainWindow"
  905.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  906.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  907.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  908.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  909.         mc:Ignorable="d"
  910.         Title="MainWindow" Height="800" Width="1200">
  911.     <StackPanel>
  912.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  913.                  Style="{StaticResource TouchTextBox}"/>
  914.     </StackPanel>
  915. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  916. <Window x:Class="WpfApp1.MainWindow"
  917.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  918.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  919.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  920.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  921.         mc:Ignorable="d"
  922.         Title="MainWindow" Height="800" Width="1200">
  923.     <StackPanel>
  924.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  925.                  Style="{StaticResource TouchTextBox}"/>
  926.     </StackPanel>
  927. </Window>    x:Class="WpfApp1.TouchTextBox">
  928.    
  929. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  930. <Window x:Class="WpfApp1.MainWindow"
  931.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  932.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  933.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  934.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  935.         mc:Ignorable="d"
  936.         Title="MainWindow" Height="800" Width="1200">
  937.     <StackPanel>
  938.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  939.                  Style="{StaticResource TouchTextBox}"/>
  940.     </StackPanel>
  941. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  942. <Window x:Class="WpfApp1.MainWindow"
  943.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  944.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  945.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  946.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  947.         mc:Ignorable="d"
  948.         Title="MainWindow" Height="800" Width="1200">
  949.     <StackPanel>
  950.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  951.                  Style="{StaticResource TouchTextBox}"/>
  952.     </StackPanel>
  953. </Window>    x:Class="WpfApp1.TouchTextBox">
  954.    
  955. </ResourceDictionary>return parameter.ToString();
  956. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  957. <Window x:Class="WpfApp1.MainWindow"
  958.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  959.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  960.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  961.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  962.         mc:Ignorable="d"
  963.         Title="MainWindow" Height="800" Width="1200">
  964.     <StackPanel>
  965.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  966.                  Style="{StaticResource TouchTextBox}"/>
  967.     </StackPanel>
  968. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  969. <Window x:Class="WpfApp1.MainWindow"
  970.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  971.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  972.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  973.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  974.         mc:Ignorable="d"
  975.         Title="MainWindow" Height="800" Width="1200">
  976.     <StackPanel>
  977.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  978.                  Style="{StaticResource TouchTextBox}"/>
  979.     </StackPanel>
  980. </Window>    x:Class="WpfApp1.TouchTextBox">
  981.    
  982. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  983. <Window x:Class="WpfApp1.MainWindow"
  984.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  985.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  986.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  987.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  988.         mc:Ignorable="d"
  989.         Title="MainWindow" Height="800" Width="1200">
  990.     <StackPanel>
  991.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  992.                  Style="{StaticResource TouchTextBox}"/>
  993.     </StackPanel>
  994. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  995. <Window x:Class="WpfApp1.MainWindow"
  996.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  997.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  998.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  999.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1000.         mc:Ignorable="d"
  1001.         Title="MainWindow" Height="800" Width="1200">
  1002.     <StackPanel>
  1003.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1004.                  Style="{StaticResource TouchTextBox}"/>
  1005.     </StackPanel>
  1006. </Window>    x:Class="WpfApp1.TouchTextBox">
  1007.    
  1008. </ResourceDictionary>}
  1009. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1010. <Window x:Class="WpfApp1.MainWindow"
  1011.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1012.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1013.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1014.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1015.         mc:Ignorable="d"
  1016.         Title="MainWindow" Height="800" Width="1200">
  1017.     <StackPanel>
  1018.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1019.                  Style="{StaticResource TouchTextBox}"/>
  1020.     </StackPanel>
  1021. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1022. <Window x:Class="WpfApp1.MainWindow"
  1023.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1024.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1025.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1026.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1027.         mc:Ignorable="d"
  1028.         Title="MainWindow" Height="800" Width="1200">
  1029.     <StackPanel>
  1030.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1031.                  Style="{StaticResource TouchTextBox}"/>
  1032.     </StackPanel>
  1033. </Window>    x:Class="WpfApp1.TouchTextBox">
  1034.    
  1035. </ResourceDictionary>}
  1036. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1037. <Window x:Class="WpfApp1.MainWindow"
  1038.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1039.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1040.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1041.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1042.         mc:Ignorable="d"
  1043.         Title="MainWindow" Height="800" Width="1200">
  1044.     <StackPanel>
  1045.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1046.                  Style="{StaticResource TouchTextBox}"/>
  1047.     </StackPanel>
  1048. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1049. <Window x:Class="WpfApp1.MainWindow"
  1050.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1051.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1052.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1053.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1054.         mc:Ignorable="d"
  1055.         Title="MainWindow" Height="800" Width="1200">
  1056.     <StackPanel>
  1057.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1058.                  Style="{StaticResource TouchTextBox}"/>
  1059.     </StackPanel>
  1060. </Window>    x:Class="WpfApp1.TouchTextBox">
  1061.    
  1062. </ResourceDictionary>public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
  1063. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1064. <Window x:Class="WpfApp1.MainWindow"
  1065.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1066.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1067.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1068.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1069.         mc:Ignorable="d"
  1070.         Title="MainWindow" Height="800" Width="1200">
  1071.     <StackPanel>
  1072.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1073.                  Style="{StaticResource TouchTextBox}"/>
  1074.     </StackPanel>
  1075. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1076. <Window x:Class="WpfApp1.MainWindow"
  1077.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1078.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1079.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1080.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1081.         mc:Ignorable="d"
  1082.         Title="MainWindow" Height="800" Width="1200">
  1083.     <StackPanel>
  1084.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1085.                  Style="{StaticResource TouchTextBox}"/>
  1086.     </StackPanel>
  1087. </Window>    x:Class="WpfApp1.TouchTextBox">
  1088.    
  1089. </ResourceDictionary>{
  1090. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1091. <Window x:Class="WpfApp1.MainWindow"
  1092.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1093.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1094.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1095.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1096.         mc:Ignorable="d"
  1097.         Title="MainWindow" Height="800" Width="1200">
  1098.     <StackPanel>
  1099.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1100.                  Style="{StaticResource TouchTextBox}"/>
  1101.     </StackPanel>
  1102. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1103. <Window x:Class="WpfApp1.MainWindow"
  1104.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1105.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1106.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1107.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1108.         mc:Ignorable="d"
  1109.         Title="MainWindow" Height="800" Width="1200">
  1110.     <StackPanel>
  1111.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1112.                  Style="{StaticResource TouchTextBox}"/>
  1113.     </StackPanel>
  1114. </Window>    x:Class="WpfApp1.TouchTextBox">
  1115.    
  1116. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1117. <Window x:Class="WpfApp1.MainWindow"
  1118.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1119.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1120.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1121.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1122.         mc:Ignorable="d"
  1123.         Title="MainWindow" Height="800" Width="1200">
  1124.     <StackPanel>
  1125.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1126.                  Style="{StaticResource TouchTextBox}"/>
  1127.     </StackPanel>
  1128. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1129. <Window x:Class="WpfApp1.MainWindow"
  1130.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1131.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1132.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1133.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1134.         mc:Ignorable="d"
  1135.         Title="MainWindow" Height="800" Width="1200">
  1136.     <StackPanel>
  1137.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1138.                  Style="{StaticResource TouchTextBox}"/>
  1139.     </StackPanel>
  1140. </Window>    x:Class="WpfApp1.TouchTextBox">
  1141.    
  1142. </ResourceDictionary>throw new NotImplementedException();
  1143. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1144. <Window x:Class="WpfApp1.MainWindow"
  1145.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1146.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1147.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1148.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1149.         mc:Ignorable="d"
  1150.         Title="MainWindow" Height="800" Width="1200">
  1151.     <StackPanel>
  1152.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1153.                  Style="{StaticResource TouchTextBox}"/>
  1154.     </StackPanel>
  1155. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1156. <Window x:Class="WpfApp1.MainWindow"
  1157.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1158.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1159.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1160.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1161.         mc:Ignorable="d"
  1162.         Title="MainWindow" Height="800" Width="1200">
  1163.     <StackPanel>
  1164.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1165.                  Style="{StaticResource TouchTextBox}"/>
  1166.     </StackPanel>
  1167. </Window>    x:Class="WpfApp1.TouchTextBox">
  1168.    
  1169. </ResourceDictionary>}
  1170. }
复制代码
View Code 

三 TouchTextBox

定义一个TouchTextBox的分部类。
  1. public partial class TouchTextBox
  2. {
  3. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. <Window x:Class="WpfApp1.MainWindow"
  5.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  6.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9.         mc:Ignorable="d"
  10.         Title="MainWindow" Height="800" Width="1200">
  11.     <StackPanel>
  12.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  13.                  Style="{StaticResource TouchTextBox}"/>
  14.     </StackPanel>
  15. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  16. <Window x:Class="WpfApp1.MainWindow"
  17.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  18.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  19.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  20.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  21.         mc:Ignorable="d"
  22.         Title="MainWindow" Height="800" Width="1200">
  23.     <StackPanel>
  24.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  25.                  Style="{StaticResource TouchTextBox}"/>
  26.     </StackPanel>
  27. </Window>    x:Class="WpfApp1.TouchTextBox">
  28.    
  29. </ResourceDictionary>private Control hostControl;
  30. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  31. <Window x:Class="WpfApp1.MainWindow"
  32.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  33.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  34.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  35.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  36.         mc:Ignorable="d"
  37.         Title="MainWindow" Height="800" Width="1200">
  38.     <StackPanel>
  39.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  40.                  Style="{StaticResource TouchTextBox}"/>
  41.     </StackPanel>
  42. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  43. <Window x:Class="WpfApp1.MainWindow"
  44.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  45.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  46.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  47.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  48.         mc:Ignorable="d"
  49.         Title="MainWindow" Height="800" Width="1200">
  50.     <StackPanel>
  51.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  52.                  Style="{StaticResource TouchTextBox}"/>
  53.     </StackPanel>
  54. </Window>    x:Class="WpfApp1.TouchTextBox">
  55.    
  56. </ResourceDictionary>//OnClick方法调用时,通过Window.ShowDialog方法,打开KeyboardControl
  57. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  58. <Window x:Class="WpfApp1.MainWindow"
  59.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  60.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  61.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  62.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  63.         mc:Ignorable="d"
  64.         Title="MainWindow" Height="800" Width="1200">
  65.     <StackPanel>
  66.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  67.                  Style="{StaticResource TouchTextBox}"/>
  68.     </StackPanel>
  69. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  70. <Window x:Class="WpfApp1.MainWindow"
  71.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  72.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  73.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  74.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  75.         mc:Ignorable="d"
  76.         Title="MainWindow" Height="800" Width="1200">
  77.     <StackPanel>
  78.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  79.                  Style="{StaticResource TouchTextBox}"/>
  80.     </StackPanel>
  81. </Window>    x:Class="WpfApp1.TouchTextBox">
  82.    
  83. </ResourceDictionary>public void OnClick(object sender, MouseButtonEventArgs e)
  84. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  85. <Window x:Class="WpfApp1.MainWindow"
  86.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  87.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  88.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  89.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  90.         mc:Ignorable="d"
  91.         Title="MainWindow" Height="800" Width="1200">
  92.     <StackPanel>
  93.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  94.                  Style="{StaticResource TouchTextBox}"/>
  95.     </StackPanel>
  96. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  97. <Window x:Class="WpfApp1.MainWindow"
  98.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  99.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  100.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  101.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  102.         mc:Ignorable="d"
  103.         Title="MainWindow" Height="800" Width="1200">
  104.     <StackPanel>
  105.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  106.                  Style="{StaticResource TouchTextBox}"/>
  107.     </StackPanel>
  108. </Window>    x:Class="WpfApp1.TouchTextBox">
  109.    
  110. </ResourceDictionary>{
  111. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  112. <Window x:Class="WpfApp1.MainWindow"
  113.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  114.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  115.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  116.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  117.         mc:Ignorable="d"
  118.         Title="MainWindow" Height="800" Width="1200">
  119.     <StackPanel>
  120.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  121.                  Style="{StaticResource TouchTextBox}"/>
  122.     </StackPanel>
  123. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  124. <Window x:Class="WpfApp1.MainWindow"
  125.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  126.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  127.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  128.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  129.         mc:Ignorable="d"
  130.         Title="MainWindow" Height="800" Width="1200">
  131.     <StackPanel>
  132.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  133.                  Style="{StaticResource TouchTextBox}"/>
  134.     </StackPanel>
  135. </Window>    x:Class="WpfApp1.TouchTextBox">
  136.    
  137. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  138. <Window x:Class="WpfApp1.MainWindow"
  139.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  140.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  141.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  142.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  143.         mc:Ignorable="d"
  144.         Title="MainWindow" Height="800" Width="1200">
  145.     <StackPanel>
  146.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  147.                  Style="{StaticResource TouchTextBox}"/>
  148.     </StackPanel>
  149. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  150. <Window x:Class="WpfApp1.MainWindow"
  151.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  152.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  153.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  154.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  155.         mc:Ignorable="d"
  156.         Title="MainWindow" Height="800" Width="1200">
  157.     <StackPanel>
  158.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  159.                  Style="{StaticResource TouchTextBox}"/>
  160.     </StackPanel>
  161. </Window>    x:Class="WpfApp1.TouchTextBox">
  162.    
  163. </ResourceDictionary>if (sender is TextBox textBox)
  164. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  165. <Window x:Class="WpfApp1.MainWindow"
  166.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  167.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  168.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  169.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  170.         mc:Ignorable="d"
  171.         Title="MainWindow" Height="800" Width="1200">
  172.     <StackPanel>
  173.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  174.                  Style="{StaticResource TouchTextBox}"/>
  175.     </StackPanel>
  176. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  177. <Window x:Class="WpfApp1.MainWindow"
  178.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  179.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  180.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  181.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  182.         mc:Ignorable="d"
  183.         Title="MainWindow" Height="800" Width="1200">
  184.     <StackPanel>
  185.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  186.                  Style="{StaticResource TouchTextBox}"/>
  187.     </StackPanel>
  188. </Window>    x:Class="WpfApp1.TouchTextBox">
  189.    
  190. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  191. <Window x:Class="WpfApp1.MainWindow"
  192.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  193.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  194.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  195.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  196.         mc:Ignorable="d"
  197.         Title="MainWindow" Height="800" Width="1200">
  198.     <StackPanel>
  199.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  200.                  Style="{StaticResource TouchTextBox}"/>
  201.     </StackPanel>
  202. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  203. <Window x:Class="WpfApp1.MainWindow"
  204.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  205.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  206.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  207.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  208.         mc:Ignorable="d"
  209.         Title="MainWindow" Height="800" Width="1200">
  210.     <StackPanel>
  211.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  212.                  Style="{StaticResource TouchTextBox}"/>
  213.     </StackPanel>
  214. </Window>    x:Class="WpfApp1.TouchTextBox">
  215.    
  216. </ResourceDictionary>{
  217. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  218. <Window x:Class="WpfApp1.MainWindow"
  219.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  220.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  221.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  222.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  223.         mc:Ignorable="d"
  224.         Title="MainWindow" Height="800" Width="1200">
  225.     <StackPanel>
  226.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  227.                  Style="{StaticResource TouchTextBox}"/>
  228.     </StackPanel>
  229. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  230. <Window x:Class="WpfApp1.MainWindow"
  231.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  232.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  233.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  234.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  235.         mc:Ignorable="d"
  236.         Title="MainWindow" Height="800" Width="1200">
  237.     <StackPanel>
  238.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  239.                  Style="{StaticResource TouchTextBox}"/>
  240.     </StackPanel>
  241. </Window>    x:Class="WpfApp1.TouchTextBox">
  242.    
  243. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  244. <Window x:Class="WpfApp1.MainWindow"
  245.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  246.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  247.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  248.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  249.         mc:Ignorable="d"
  250.         Title="MainWindow" Height="800" Width="1200">
  251.     <StackPanel>
  252.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  253.                  Style="{StaticResource TouchTextBox}"/>
  254.     </StackPanel>
  255. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  256. <Window x:Class="WpfApp1.MainWindow"
  257.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  258.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  259.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  260.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  261.         mc:Ignorable="d"
  262.         Title="MainWindow" Height="800" Width="1200">
  263.     <StackPanel>
  264.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  265.                  Style="{StaticResource TouchTextBox}"/>
  266.     </StackPanel>
  267. </Window>    x:Class="WpfApp1.TouchTextBox">
  268.    
  269. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  270. <Window x:Class="WpfApp1.MainWindow"
  271.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  272.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  273.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  274.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  275.         mc:Ignorable="d"
  276.         Title="MainWindow" Height="800" Width="1200">
  277.     <StackPanel>
  278.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  279.                  Style="{StaticResource TouchTextBox}"/>
  280.     </StackPanel>
  281. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  282. <Window x:Class="WpfApp1.MainWindow"
  283.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  284.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  285.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  286.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  287.         mc:Ignorable="d"
  288.         Title="MainWindow" Height="800" Width="1200">
  289.     <StackPanel>
  290.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  291.                  Style="{StaticResource TouchTextBox}"/>
  292.     </StackPanel>
  293. </Window>    x:Class="WpfApp1.TouchTextBox">
  294.    
  295. </ResourceDictionary>hostControl = textBox;
  296. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  297. <Window x:Class="WpfApp1.MainWindow"
  298.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  299.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  300.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  301.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  302.         mc:Ignorable="d"
  303.         Title="MainWindow" Height="800" Width="1200">
  304.     <StackPanel>
  305.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  306.                  Style="{StaticResource TouchTextBox}"/>
  307.     </StackPanel>
  308. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  309. <Window x:Class="WpfApp1.MainWindow"
  310.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  311.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  312.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  313.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  314.         mc:Ignorable="d"
  315.         Title="MainWindow" Height="800" Width="1200">
  316.     <StackPanel>
  317.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  318.                  Style="{StaticResource TouchTextBox}"/>
  319.     </StackPanel>
  320. </Window>    x:Class="WpfApp1.TouchTextBox">
  321.    
  322. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  323. <Window x:Class="WpfApp1.MainWindow"
  324.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  325.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  326.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  327.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  328.         mc:Ignorable="d"
  329.         Title="MainWindow" Height="800" Width="1200">
  330.     <StackPanel>
  331.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  332.                  Style="{StaticResource TouchTextBox}"/>
  333.     </StackPanel>
  334. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  335. <Window x:Class="WpfApp1.MainWindow"
  336.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  337.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  338.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  339.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  340.         mc:Ignorable="d"
  341.         Title="MainWindow" Height="800" Width="1200">
  342.     <StackPanel>
  343.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  344.                  Style="{StaticResource TouchTextBox}"/>
  345.     </StackPanel>
  346. </Window>    x:Class="WpfApp1.TouchTextBox">
  347.    
  348. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  349. <Window x:Class="WpfApp1.MainWindow"
  350.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  351.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  352.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  353.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  354.         mc:Ignorable="d"
  355.         Title="MainWindow" Height="800" Width="1200">
  356.     <StackPanel>
  357.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  358.                  Style="{StaticResource TouchTextBox}"/>
  359.     </StackPanel>
  360. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  361. <Window x:Class="WpfApp1.MainWindow"
  362.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  363.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  364.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  365.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  366.         mc:Ignorable="d"
  367.         Title="MainWindow" Height="800" Width="1200">
  368.     <StackPanel>
  369.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  370.                  Style="{StaticResource TouchTextBox}"/>
  371.     </StackPanel>
  372. </Window>    x:Class="WpfApp1.TouchTextBox">
  373.    
  374. </ResourceDictionary>//计算KeyboardControl的位置,弹出KeyboardControl
  375. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  376. <Window x:Class="WpfApp1.MainWindow"
  377.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  378.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  379.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  380.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  381.         mc:Ignorable="d"
  382.         Title="MainWindow" Height="800" Width="1200">
  383.     <StackPanel>
  384.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  385.                  Style="{StaticResource TouchTextBox}"/>
  386.     </StackPanel>
  387. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  388. <Window x:Class="WpfApp1.MainWindow"
  389.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  390.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  391.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  392.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  393.         mc:Ignorable="d"
  394.         Title="MainWindow" Height="800" Width="1200">
  395.     <StackPanel>
  396.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  397.                  Style="{StaticResource TouchTextBox}"/>
  398.     </StackPanel>
  399. </Window>    x:Class="WpfApp1.TouchTextBox">
  400.    
  401. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  402. <Window x:Class="WpfApp1.MainWindow"
  403.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  404.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  405.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  406.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  407.         mc:Ignorable="d"
  408.         Title="MainWindow" Height="800" Width="1200">
  409.     <StackPanel>
  410.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  411.                  Style="{StaticResource TouchTextBox}"/>
  412.     </StackPanel>
  413. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  414. <Window x:Class="WpfApp1.MainWindow"
  415.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  416.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  417.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  418.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  419.         mc:Ignorable="d"
  420.         Title="MainWindow" Height="800" Width="1200">
  421.     <StackPanel>
  422.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  423.                  Style="{StaticResource TouchTextBox}"/>
  424.     </StackPanel>
  425. </Window>    x:Class="WpfApp1.TouchTextBox">
  426.    
  427. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  428. <Window x:Class="WpfApp1.MainWindow"
  429.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  430.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  431.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  432.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  433.         mc:Ignorable="d"
  434.         Title="MainWindow" Height="800" Width="1200">
  435.     <StackPanel>
  436.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  437.                  Style="{StaticResource TouchTextBox}"/>
  438.     </StackPanel>
  439. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  440. <Window x:Class="WpfApp1.MainWindow"
  441.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  442.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  443.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  444.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  445.         mc:Ignorable="d"
  446.         Title="MainWindow" Height="800" Width="1200">
  447.     <StackPanel>
  448.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  449.                  Style="{StaticResource TouchTextBox}"/>
  450.     </StackPanel>
  451. </Window>    x:Class="WpfApp1.TouchTextBox">
  452.    
  453. </ResourceDictionary>var text = Show(textBox.Text, textBox);
  454. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  455. <Window x:Class="WpfApp1.MainWindow"
  456.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  457.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  458.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  459.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  460.         mc:Ignorable="d"
  461.         Title="MainWindow" Height="800" Width="1200">
  462.     <StackPanel>
  463.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  464.                  Style="{StaticResource TouchTextBox}"/>
  465.     </StackPanel>
  466. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  467. <Window x:Class="WpfApp1.MainWindow"
  468.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  469.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  470.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  471.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  472.         mc:Ignorable="d"
  473.         Title="MainWindow" Height="800" Width="1200">
  474.     <StackPanel>
  475.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  476.                  Style="{StaticResource TouchTextBox}"/>
  477.     </StackPanel>
  478. </Window>    x:Class="WpfApp1.TouchTextBox">
  479.    
  480. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  481. <Window x:Class="WpfApp1.MainWindow"
  482.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  483.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  484.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  485.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  486.         mc:Ignorable="d"
  487.         Title="MainWindow" Height="800" Width="1200">
  488.     <StackPanel>
  489.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  490.                  Style="{StaticResource TouchTextBox}"/>
  491.     </StackPanel>
  492. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  493. <Window x:Class="WpfApp1.MainWindow"
  494.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  495.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  496.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  497.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  498.         mc:Ignorable="d"
  499.         Title="MainWindow" Height="800" Width="1200">
  500.     <StackPanel>
  501.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  502.                  Style="{StaticResource TouchTextBox}"/>
  503.     </StackPanel>
  504. </Window>    x:Class="WpfApp1.TouchTextBox">
  505.    
  506. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  507. <Window x:Class="WpfApp1.MainWindow"
  508.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  509.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  510.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  511.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  512.         mc:Ignorable="d"
  513.         Title="MainWindow" Height="800" Width="1200">
  514.     <StackPanel>
  515.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  516.                  Style="{StaticResource TouchTextBox}"/>
  517.     </StackPanel>
  518. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  519. <Window x:Class="WpfApp1.MainWindow"
  520.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  521.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  522.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  523.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  524.         mc:Ignorable="d"
  525.         Title="MainWindow" Height="800" Width="1200">
  526.     <StackPanel>
  527.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  528.                  Style="{StaticResource TouchTextBox}"/>
  529.     </StackPanel>
  530. </Window>    x:Class="WpfApp1.TouchTextBox">
  531.    
  532. </ResourceDictionary>//KeyboardControl关闭后,获取其文本值,赋值给TextBox
  533. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  534. <Window x:Class="WpfApp1.MainWindow"
  535.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  536.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  537.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  538.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  539.         mc:Ignorable="d"
  540.         Title="MainWindow" Height="800" Width="1200">
  541.     <StackPanel>
  542.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  543.                  Style="{StaticResource TouchTextBox}"/>
  544.     </StackPanel>
  545. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  546. <Window x:Class="WpfApp1.MainWindow"
  547.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  548.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  549.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  550.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  551.         mc:Ignorable="d"
  552.         Title="MainWindow" Height="800" Width="1200">
  553.     <StackPanel>
  554.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  555.                  Style="{StaticResource TouchTextBox}"/>
  556.     </StackPanel>
  557. </Window>    x:Class="WpfApp1.TouchTextBox">
  558.    
  559. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  560. <Window x:Class="WpfApp1.MainWindow"
  561.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  562.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  563.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  564.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  565.         mc:Ignorable="d"
  566.         Title="MainWindow" Height="800" Width="1200">
  567.     <StackPanel>
  568.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  569.                  Style="{StaticResource TouchTextBox}"/>
  570.     </StackPanel>
  571. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  572. <Window x:Class="WpfApp1.MainWindow"
  573.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  574.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  575.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  576.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  577.         mc:Ignorable="d"
  578.         Title="MainWindow" Height="800" Width="1200">
  579.     <StackPanel>
  580.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  581.                  Style="{StaticResource TouchTextBox}"/>
  582.     </StackPanel>
  583. </Window>    x:Class="WpfApp1.TouchTextBox">
  584.    
  585. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  586. <Window x:Class="WpfApp1.MainWindow"
  587.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  588.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  589.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  590.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  591.         mc:Ignorable="d"
  592.         Title="MainWindow" Height="800" Width="1200">
  593.     <StackPanel>
  594.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  595.                  Style="{StaticResource TouchTextBox}"/>
  596.     </StackPanel>
  597. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  598. <Window x:Class="WpfApp1.MainWindow"
  599.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  600.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  601.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  602.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  603.         mc:Ignorable="d"
  604.         Title="MainWindow" Height="800" Width="1200">
  605.     <StackPanel>
  606.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  607.                  Style="{StaticResource TouchTextBox}"/>
  608.     </StackPanel>
  609. </Window>    x:Class="WpfApp1.TouchTextBox">
  610.    
  611. </ResourceDictionary>if (!string.IsNullOrEmpty(text))
  612. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  613. <Window x:Class="WpfApp1.MainWindow"
  614.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  615.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  616.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  617.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  618.         mc:Ignorable="d"
  619.         Title="MainWindow" Height="800" Width="1200">
  620.     <StackPanel>
  621.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  622.                  Style="{StaticResource TouchTextBox}"/>
  623.     </StackPanel>
  624. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  625. <Window x:Class="WpfApp1.MainWindow"
  626.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  627.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  628.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  629.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  630.         mc:Ignorable="d"
  631.         Title="MainWindow" Height="800" Width="1200">
  632.     <StackPanel>
  633.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  634.                  Style="{StaticResource TouchTextBox}"/>
  635.     </StackPanel>
  636. </Window>    x:Class="WpfApp1.TouchTextBox">
  637.    
  638. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  639. <Window x:Class="WpfApp1.MainWindow"
  640.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  641.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  642.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  643.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  644.         mc:Ignorable="d"
  645.         Title="MainWindow" Height="800" Width="1200">
  646.     <StackPanel>
  647.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  648.                  Style="{StaticResource TouchTextBox}"/>
  649.     </StackPanel>
  650. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  651. <Window x:Class="WpfApp1.MainWindow"
  652.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  653.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  654.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  655.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  656.         mc:Ignorable="d"
  657.         Title="MainWindow" Height="800" Width="1200">
  658.     <StackPanel>
  659.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  660.                  Style="{StaticResource TouchTextBox}"/>
  661.     </StackPanel>
  662. </Window>    x:Class="WpfApp1.TouchTextBox">
  663.    
  664. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  665. <Window x:Class="WpfApp1.MainWindow"
  666.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  667.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  668.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  669.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  670.         mc:Ignorable="d"
  671.         Title="MainWindow" Height="800" Width="1200">
  672.     <StackPanel>
  673.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  674.                  Style="{StaticResource TouchTextBox}"/>
  675.     </StackPanel>
  676. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  677. <Window x:Class="WpfApp1.MainWindow"
  678.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  679.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  680.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  681.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  682.         mc:Ignorable="d"
  683.         Title="MainWindow" Height="800" Width="1200">
  684.     <StackPanel>
  685.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  686.                  Style="{StaticResource TouchTextBox}"/>
  687.     </StackPanel>
  688. </Window>    x:Class="WpfApp1.TouchTextBox">
  689.    
  690. </ResourceDictionary>{
  691. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  692. <Window x:Class="WpfApp1.MainWindow"
  693.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  694.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  695.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  696.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  697.         mc:Ignorable="d"
  698.         Title="MainWindow" Height="800" Width="1200">
  699.     <StackPanel>
  700.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  701.                  Style="{StaticResource TouchTextBox}"/>
  702.     </StackPanel>
  703. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  704. <Window x:Class="WpfApp1.MainWindow"
  705.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  706.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  707.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  708.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  709.         mc:Ignorable="d"
  710.         Title="MainWindow" Height="800" Width="1200">
  711.     <StackPanel>
  712.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  713.                  Style="{StaticResource TouchTextBox}"/>
  714.     </StackPanel>
  715. </Window>    x:Class="WpfApp1.TouchTextBox">
  716.    
  717. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  718. <Window x:Class="WpfApp1.MainWindow"
  719.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  720.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  721.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  722.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  723.         mc:Ignorable="d"
  724.         Title="MainWindow" Height="800" Width="1200">
  725.     <StackPanel>
  726.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  727.                  Style="{StaticResource TouchTextBox}"/>
  728.     </StackPanel>
  729. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  730. <Window x:Class="WpfApp1.MainWindow"
  731.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  732.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  733.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  734.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  735.         mc:Ignorable="d"
  736.         Title="MainWindow" Height="800" Width="1200">
  737.     <StackPanel>
  738.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  739.                  Style="{StaticResource TouchTextBox}"/>
  740.     </StackPanel>
  741. </Window>    x:Class="WpfApp1.TouchTextBox">
  742.    
  743. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  744. <Window x:Class="WpfApp1.MainWindow"
  745.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  746.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  747.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  748.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  749.         mc:Ignorable="d"
  750.         Title="MainWindow" Height="800" Width="1200">
  751.     <StackPanel>
  752.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  753.                  Style="{StaticResource TouchTextBox}"/>
  754.     </StackPanel>
  755. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  756. <Window x:Class="WpfApp1.MainWindow"
  757.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  758.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  759.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  760.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  761.         mc:Ignorable="d"
  762.         Title="MainWindow" Height="800" Width="1200">
  763.     <StackPanel>
  764.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  765.                  Style="{StaticResource TouchTextBox}"/>
  766.     </StackPanel>
  767. </Window>    x:Class="WpfApp1.TouchTextBox">
  768.    
  769. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  770. <Window x:Class="WpfApp1.MainWindow"
  771.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  772.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  773.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  774.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  775.         mc:Ignorable="d"
  776.         Title="MainWindow" Height="800" Width="1200">
  777.     <StackPanel>
  778.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  779.                  Style="{StaticResource TouchTextBox}"/>
  780.     </StackPanel>
  781. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  782. <Window x:Class="WpfApp1.MainWindow"
  783.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  784.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  785.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  786.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  787.         mc:Ignorable="d"
  788.         Title="MainWindow" Height="800" Width="1200">
  789.     <StackPanel>
  790.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  791.                  Style="{StaticResource TouchTextBox}"/>
  792.     </StackPanel>
  793. </Window>    x:Class="WpfApp1.TouchTextBox">
  794.    
  795. </ResourceDictionary>textBox.Text = text;
  796. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  797. <Window x:Class="WpfApp1.MainWindow"
  798.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  799.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  800.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  801.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  802.         mc:Ignorable="d"
  803.         Title="MainWindow" Height="800" Width="1200">
  804.     <StackPanel>
  805.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  806.                  Style="{StaticResource TouchTextBox}"/>
  807.     </StackPanel>
  808. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  809. <Window x:Class="WpfApp1.MainWindow"
  810.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  811.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  812.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  813.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  814.         mc:Ignorable="d"
  815.         Title="MainWindow" Height="800" Width="1200">
  816.     <StackPanel>
  817.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  818.                  Style="{StaticResource TouchTextBox}"/>
  819.     </StackPanel>
  820. </Window>    x:Class="WpfApp1.TouchTextBox">
  821.    
  822. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  823. <Window x:Class="WpfApp1.MainWindow"
  824.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  825.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  826.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  827.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  828.         mc:Ignorable="d"
  829.         Title="MainWindow" Height="800" Width="1200">
  830.     <StackPanel>
  831.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  832.                  Style="{StaticResource TouchTextBox}"/>
  833.     </StackPanel>
  834. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  835. <Window x:Class="WpfApp1.MainWindow"
  836.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  837.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  838.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  839.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  840.         mc:Ignorable="d"
  841.         Title="MainWindow" Height="800" Width="1200">
  842.     <StackPanel>
  843.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  844.                  Style="{StaticResource TouchTextBox}"/>
  845.     </StackPanel>
  846. </Window>    x:Class="WpfApp1.TouchTextBox">
  847.    
  848. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  849. <Window x:Class="WpfApp1.MainWindow"
  850.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  851.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  852.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  853.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  854.         mc:Ignorable="d"
  855.         Title="MainWindow" Height="800" Width="1200">
  856.     <StackPanel>
  857.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  858.                  Style="{StaticResource TouchTextBox}"/>
  859.     </StackPanel>
  860. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  861. <Window x:Class="WpfApp1.MainWindow"
  862.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  863.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  864.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  865.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  866.         mc:Ignorable="d"
  867.         Title="MainWindow" Height="800" Width="1200">
  868.     <StackPanel>
  869.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  870.                  Style="{StaticResource TouchTextBox}"/>
  871.     </StackPanel>
  872. </Window>    x:Class="WpfApp1.TouchTextBox">
  873.    
  874. </ResourceDictionary>}
  875. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  876. <Window x:Class="WpfApp1.MainWindow"
  877.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  878.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  879.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  880.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  881.         mc:Ignorable="d"
  882.         Title="MainWindow" Height="800" Width="1200">
  883.     <StackPanel>
  884.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  885.                  Style="{StaticResource TouchTextBox}"/>
  886.     </StackPanel>
  887. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  888. <Window x:Class="WpfApp1.MainWindow"
  889.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  890.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  891.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  892.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  893.         mc:Ignorable="d"
  894.         Title="MainWindow" Height="800" Width="1200">
  895.     <StackPanel>
  896.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  897.                  Style="{StaticResource TouchTextBox}"/>
  898.     </StackPanel>
  899. </Window>    x:Class="WpfApp1.TouchTextBox">
  900.    
  901. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  902. <Window x:Class="WpfApp1.MainWindow"
  903.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  904.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  905.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  906.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  907.         mc:Ignorable="d"
  908.         Title="MainWindow" Height="800" Width="1200">
  909.     <StackPanel>
  910.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  911.                  Style="{StaticResource TouchTextBox}"/>
  912.     </StackPanel>
  913. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  914. <Window x:Class="WpfApp1.MainWindow"
  915.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  916.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  917.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  918.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  919.         mc:Ignorable="d"
  920.         Title="MainWindow" Height="800" Width="1200">
  921.     <StackPanel>
  922.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  923.                  Style="{StaticResource TouchTextBox}"/>
  924.     </StackPanel>
  925. </Window>    x:Class="WpfApp1.TouchTextBox">
  926.    
  927. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  928. <Window x:Class="WpfApp1.MainWindow"
  929.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  930.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  931.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  932.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  933.         mc:Ignorable="d"
  934.         Title="MainWindow" Height="800" Width="1200">
  935.     <StackPanel>
  936.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  937.                  Style="{StaticResource TouchTextBox}"/>
  938.     </StackPanel>
  939. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  940. <Window x:Class="WpfApp1.MainWindow"
  941.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  942.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  943.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  944.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  945.         mc:Ignorable="d"
  946.         Title="MainWindow" Height="800" Width="1200">
  947.     <StackPanel>
  948.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  949.                  Style="{StaticResource TouchTextBox}"/>
  950.     </StackPanel>
  951. </Window>    x:Class="WpfApp1.TouchTextBox">
  952.    
  953. </ResourceDictionary>else
  954. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  955. <Window x:Class="WpfApp1.MainWindow"
  956.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  957.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  958.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  959.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  960.         mc:Ignorable="d"
  961.         Title="MainWindow" Height="800" Width="1200">
  962.     <StackPanel>
  963.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  964.                  Style="{StaticResource TouchTextBox}"/>
  965.     </StackPanel>
  966. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  967. <Window x:Class="WpfApp1.MainWindow"
  968.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  969.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  970.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  971.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  972.         mc:Ignorable="d"
  973.         Title="MainWindow" Height="800" Width="1200">
  974.     <StackPanel>
  975.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  976.                  Style="{StaticResource TouchTextBox}"/>
  977.     </StackPanel>
  978. </Window>    x:Class="WpfApp1.TouchTextBox">
  979.    
  980. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  981. <Window x:Class="WpfApp1.MainWindow"
  982.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  983.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  984.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  985.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  986.         mc:Ignorable="d"
  987.         Title="MainWindow" Height="800" Width="1200">
  988.     <StackPanel>
  989.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  990.                  Style="{StaticResource TouchTextBox}"/>
  991.     </StackPanel>
  992. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  993. <Window x:Class="WpfApp1.MainWindow"
  994.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  995.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  996.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  997.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  998.         mc:Ignorable="d"
  999.         Title="MainWindow" Height="800" Width="1200">
  1000.     <StackPanel>
  1001.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1002.                  Style="{StaticResource TouchTextBox}"/>
  1003.     </StackPanel>
  1004. </Window>    x:Class="WpfApp1.TouchTextBox">
  1005.    
  1006. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1007. <Window x:Class="WpfApp1.MainWindow"
  1008.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1009.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1010.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1011.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1012.         mc:Ignorable="d"
  1013.         Title="MainWindow" Height="800" Width="1200">
  1014.     <StackPanel>
  1015.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1016.                  Style="{StaticResource TouchTextBox}"/>
  1017.     </StackPanel>
  1018. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1019. <Window x:Class="WpfApp1.MainWindow"
  1020.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1021.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1022.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1023.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1024.         mc:Ignorable="d"
  1025.         Title="MainWindow" Height="800" Width="1200">
  1026.     <StackPanel>
  1027.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1028.                  Style="{StaticResource TouchTextBox}"/>
  1029.     </StackPanel>
  1030. </Window>    x:Class="WpfApp1.TouchTextBox">
  1031.    
  1032. </ResourceDictionary>{
  1033. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1034. <Window x:Class="WpfApp1.MainWindow"
  1035.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1036.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1037.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1038.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1039.         mc:Ignorable="d"
  1040.         Title="MainWindow" Height="800" Width="1200">
  1041.     <StackPanel>
  1042.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1043.                  Style="{StaticResource TouchTextBox}"/>
  1044.     </StackPanel>
  1045. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1046. <Window x:Class="WpfApp1.MainWindow"
  1047.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1048.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1049.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1050.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1051.         mc:Ignorable="d"
  1052.         Title="MainWindow" Height="800" Width="1200">
  1053.     <StackPanel>
  1054.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1055.                  Style="{StaticResource TouchTextBox}"/>
  1056.     </StackPanel>
  1057. </Window>    x:Class="WpfApp1.TouchTextBox">
  1058.    
  1059. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1060. <Window x:Class="WpfApp1.MainWindow"
  1061.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1062.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1063.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1064.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1065.         mc:Ignorable="d"
  1066.         Title="MainWindow" Height="800" Width="1200">
  1067.     <StackPanel>
  1068.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1069.                  Style="{StaticResource TouchTextBox}"/>
  1070.     </StackPanel>
  1071. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1072. <Window x:Class="WpfApp1.MainWindow"
  1073.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1074.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1075.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1076.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1077.         mc:Ignorable="d"
  1078.         Title="MainWindow" Height="800" Width="1200">
  1079.     <StackPanel>
  1080.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1081.                  Style="{StaticResource TouchTextBox}"/>
  1082.     </StackPanel>
  1083. </Window>    x:Class="WpfApp1.TouchTextBox">
  1084.    
  1085. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1086. <Window x:Class="WpfApp1.MainWindow"
  1087.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1088.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1089.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1090.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1091.         mc:Ignorable="d"
  1092.         Title="MainWindow" Height="800" Width="1200">
  1093.     <StackPanel>
  1094.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1095.                  Style="{StaticResource TouchTextBox}"/>
  1096.     </StackPanel>
  1097. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1098. <Window x:Class="WpfApp1.MainWindow"
  1099.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1100.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1101.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1102.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1103.         mc:Ignorable="d"
  1104.         Title="MainWindow" Height="800" Width="1200">
  1105.     <StackPanel>
  1106.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1107.                  Style="{StaticResource TouchTextBox}"/>
  1108.     </StackPanel>
  1109. </Window>    x:Class="WpfApp1.TouchTextBox">
  1110.    
  1111. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1112. <Window x:Class="WpfApp1.MainWindow"
  1113.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1114.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1115.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1116.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1117.         mc:Ignorable="d"
  1118.         Title="MainWindow" Height="800" Width="1200">
  1119.     <StackPanel>
  1120.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1121.                  Style="{StaticResource TouchTextBox}"/>
  1122.     </StackPanel>
  1123. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1124. <Window x:Class="WpfApp1.MainWindow"
  1125.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1126.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1127.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1128.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1129.         mc:Ignorable="d"
  1130.         Title="MainWindow" Height="800" Width="1200">
  1131.     <StackPanel>
  1132.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1133.                  Style="{StaticResource TouchTextBox}"/>
  1134.     </StackPanel>
  1135. </Window>    x:Class="WpfApp1.TouchTextBox">
  1136.    
  1137. </ResourceDictionary>textBox.Text = string.Empty;
  1138. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1139. <Window x:Class="WpfApp1.MainWindow"
  1140.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1141.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1142.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1143.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1144.         mc:Ignorable="d"
  1145.         Title="MainWindow" Height="800" Width="1200">
  1146.     <StackPanel>
  1147.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1148.                  Style="{StaticResource TouchTextBox}"/>
  1149.     </StackPanel>
  1150. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1151. <Window x:Class="WpfApp1.MainWindow"
  1152.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1153.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1154.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1155.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1156.         mc:Ignorable="d"
  1157.         Title="MainWindow" Height="800" Width="1200">
  1158.     <StackPanel>
  1159.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1160.                  Style="{StaticResource TouchTextBox}"/>
  1161.     </StackPanel>
  1162. </Window>    x:Class="WpfApp1.TouchTextBox">
  1163.    
  1164. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1165. <Window x:Class="WpfApp1.MainWindow"
  1166.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1167.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1168.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1169.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1170.         mc:Ignorable="d"
  1171.         Title="MainWindow" Height="800" Width="1200">
  1172.     <StackPanel>
  1173.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1174.                  Style="{StaticResource TouchTextBox}"/>
  1175.     </StackPanel>
  1176. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1177. <Window x:Class="WpfApp1.MainWindow"
  1178.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1179.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1180.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1181.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1182.         mc:Ignorable="d"
  1183.         Title="MainWindow" Height="800" Width="1200">
  1184.     <StackPanel>
  1185.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1186.                  Style="{StaticResource TouchTextBox}"/>
  1187.     </StackPanel>
  1188. </Window>    x:Class="WpfApp1.TouchTextBox">
  1189.    
  1190. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1191. <Window x:Class="WpfApp1.MainWindow"
  1192.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1193.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1194.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1195.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1196.         mc:Ignorable="d"
  1197.         Title="MainWindow" Height="800" Width="1200">
  1198.     <StackPanel>
  1199.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1200.                  Style="{StaticResource TouchTextBox}"/>
  1201.     </StackPanel>
  1202. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1203. <Window x:Class="WpfApp1.MainWindow"
  1204.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1205.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1206.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1207.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1208.         mc:Ignorable="d"
  1209.         Title="MainWindow" Height="800" Width="1200">
  1210.     <StackPanel>
  1211.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1212.                  Style="{StaticResource TouchTextBox}"/>
  1213.     </StackPanel>
  1214. </Window>    x:Class="WpfApp1.TouchTextBox">
  1215.    
  1216. </ResourceDictionary>}
  1217. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1218. <Window x:Class="WpfApp1.MainWindow"
  1219.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1220.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1221.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1222.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1223.         mc:Ignorable="d"
  1224.         Title="MainWindow" Height="800" Width="1200">
  1225.     <StackPanel>
  1226.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1227.                  Style="{StaticResource TouchTextBox}"/>
  1228.     </StackPanel>
  1229. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1230. <Window x:Class="WpfApp1.MainWindow"
  1231.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1232.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1233.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1234.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1235.         mc:Ignorable="d"
  1236.         Title="MainWindow" Height="800" Width="1200">
  1237.     <StackPanel>
  1238.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1239.                  Style="{StaticResource TouchTextBox}"/>
  1240.     </StackPanel>
  1241. </Window>    x:Class="WpfApp1.TouchTextBox">
  1242.    
  1243. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1244. <Window x:Class="WpfApp1.MainWindow"
  1245.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1246.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1247.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1248.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1249.         mc:Ignorable="d"
  1250.         Title="MainWindow" Height="800" Width="1200">
  1251.     <StackPanel>
  1252.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1253.                  Style="{StaticResource TouchTextBox}"/>
  1254.     </StackPanel>
  1255. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1256. <Window x:Class="WpfApp1.MainWindow"
  1257.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1258.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1259.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1260.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1261.         mc:Ignorable="d"
  1262.         Title="MainWindow" Height="800" Width="1200">
  1263.     <StackPanel>
  1264.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1265.                  Style="{StaticResource TouchTextBox}"/>
  1266.     </StackPanel>
  1267. </Window>    x:Class="WpfApp1.TouchTextBox">
  1268.    
  1269. </ResourceDictionary>}
  1270. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1271. <Window x:Class="WpfApp1.MainWindow"
  1272.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1273.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1274.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1275.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1276.         mc:Ignorable="d"
  1277.         Title="MainWindow" Height="800" Width="1200">
  1278.     <StackPanel>
  1279.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1280.                  Style="{StaticResource TouchTextBox}"/>
  1281.     </StackPanel>
  1282. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1283. <Window x:Class="WpfApp1.MainWindow"
  1284.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1285.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1286.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1287.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1288.         mc:Ignorable="d"
  1289.         Title="MainWindow" Height="800" Width="1200">
  1290.     <StackPanel>
  1291.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1292.                  Style="{StaticResource TouchTextBox}"/>
  1293.     </StackPanel>
  1294. </Window>    x:Class="WpfApp1.TouchTextBox">
  1295.    
  1296. </ResourceDictionary>}
  1297. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1298. <Window x:Class="WpfApp1.MainWindow"
  1299.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1300.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1301.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1302.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1303.         mc:Ignorable="d"
  1304.         Title="MainWindow" Height="800" Width="1200">
  1305.     <StackPanel>
  1306.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1307.                  Style="{StaticResource TouchTextBox}"/>
  1308.     </StackPanel>
  1309. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1310. <Window x:Class="WpfApp1.MainWindow"
  1311.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1312.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1313.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1314.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1315.         mc:Ignorable="d"
  1316.         Title="MainWindow" Height="800" Width="1200">
  1317.     <StackPanel>
  1318.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1319.                  Style="{StaticResource TouchTextBox}"/>
  1320.     </StackPanel>
  1321. </Window>    x:Class="WpfApp1.TouchTextBox">
  1322.    
  1323. </ResourceDictionary>private string Show(string initValue, object sender = null)
  1324. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1325. <Window x:Class="WpfApp1.MainWindow"
  1326.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1327.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1328.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1329.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1330.         mc:Ignorable="d"
  1331.         Title="MainWindow" Height="800" Width="1200">
  1332.     <StackPanel>
  1333.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1334.                  Style="{StaticResource TouchTextBox}"/>
  1335.     </StackPanel>
  1336. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1337. <Window x:Class="WpfApp1.MainWindow"
  1338.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1339.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1340.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1341.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1342.         mc:Ignorable="d"
  1343.         Title="MainWindow" Height="800" Width="1200">
  1344.     <StackPanel>
  1345.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1346.                  Style="{StaticResource TouchTextBox}"/>
  1347.     </StackPanel>
  1348. </Window>    x:Class="WpfApp1.TouchTextBox">
  1349.    
  1350. </ResourceDictionary>{
  1351. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1352. <Window x:Class="WpfApp1.MainWindow"
  1353.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1354.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1355.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1356.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1357.         mc:Ignorable="d"
  1358.         Title="MainWindow" Height="800" Width="1200">
  1359.     <StackPanel>
  1360.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1361.                  Style="{StaticResource TouchTextBox}"/>
  1362.     </StackPanel>
  1363. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1364. <Window x:Class="WpfApp1.MainWindow"
  1365.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1366.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1367.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1368.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1369.         mc:Ignorable="d"
  1370.         Title="MainWindow" Height="800" Width="1200">
  1371.     <StackPanel>
  1372.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1373.                  Style="{StaticResource TouchTextBox}"/>
  1374.     </StackPanel>
  1375. </Window>    x:Class="WpfApp1.TouchTextBox">
  1376.    
  1377. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1378. <Window x:Class="WpfApp1.MainWindow"
  1379.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1380.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1381.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1382.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1383.         mc:Ignorable="d"
  1384.         Title="MainWindow" Height="800" Width="1200">
  1385.     <StackPanel>
  1386.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1387.                  Style="{StaticResource TouchTextBox}"/>
  1388.     </StackPanel>
  1389. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1390. <Window x:Class="WpfApp1.MainWindow"
  1391.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1392.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1393.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1394.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1395.         mc:Ignorable="d"
  1396.         Title="MainWindow" Height="800" Width="1200">
  1397.     <StackPanel>
  1398.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1399.                  Style="{StaticResource TouchTextBox}"/>
  1400.     </StackPanel>
  1401. </Window>    x:Class="WpfApp1.TouchTextBox">
  1402.    
  1403. </ResourceDictionary>var keyboard = new KeyboardControl(initValue);
  1404. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1405. <Window x:Class="WpfApp1.MainWindow"
  1406.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1407.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1408.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1409.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1410.         mc:Ignorable="d"
  1411.         Title="MainWindow" Height="800" Width="1200">
  1412.     <StackPanel>
  1413.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1414.                  Style="{StaticResource TouchTextBox}"/>
  1415.     </StackPanel>
  1416. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1417. <Window x:Class="WpfApp1.MainWindow"
  1418.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1419.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1420.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1421.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1422.         mc:Ignorable="d"
  1423.         Title="MainWindow" Height="800" Width="1200">
  1424.     <StackPanel>
  1425.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1426.                  Style="{StaticResource TouchTextBox}"/>
  1427.     </StackPanel>
  1428. </Window>    x:Class="WpfApp1.TouchTextBox">
  1429.    
  1430. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1431. <Window x:Class="WpfApp1.MainWindow"
  1432.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1433.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1434.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1435.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1436.         mc:Ignorable="d"
  1437.         Title="MainWindow" Height="800" Width="1200">
  1438.     <StackPanel>
  1439.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1440.                  Style="{StaticResource TouchTextBox}"/>
  1441.     </StackPanel>
  1442. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1443. <Window x:Class="WpfApp1.MainWindow"
  1444.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1445.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1446.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1447.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1448.         mc:Ignorable="d"
  1449.         Title="MainWindow" Height="800" Width="1200">
  1450.     <StackPanel>
  1451.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1452.                  Style="{StaticResource TouchTextBox}"/>
  1453.     </StackPanel>
  1454. </Window>    x:Class="WpfApp1.TouchTextBox">
  1455.    
  1456. </ResourceDictionary>SetPosition(keyboard);
  1457. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1458. <Window x:Class="WpfApp1.MainWindow"
  1459.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1460.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1461.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1462.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1463.         mc:Ignorable="d"
  1464.         Title="MainWindow" Height="800" Width="1200">
  1465.     <StackPanel>
  1466.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1467.                  Style="{StaticResource TouchTextBox}"/>
  1468.     </StackPanel>
  1469. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1470. <Window x:Class="WpfApp1.MainWindow"
  1471.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1472.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1473.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1474.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1475.         mc:Ignorable="d"
  1476.         Title="MainWindow" Height="800" Width="1200">
  1477.     <StackPanel>
  1478.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1479.                  Style="{StaticResource TouchTextBox}"/>
  1480.     </StackPanel>
  1481. </Window>    x:Class="WpfApp1.TouchTextBox">
  1482.    
  1483. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1484. <Window x:Class="WpfApp1.MainWindow"
  1485.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1486.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1487.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1488.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1489.         mc:Ignorable="d"
  1490.         Title="MainWindow" Height="800" Width="1200">
  1491.     <StackPanel>
  1492.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1493.                  Style="{StaticResource TouchTextBox}"/>
  1494.     </StackPanel>
  1495. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1496. <Window x:Class="WpfApp1.MainWindow"
  1497.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1498.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1499.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1500.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1501.         mc:Ignorable="d"
  1502.         Title="MainWindow" Height="800" Width="1200">
  1503.     <StackPanel>
  1504.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1505.                  Style="{StaticResource TouchTextBox}"/>
  1506.     </StackPanel>
  1507. </Window>    x:Class="WpfApp1.TouchTextBox">
  1508.    
  1509. </ResourceDictionary>bool result = keyboard.ShowDialog().Value;
  1510. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1511. <Window x:Class="WpfApp1.MainWindow"
  1512.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1513.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1514.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1515.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1516.         mc:Ignorable="d"
  1517.         Title="MainWindow" Height="800" Width="1200">
  1518.     <StackPanel>
  1519.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1520.                  Style="{StaticResource TouchTextBox}"/>
  1521.     </StackPanel>
  1522. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1523. <Window x:Class="WpfApp1.MainWindow"
  1524.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1525.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1526.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1527.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1528.         mc:Ignorable="d"
  1529.         Title="MainWindow" Height="800" Width="1200">
  1530.     <StackPanel>
  1531.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1532.                  Style="{StaticResource TouchTextBox}"/>
  1533.     </StackPanel>
  1534. </Window>    x:Class="WpfApp1.TouchTextBox">
  1535.    
  1536. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1537. <Window x:Class="WpfApp1.MainWindow"
  1538.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1539.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1540.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1541.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1542.         mc:Ignorable="d"
  1543.         Title="MainWindow" Height="800" Width="1200">
  1544.     <StackPanel>
  1545.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1546.                  Style="{StaticResource TouchTextBox}"/>
  1547.     </StackPanel>
  1548. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1549. <Window x:Class="WpfApp1.MainWindow"
  1550.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1551.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1552.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1553.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1554.         mc:Ignorable="d"
  1555.         Title="MainWindow" Height="800" Width="1200">
  1556.     <StackPanel>
  1557.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1558.                  Style="{StaticResource TouchTextBox}"/>
  1559.     </StackPanel>
  1560. </Window>    x:Class="WpfApp1.TouchTextBox">
  1561.    
  1562. </ResourceDictionary>if (result)
  1563. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1564. <Window x:Class="WpfApp1.MainWindow"
  1565.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1566.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1567.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1568.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1569.         mc:Ignorable="d"
  1570.         Title="MainWindow" Height="800" Width="1200">
  1571.     <StackPanel>
  1572.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1573.                  Style="{StaticResource TouchTextBox}"/>
  1574.     </StackPanel>
  1575. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1576. <Window x:Class="WpfApp1.MainWindow"
  1577.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1578.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1579.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1580.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1581.         mc:Ignorable="d"
  1582.         Title="MainWindow" Height="800" Width="1200">
  1583.     <StackPanel>
  1584.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1585.                  Style="{StaticResource TouchTextBox}"/>
  1586.     </StackPanel>
  1587. </Window>    x:Class="WpfApp1.TouchTextBox">
  1588.    
  1589. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1590. <Window x:Class="WpfApp1.MainWindow"
  1591.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1592.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1593.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1594.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1595.         mc:Ignorable="d"
  1596.         Title="MainWindow" Height="800" Width="1200">
  1597.     <StackPanel>
  1598.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1599.                  Style="{StaticResource TouchTextBox}"/>
  1600.     </StackPanel>
  1601. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1602. <Window x:Class="WpfApp1.MainWindow"
  1603.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1604.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1605.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1606.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1607.         mc:Ignorable="d"
  1608.         Title="MainWindow" Height="800" Width="1200">
  1609.     <StackPanel>
  1610.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1611.                  Style="{StaticResource TouchTextBox}"/>
  1612.     </StackPanel>
  1613. </Window>    x:Class="WpfApp1.TouchTextBox">
  1614.    
  1615. </ResourceDictionary>{
  1616. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1617. <Window x:Class="WpfApp1.MainWindow"
  1618.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1619.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1620.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1621.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1622.         mc:Ignorable="d"
  1623.         Title="MainWindow" Height="800" Width="1200">
  1624.     <StackPanel>
  1625.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1626.                  Style="{StaticResource TouchTextBox}"/>
  1627.     </StackPanel>
  1628. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1629. <Window x:Class="WpfApp1.MainWindow"
  1630.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1631.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1632.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1633.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1634.         mc:Ignorable="d"
  1635.         Title="MainWindow" Height="800" Width="1200">
  1636.     <StackPanel>
  1637.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1638.                  Style="{StaticResource TouchTextBox}"/>
  1639.     </StackPanel>
  1640. </Window>    x:Class="WpfApp1.TouchTextBox">
  1641.    
  1642. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1643. <Window x:Class="WpfApp1.MainWindow"
  1644.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1645.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1646.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1647.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1648.         mc:Ignorable="d"
  1649.         Title="MainWindow" Height="800" Width="1200">
  1650.     <StackPanel>
  1651.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1652.                  Style="{StaticResource TouchTextBox}"/>
  1653.     </StackPanel>
  1654. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1655. <Window x:Class="WpfApp1.MainWindow"
  1656.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1657.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1658.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1659.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1660.         mc:Ignorable="d"
  1661.         Title="MainWindow" Height="800" Width="1200">
  1662.     <StackPanel>
  1663.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1664.                  Style="{StaticResource TouchTextBox}"/>
  1665.     </StackPanel>
  1666. </Window>    x:Class="WpfApp1.TouchTextBox">
  1667.    
  1668. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1669. <Window x:Class="WpfApp1.MainWindow"
  1670.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1671.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1672.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1673.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1674.         mc:Ignorable="d"
  1675.         Title="MainWindow" Height="800" Width="1200">
  1676.     <StackPanel>
  1677.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1678.                  Style="{StaticResource TouchTextBox}"/>
  1679.     </StackPanel>
  1680. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1681. <Window x:Class="WpfApp1.MainWindow"
  1682.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1683.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1684.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1685.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1686.         mc:Ignorable="d"
  1687.         Title="MainWindow" Height="800" Width="1200">
  1688.     <StackPanel>
  1689.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1690.                  Style="{StaticResource TouchTextBox}"/>
  1691.     </StackPanel>
  1692. </Window>    x:Class="WpfApp1.TouchTextBox">
  1693.    
  1694. </ResourceDictionary>return keyboard.TextStr;
  1695. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1696. <Window x:Class="WpfApp1.MainWindow"
  1697.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1698.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1699.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1700.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1701.         mc:Ignorable="d"
  1702.         Title="MainWindow" Height="800" Width="1200">
  1703.     <StackPanel>
  1704.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1705.                  Style="{StaticResource TouchTextBox}"/>
  1706.     </StackPanel>
  1707. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1708. <Window x:Class="WpfApp1.MainWindow"
  1709.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1710.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1711.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1712.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1713.         mc:Ignorable="d"
  1714.         Title="MainWindow" Height="800" Width="1200">
  1715.     <StackPanel>
  1716.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1717.                  Style="{StaticResource TouchTextBox}"/>
  1718.     </StackPanel>
  1719. </Window>    x:Class="WpfApp1.TouchTextBox">
  1720.    
  1721. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1722. <Window x:Class="WpfApp1.MainWindow"
  1723.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1724.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1725.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1726.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1727.         mc:Ignorable="d"
  1728.         Title="MainWindow" Height="800" Width="1200">
  1729.     <StackPanel>
  1730.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1731.                  Style="{StaticResource TouchTextBox}"/>
  1732.     </StackPanel>
  1733. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1734. <Window x:Class="WpfApp1.MainWindow"
  1735.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1736.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1737.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1738.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1739.         mc:Ignorable="d"
  1740.         Title="MainWindow" Height="800" Width="1200">
  1741.     <StackPanel>
  1742.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1743.                  Style="{StaticResource TouchTextBox}"/>
  1744.     </StackPanel>
  1745. </Window>    x:Class="WpfApp1.TouchTextBox">
  1746.    
  1747. </ResourceDictionary>}
  1748. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1749. <Window x:Class="WpfApp1.MainWindow"
  1750.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1751.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1752.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1753.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1754.         mc:Ignorable="d"
  1755.         Title="MainWindow" Height="800" Width="1200">
  1756.     <StackPanel>
  1757.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1758.                  Style="{StaticResource TouchTextBox}"/>
  1759.     </StackPanel>
  1760. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1761. <Window x:Class="WpfApp1.MainWindow"
  1762.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1763.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1764.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1765.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1766.         mc:Ignorable="d"
  1767.         Title="MainWindow" Height="800" Width="1200">
  1768.     <StackPanel>
  1769.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1770.                  Style="{StaticResource TouchTextBox}"/>
  1771.     </StackPanel>
  1772. </Window>    x:Class="WpfApp1.TouchTextBox">
  1773.    
  1774. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1775. <Window x:Class="WpfApp1.MainWindow"
  1776.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1777.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1778.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1779.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1780.         mc:Ignorable="d"
  1781.         Title="MainWindow" Height="800" Width="1200">
  1782.     <StackPanel>
  1783.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1784.                  Style="{StaticResource TouchTextBox}"/>
  1785.     </StackPanel>
  1786. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1787. <Window x:Class="WpfApp1.MainWindow"
  1788.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1789.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1790.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1791.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1792.         mc:Ignorable="d"
  1793.         Title="MainWindow" Height="800" Width="1200">
  1794.     <StackPanel>
  1795.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1796.                  Style="{StaticResource TouchTextBox}"/>
  1797.     </StackPanel>
  1798. </Window>    x:Class="WpfApp1.TouchTextBox">
  1799.    
  1800. </ResourceDictionary>else
  1801. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1802. <Window x:Class="WpfApp1.MainWindow"
  1803.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1804.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1805.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1806.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1807.         mc:Ignorable="d"
  1808.         Title="MainWindow" Height="800" Width="1200">
  1809.     <StackPanel>
  1810.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1811.                  Style="{StaticResource TouchTextBox}"/>
  1812.     </StackPanel>
  1813. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1814. <Window x:Class="WpfApp1.MainWindow"
  1815.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1816.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1817.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1818.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1819.         mc:Ignorable="d"
  1820.         Title="MainWindow" Height="800" Width="1200">
  1821.     <StackPanel>
  1822.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1823.                  Style="{StaticResource TouchTextBox}"/>
  1824.     </StackPanel>
  1825. </Window>    x:Class="WpfApp1.TouchTextBox">
  1826.    
  1827. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1828. <Window x:Class="WpfApp1.MainWindow"
  1829.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1830.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1831.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1832.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1833.         mc:Ignorable="d"
  1834.         Title="MainWindow" Height="800" Width="1200">
  1835.     <StackPanel>
  1836.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1837.                  Style="{StaticResource TouchTextBox}"/>
  1838.     </StackPanel>
  1839. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1840. <Window x:Class="WpfApp1.MainWindow"
  1841.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1842.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1843.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1844.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1845.         mc:Ignorable="d"
  1846.         Title="MainWindow" Height="800" Width="1200">
  1847.     <StackPanel>
  1848.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1849.                  Style="{StaticResource TouchTextBox}"/>
  1850.     </StackPanel>
  1851. </Window>    x:Class="WpfApp1.TouchTextBox">
  1852.    
  1853. </ResourceDictionary>{
  1854. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1855. <Window x:Class="WpfApp1.MainWindow"
  1856.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1857.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1858.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1859.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1860.         mc:Ignorable="d"
  1861.         Title="MainWindow" Height="800" Width="1200">
  1862.     <StackPanel>
  1863.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1864.                  Style="{StaticResource TouchTextBox}"/>
  1865.     </StackPanel>
  1866. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1867. <Window x:Class="WpfApp1.MainWindow"
  1868.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1869.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1870.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1871.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1872.         mc:Ignorable="d"
  1873.         Title="MainWindow" Height="800" Width="1200">
  1874.     <StackPanel>
  1875.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1876.                  Style="{StaticResource TouchTextBox}"/>
  1877.     </StackPanel>
  1878. </Window>    x:Class="WpfApp1.TouchTextBox">
  1879.    
  1880. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1881. <Window x:Class="WpfApp1.MainWindow"
  1882.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1883.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1884.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1885.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1886.         mc:Ignorable="d"
  1887.         Title="MainWindow" Height="800" Width="1200">
  1888.     <StackPanel>
  1889.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1890.                  Style="{StaticResource TouchTextBox}"/>
  1891.     </StackPanel>
  1892. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1893. <Window x:Class="WpfApp1.MainWindow"
  1894.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1895.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1896.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1897.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1898.         mc:Ignorable="d"
  1899.         Title="MainWindow" Height="800" Width="1200">
  1900.     <StackPanel>
  1901.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1902.                  Style="{StaticResource TouchTextBox}"/>
  1903.     </StackPanel>
  1904. </Window>    x:Class="WpfApp1.TouchTextBox">
  1905.    
  1906. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1907. <Window x:Class="WpfApp1.MainWindow"
  1908.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1909.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1910.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1911.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1912.         mc:Ignorable="d"
  1913.         Title="MainWindow" Height="800" Width="1200">
  1914.     <StackPanel>
  1915.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1916.                  Style="{StaticResource TouchTextBox}"/>
  1917.     </StackPanel>
  1918. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1919. <Window x:Class="WpfApp1.MainWindow"
  1920.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1921.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1922.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1923.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1924.         mc:Ignorable="d"
  1925.         Title="MainWindow" Height="800" Width="1200">
  1926.     <StackPanel>
  1927.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1928.                  Style="{StaticResource TouchTextBox}"/>
  1929.     </StackPanel>
  1930. </Window>    x:Class="WpfApp1.TouchTextBox">
  1931.    
  1932. </ResourceDictionary>return string.Empty;
  1933. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1934. <Window x:Class="WpfApp1.MainWindow"
  1935.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1936.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1937.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1938.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1939.         mc:Ignorable="d"
  1940.         Title="MainWindow" Height="800" Width="1200">
  1941.     <StackPanel>
  1942.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1943.                  Style="{StaticResource TouchTextBox}"/>
  1944.     </StackPanel>
  1945. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1946. <Window x:Class="WpfApp1.MainWindow"
  1947.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1948.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1949.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1950.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1951.         mc:Ignorable="d"
  1952.         Title="MainWindow" Height="800" Width="1200">
  1953.     <StackPanel>
  1954.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1955.                  Style="{StaticResource TouchTextBox}"/>
  1956.     </StackPanel>
  1957. </Window>    x:Class="WpfApp1.TouchTextBox">
  1958.    
  1959. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1960. <Window x:Class="WpfApp1.MainWindow"
  1961.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1962.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1963.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1964.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1965.         mc:Ignorable="d"
  1966.         Title="MainWindow" Height="800" Width="1200">
  1967.     <StackPanel>
  1968.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1969.                  Style="{StaticResource TouchTextBox}"/>
  1970.     </StackPanel>
  1971. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1972. <Window x:Class="WpfApp1.MainWindow"
  1973.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1974.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1975.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1976.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1977.         mc:Ignorable="d"
  1978.         Title="MainWindow" Height="800" Width="1200">
  1979.     <StackPanel>
  1980.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1981.                  Style="{StaticResource TouchTextBox}"/>
  1982.     </StackPanel>
  1983. </Window>    x:Class="WpfApp1.TouchTextBox">
  1984.    
  1985. </ResourceDictionary>}
  1986. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1987. <Window x:Class="WpfApp1.MainWindow"
  1988.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  1989.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1990.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  1991.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  1992.         mc:Ignorable="d"
  1993.         Title="MainWindow" Height="800" Width="1200">
  1994.     <StackPanel>
  1995.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  1996.                  Style="{StaticResource TouchTextBox}"/>
  1997.     </StackPanel>
  1998. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  1999. <Window x:Class="WpfApp1.MainWindow"
  2000.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2001.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2002.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2003.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2004.         mc:Ignorable="d"
  2005.         Title="MainWindow" Height="800" Width="1200">
  2006.     <StackPanel>
  2007.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2008.                  Style="{StaticResource TouchTextBox}"/>
  2009.     </StackPanel>
  2010. </Window>    x:Class="WpfApp1.TouchTextBox">
  2011.    
  2012. </ResourceDictionary>}
  2013. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2014. <Window x:Class="WpfApp1.MainWindow"
  2015.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2016.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2017.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2018.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2019.         mc:Ignorable="d"
  2020.         Title="MainWindow" Height="800" Width="1200">
  2021.     <StackPanel>
  2022.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2023.                  Style="{StaticResource TouchTextBox}"/>
  2024.     </StackPanel>
  2025. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2026. <Window x:Class="WpfApp1.MainWindow"
  2027.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2028.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2029.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2030.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2031.         mc:Ignorable="d"
  2032.         Title="MainWindow" Height="800" Width="1200">
  2033.     <StackPanel>
  2034.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2035.                  Style="{StaticResource TouchTextBox}"/>
  2036.     </StackPanel>
  2037. </Window>    x:Class="WpfApp1.TouchTextBox">
  2038.    
  2039. </ResourceDictionary>private void SetPosition(Window window)
  2040. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2041. <Window x:Class="WpfApp1.MainWindow"
  2042.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2043.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2044.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2045.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2046.         mc:Ignorable="d"
  2047.         Title="MainWindow" Height="800" Width="1200">
  2048.     <StackPanel>
  2049.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2050.                  Style="{StaticResource TouchTextBox}"/>
  2051.     </StackPanel>
  2052. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2053. <Window x:Class="WpfApp1.MainWindow"
  2054.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2055.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2056.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2057.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2058.         mc:Ignorable="d"
  2059.         Title="MainWindow" Height="800" Width="1200">
  2060.     <StackPanel>
  2061.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2062.                  Style="{StaticResource TouchTextBox}"/>
  2063.     </StackPanel>
  2064. </Window>    x:Class="WpfApp1.TouchTextBox">
  2065.    
  2066. </ResourceDictionary>{
  2067. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2068. <Window x:Class="WpfApp1.MainWindow"
  2069.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2070.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2071.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2072.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2073.         mc:Ignorable="d"
  2074.         Title="MainWindow" Height="800" Width="1200">
  2075.     <StackPanel>
  2076.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2077.                  Style="{StaticResource TouchTextBox}"/>
  2078.     </StackPanel>
  2079. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2080. <Window x:Class="WpfApp1.MainWindow"
  2081.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2082.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2083.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2084.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2085.         mc:Ignorable="d"
  2086.         Title="MainWindow" Height="800" Width="1200">
  2087.     <StackPanel>
  2088.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2089.                  Style="{StaticResource TouchTextBox}"/>
  2090.     </StackPanel>
  2091. </Window>    x:Class="WpfApp1.TouchTextBox">
  2092.    
  2093. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2094. <Window x:Class="WpfApp1.MainWindow"
  2095.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2096.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2097.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2098.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2099.         mc:Ignorable="d"
  2100.         Title="MainWindow" Height="800" Width="1200">
  2101.     <StackPanel>
  2102.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2103.                  Style="{StaticResource TouchTextBox}"/>
  2104.     </StackPanel>
  2105. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2106. <Window x:Class="WpfApp1.MainWindow"
  2107.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2108.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2109.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2110.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2111.         mc:Ignorable="d"
  2112.         Title="MainWindow" Height="800" Width="1200">
  2113.     <StackPanel>
  2114.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2115.                  Style="{StaticResource TouchTextBox}"/>
  2116.     </StackPanel>
  2117. </Window>    x:Class="WpfApp1.TouchTextBox">
  2118.    
  2119. </ResourceDictionary>Point point = hostControl.PointFromScreen(new Point(0.0, 0.0));
  2120. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2121. <Window x:Class="WpfApp1.MainWindow"
  2122.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2123.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2124.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2125.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2126.         mc:Ignorable="d"
  2127.         Title="MainWindow" Height="800" Width="1200">
  2128.     <StackPanel>
  2129.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2130.                  Style="{StaticResource TouchTextBox}"/>
  2131.     </StackPanel>
  2132. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2133. <Window x:Class="WpfApp1.MainWindow"
  2134.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2135.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2136.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2137.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2138.         mc:Ignorable="d"
  2139.         Title="MainWindow" Height="800" Width="1200">
  2140.     <StackPanel>
  2141.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2142.                  Style="{StaticResource TouchTextBox}"/>
  2143.     </StackPanel>
  2144. </Window>    x:Class="WpfApp1.TouchTextBox">
  2145.    
  2146. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2147. <Window x:Class="WpfApp1.MainWindow"
  2148.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2149.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2150.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2151.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2152.         mc:Ignorable="d"
  2153.         Title="MainWindow" Height="800" Width="1200">
  2154.     <StackPanel>
  2155.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2156.                  Style="{StaticResource TouchTextBox}"/>
  2157.     </StackPanel>
  2158. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2159. <Window x:Class="WpfApp1.MainWindow"
  2160.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2161.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2162.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2163.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2164.         mc:Ignorable="d"
  2165.         Title="MainWindow" Height="800" Width="1200">
  2166.     <StackPanel>
  2167.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2168.                  Style="{StaticResource TouchTextBox}"/>
  2169.     </StackPanel>
  2170. </Window>    x:Class="WpfApp1.TouchTextBox">
  2171.    
  2172. </ResourceDictionary>double width = SystemParameters.WorkArea.Width;
  2173. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2174. <Window x:Class="WpfApp1.MainWindow"
  2175.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2176.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2177.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2178.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2179.         mc:Ignorable="d"
  2180.         Title="MainWindow" Height="800" Width="1200">
  2181.     <StackPanel>
  2182.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2183.                  Style="{StaticResource TouchTextBox}"/>
  2184.     </StackPanel>
  2185. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2186. <Window x:Class="WpfApp1.MainWindow"
  2187.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2188.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2189.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2190.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2191.         mc:Ignorable="d"
  2192.         Title="MainWindow" Height="800" Width="1200">
  2193.     <StackPanel>
  2194.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2195.                  Style="{StaticResource TouchTextBox}"/>
  2196.     </StackPanel>
  2197. </Window>    x:Class="WpfApp1.TouchTextBox">
  2198.    
  2199. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2200. <Window x:Class="WpfApp1.MainWindow"
  2201.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2202.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2203.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2204.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2205.         mc:Ignorable="d"
  2206.         Title="MainWindow" Height="800" Width="1200">
  2207.     <StackPanel>
  2208.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2209.                  Style="{StaticResource TouchTextBox}"/>
  2210.     </StackPanel>
  2211. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2212. <Window x:Class="WpfApp1.MainWindow"
  2213.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2214.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2215.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2216.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2217.         mc:Ignorable="d"
  2218.         Title="MainWindow" Height="800" Width="1200">
  2219.     <StackPanel>
  2220.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2221.                  Style="{StaticResource TouchTextBox}"/>
  2222.     </StackPanel>
  2223. </Window>    x:Class="WpfApp1.TouchTextBox">
  2224.    
  2225. </ResourceDictionary>double height = SystemParameters.WorkArea.Height;
  2226. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2227. <Window x:Class="WpfApp1.MainWindow"
  2228.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2229.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2230.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2231.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2232.         mc:Ignorable="d"
  2233.         Title="MainWindow" Height="800" Width="1200">
  2234.     <StackPanel>
  2235.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2236.                  Style="{StaticResource TouchTextBox}"/>
  2237.     </StackPanel>
  2238. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2239. <Window x:Class="WpfApp1.MainWindow"
  2240.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2241.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2242.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2243.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2244.         mc:Ignorable="d"
  2245.         Title="MainWindow" Height="800" Width="1200">
  2246.     <StackPanel>
  2247.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2248.                  Style="{StaticResource TouchTextBox}"/>
  2249.     </StackPanel>
  2250. </Window>    x:Class="WpfApp1.TouchTextBox">
  2251.    
  2252. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2253. <Window x:Class="WpfApp1.MainWindow"
  2254.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2255.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2256.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2257.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2258.         mc:Ignorable="d"
  2259.         Title="MainWindow" Height="800" Width="1200">
  2260.     <StackPanel>
  2261.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2262.                  Style="{StaticResource TouchTextBox}"/>
  2263.     </StackPanel>
  2264. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2265. <Window x:Class="WpfApp1.MainWindow"
  2266.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2267.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2268.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2269.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2270.         mc:Ignorable="d"
  2271.         Title="MainWindow" Height="800" Width="1200">
  2272.     <StackPanel>
  2273.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2274.                  Style="{StaticResource TouchTextBox}"/>
  2275.     </StackPanel>
  2276. </Window>    x:Class="WpfApp1.TouchTextBox">
  2277.    
  2278. </ResourceDictionary>if (-point.Y + hostControl.ActualHeight + 5.0 + window.Height < height)
  2279. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2280. <Window x:Class="WpfApp1.MainWindow"
  2281.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2282.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2283.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2284.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2285.         mc:Ignorable="d"
  2286.         Title="MainWindow" Height="800" Width="1200">
  2287.     <StackPanel>
  2288.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2289.                  Style="{StaticResource TouchTextBox}"/>
  2290.     </StackPanel>
  2291. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2292. <Window x:Class="WpfApp1.MainWindow"
  2293.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2294.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2295.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2296.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2297.         mc:Ignorable="d"
  2298.         Title="MainWindow" Height="800" Width="1200">
  2299.     <StackPanel>
  2300.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2301.                  Style="{StaticResource TouchTextBox}"/>
  2302.     </StackPanel>
  2303. </Window>    x:Class="WpfApp1.TouchTextBox">
  2304.    
  2305. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2306. <Window x:Class="WpfApp1.MainWindow"
  2307.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2308.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2309.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2310.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2311.         mc:Ignorable="d"
  2312.         Title="MainWindow" Height="800" Width="1200">
  2313.     <StackPanel>
  2314.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2315.                  Style="{StaticResource TouchTextBox}"/>
  2316.     </StackPanel>
  2317. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2318. <Window x:Class="WpfApp1.MainWindow"
  2319.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2320.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2321.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2322.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2323.         mc:Ignorable="d"
  2324.         Title="MainWindow" Height="800" Width="1200">
  2325.     <StackPanel>
  2326.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2327.                  Style="{StaticResource TouchTextBox}"/>
  2328.     </StackPanel>
  2329. </Window>    x:Class="WpfApp1.TouchTextBox">
  2330.    
  2331. </ResourceDictionary>{
  2332. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2333. <Window x:Class="WpfApp1.MainWindow"
  2334.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2335.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2336.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2337.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2338.         mc:Ignorable="d"
  2339.         Title="MainWindow" Height="800" Width="1200">
  2340.     <StackPanel>
  2341.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2342.                  Style="{StaticResource TouchTextBox}"/>
  2343.     </StackPanel>
  2344. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2345. <Window x:Class="WpfApp1.MainWindow"
  2346.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2347.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2348.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2349.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2350.         mc:Ignorable="d"
  2351.         Title="MainWindow" Height="800" Width="1200">
  2352.     <StackPanel>
  2353.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2354.                  Style="{StaticResource TouchTextBox}"/>
  2355.     </StackPanel>
  2356. </Window>    x:Class="WpfApp1.TouchTextBox">
  2357.    
  2358. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2359. <Window x:Class="WpfApp1.MainWindow"
  2360.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2361.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2362.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2363.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2364.         mc:Ignorable="d"
  2365.         Title="MainWindow" Height="800" Width="1200">
  2366.     <StackPanel>
  2367.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2368.                  Style="{StaticResource TouchTextBox}"/>
  2369.     </StackPanel>
  2370. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2371. <Window x:Class="WpfApp1.MainWindow"
  2372.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2373.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2374.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2375.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2376.         mc:Ignorable="d"
  2377.         Title="MainWindow" Height="800" Width="1200">
  2378.     <StackPanel>
  2379.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2380.                  Style="{StaticResource TouchTextBox}"/>
  2381.     </StackPanel>
  2382. </Window>    x:Class="WpfApp1.TouchTextBox">
  2383.    
  2384. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2385. <Window x:Class="WpfApp1.MainWindow"
  2386.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2387.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2388.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2389.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2390.         mc:Ignorable="d"
  2391.         Title="MainWindow" Height="800" Width="1200">
  2392.     <StackPanel>
  2393.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2394.                  Style="{StaticResource TouchTextBox}"/>
  2395.     </StackPanel>
  2396. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2397. <Window x:Class="WpfApp1.MainWindow"
  2398.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2399.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2400.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2401.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2402.         mc:Ignorable="d"
  2403.         Title="MainWindow" Height="800" Width="1200">
  2404.     <StackPanel>
  2405.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2406.                  Style="{StaticResource TouchTextBox}"/>
  2407.     </StackPanel>
  2408. </Window>    x:Class="WpfApp1.TouchTextBox">
  2409.    
  2410. </ResourceDictionary>window.Top = -point.Y + hostControl.ActualHeight + 5.0;
  2411. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2412. <Window x:Class="WpfApp1.MainWindow"
  2413.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2414.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2415.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2416.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2417.         mc:Ignorable="d"
  2418.         Title="MainWindow" Height="800" Width="1200">
  2419.     <StackPanel>
  2420.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2421.                  Style="{StaticResource TouchTextBox}"/>
  2422.     </StackPanel>
  2423. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2424. <Window x:Class="WpfApp1.MainWindow"
  2425.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2426.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2427.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2428.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2429.         mc:Ignorable="d"
  2430.         Title="MainWindow" Height="800" Width="1200">
  2431.     <StackPanel>
  2432.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2433.                  Style="{StaticResource TouchTextBox}"/>
  2434.     </StackPanel>
  2435. </Window>    x:Class="WpfApp1.TouchTextBox">
  2436.    
  2437. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2438. <Window x:Class="WpfApp1.MainWindow"
  2439.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2440.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2441.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2442.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2443.         mc:Ignorable="d"
  2444.         Title="MainWindow" Height="800" Width="1200">
  2445.     <StackPanel>
  2446.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2447.                  Style="{StaticResource TouchTextBox}"/>
  2448.     </StackPanel>
  2449. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2450. <Window x:Class="WpfApp1.MainWindow"
  2451.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2452.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2453.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2454.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2455.         mc:Ignorable="d"
  2456.         Title="MainWindow" Height="800" Width="1200">
  2457.     <StackPanel>
  2458.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2459.                  Style="{StaticResource TouchTextBox}"/>
  2460.     </StackPanel>
  2461. </Window>    x:Class="WpfApp1.TouchTextBox">
  2462.    
  2463. </ResourceDictionary>}
  2464. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2465. <Window x:Class="WpfApp1.MainWindow"
  2466.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2467.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2468.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2469.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2470.         mc:Ignorable="d"
  2471.         Title="MainWindow" Height="800" Width="1200">
  2472.     <StackPanel>
  2473.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2474.                  Style="{StaticResource TouchTextBox}"/>
  2475.     </StackPanel>
  2476. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2477. <Window x:Class="WpfApp1.MainWindow"
  2478.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2479.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2480.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2481.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2482.         mc:Ignorable="d"
  2483.         Title="MainWindow" Height="800" Width="1200">
  2484.     <StackPanel>
  2485.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2486.                  Style="{StaticResource TouchTextBox}"/>
  2487.     </StackPanel>
  2488. </Window>    x:Class="WpfApp1.TouchTextBox">
  2489.    
  2490. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2491. <Window x:Class="WpfApp1.MainWindow"
  2492.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2493.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2494.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2495.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2496.         mc:Ignorable="d"
  2497.         Title="MainWindow" Height="800" Width="1200">
  2498.     <StackPanel>
  2499.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2500.                  Style="{StaticResource TouchTextBox}"/>
  2501.     </StackPanel>
  2502. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2503. <Window x:Class="WpfApp1.MainWindow"
  2504.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2505.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2506.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2507.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2508.         mc:Ignorable="d"
  2509.         Title="MainWindow" Height="800" Width="1200">
  2510.     <StackPanel>
  2511.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2512.                  Style="{StaticResource TouchTextBox}"/>
  2513.     </StackPanel>
  2514. </Window>    x:Class="WpfApp1.TouchTextBox">
  2515.    
  2516. </ResourceDictionary>else
  2517. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2518. <Window x:Class="WpfApp1.MainWindow"
  2519.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2520.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2521.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2522.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2523.         mc:Ignorable="d"
  2524.         Title="MainWindow" Height="800" Width="1200">
  2525.     <StackPanel>
  2526.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2527.                  Style="{StaticResource TouchTextBox}"/>
  2528.     </StackPanel>
  2529. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2530. <Window x:Class="WpfApp1.MainWindow"
  2531.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2532.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2533.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2534.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2535.         mc:Ignorable="d"
  2536.         Title="MainWindow" Height="800" Width="1200">
  2537.     <StackPanel>
  2538.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2539.                  Style="{StaticResource TouchTextBox}"/>
  2540.     </StackPanel>
  2541. </Window>    x:Class="WpfApp1.TouchTextBox">
  2542.    
  2543. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2544. <Window x:Class="WpfApp1.MainWindow"
  2545.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2546.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2547.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2548.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2549.         mc:Ignorable="d"
  2550.         Title="MainWindow" Height="800" Width="1200">
  2551.     <StackPanel>
  2552.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2553.                  Style="{StaticResource TouchTextBox}"/>
  2554.     </StackPanel>
  2555. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2556. <Window x:Class="WpfApp1.MainWindow"
  2557.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2558.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2559.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2560.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2561.         mc:Ignorable="d"
  2562.         Title="MainWindow" Height="800" Width="1200">
  2563.     <StackPanel>
  2564.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2565.                  Style="{StaticResource TouchTextBox}"/>
  2566.     </StackPanel>
  2567. </Window>    x:Class="WpfApp1.TouchTextBox">
  2568.    
  2569. </ResourceDictionary>{
  2570. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2571. <Window x:Class="WpfApp1.MainWindow"
  2572.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2573.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2574.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2575.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2576.         mc:Ignorable="d"
  2577.         Title="MainWindow" Height="800" Width="1200">
  2578.     <StackPanel>
  2579.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2580.                  Style="{StaticResource TouchTextBox}"/>
  2581.     </StackPanel>
  2582. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2583. <Window x:Class="WpfApp1.MainWindow"
  2584.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2585.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2586.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2587.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2588.         mc:Ignorable="d"
  2589.         Title="MainWindow" Height="800" Width="1200">
  2590.     <StackPanel>
  2591.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2592.                  Style="{StaticResource TouchTextBox}"/>
  2593.     </StackPanel>
  2594. </Window>    x:Class="WpfApp1.TouchTextBox">
  2595.    
  2596. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2597. <Window x:Class="WpfApp1.MainWindow"
  2598.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2599.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2600.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2601.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2602.         mc:Ignorable="d"
  2603.         Title="MainWindow" Height="800" Width="1200">
  2604.     <StackPanel>
  2605.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2606.                  Style="{StaticResource TouchTextBox}"/>
  2607.     </StackPanel>
  2608. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2609. <Window x:Class="WpfApp1.MainWindow"
  2610.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2611.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2612.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2613.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2614.         mc:Ignorable="d"
  2615.         Title="MainWindow" Height="800" Width="1200">
  2616.     <StackPanel>
  2617.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2618.                  Style="{StaticResource TouchTextBox}"/>
  2619.     </StackPanel>
  2620. </Window>    x:Class="WpfApp1.TouchTextBox">
  2621.    
  2622. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2623. <Window x:Class="WpfApp1.MainWindow"
  2624.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2625.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2626.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2627.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2628.         mc:Ignorable="d"
  2629.         Title="MainWindow" Height="800" Width="1200">
  2630.     <StackPanel>
  2631.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2632.                  Style="{StaticResource TouchTextBox}"/>
  2633.     </StackPanel>
  2634. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2635. <Window x:Class="WpfApp1.MainWindow"
  2636.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2637.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2638.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2639.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2640.         mc:Ignorable="d"
  2641.         Title="MainWindow" Height="800" Width="1200">
  2642.     <StackPanel>
  2643.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2644.                  Style="{StaticResource TouchTextBox}"/>
  2645.     </StackPanel>
  2646. </Window>    x:Class="WpfApp1.TouchTextBox">
  2647.    
  2648. </ResourceDictionary>window.Top = -point.Y - window.Height - 5.0;
  2649. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2650. <Window x:Class="WpfApp1.MainWindow"
  2651.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2652.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2653.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2654.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2655.         mc:Ignorable="d"
  2656.         Title="MainWindow" Height="800" Width="1200">
  2657.     <StackPanel>
  2658.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2659.                  Style="{StaticResource TouchTextBox}"/>
  2660.     </StackPanel>
  2661. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2662. <Window x:Class="WpfApp1.MainWindow"
  2663.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2664.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2665.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2666.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2667.         mc:Ignorable="d"
  2668.         Title="MainWindow" Height="800" Width="1200">
  2669.     <StackPanel>
  2670.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2671.                  Style="{StaticResource TouchTextBox}"/>
  2672.     </StackPanel>
  2673. </Window>    x:Class="WpfApp1.TouchTextBox">
  2674.    
  2675. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2676. <Window x:Class="WpfApp1.MainWindow"
  2677.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2678.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2679.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2680.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2681.         mc:Ignorable="d"
  2682.         Title="MainWindow" Height="800" Width="1200">
  2683.     <StackPanel>
  2684.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2685.                  Style="{StaticResource TouchTextBox}"/>
  2686.     </StackPanel>
  2687. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2688. <Window x:Class="WpfApp1.MainWindow"
  2689.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2690.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2691.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2692.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2693.         mc:Ignorable="d"
  2694.         Title="MainWindow" Height="800" Width="1200">
  2695.     <StackPanel>
  2696.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2697.                  Style="{StaticResource TouchTextBox}"/>
  2698.     </StackPanel>
  2699. </Window>    x:Class="WpfApp1.TouchTextBox">
  2700.    
  2701. </ResourceDictionary>}
  2702. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2703. <Window x:Class="WpfApp1.MainWindow"
  2704.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2705.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2706.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2707.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2708.         mc:Ignorable="d"
  2709.         Title="MainWindow" Height="800" Width="1200">
  2710.     <StackPanel>
  2711.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2712.                  Style="{StaticResource TouchTextBox}"/>
  2713.     </StackPanel>
  2714. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2715. <Window x:Class="WpfApp1.MainWindow"
  2716.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2717.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2718.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2719.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2720.         mc:Ignorable="d"
  2721.         Title="MainWindow" Height="800" Width="1200">
  2722.     <StackPanel>
  2723.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2724.                  Style="{StaticResource TouchTextBox}"/>
  2725.     </StackPanel>
  2726. </Window>    x:Class="WpfApp1.TouchTextBox">
  2727.    
  2728. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2729. <Window x:Class="WpfApp1.MainWindow"
  2730.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2731.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2732.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2733.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2734.         mc:Ignorable="d"
  2735.         Title="MainWindow" Height="800" Width="1200">
  2736.     <StackPanel>
  2737.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2738.                  Style="{StaticResource TouchTextBox}"/>
  2739.     </StackPanel>
  2740. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2741. <Window x:Class="WpfApp1.MainWindow"
  2742.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2743.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2744.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2745.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2746.         mc:Ignorable="d"
  2747.         Title="MainWindow" Height="800" Width="1200">
  2748.     <StackPanel>
  2749.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2750.                  Style="{StaticResource TouchTextBox}"/>
  2751.     </StackPanel>
  2752. </Window>    x:Class="WpfApp1.TouchTextBox">
  2753.    
  2754. </ResourceDictionary>if (-point.X + window.Width < width)
  2755. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2756. <Window x:Class="WpfApp1.MainWindow"
  2757.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2758.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2759.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2760.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2761.         mc:Ignorable="d"
  2762.         Title="MainWindow" Height="800" Width="1200">
  2763.     <StackPanel>
  2764.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2765.                  Style="{StaticResource TouchTextBox}"/>
  2766.     </StackPanel>
  2767. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2768. <Window x:Class="WpfApp1.MainWindow"
  2769.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2770.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2771.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2772.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2773.         mc:Ignorable="d"
  2774.         Title="MainWindow" Height="800" Width="1200">
  2775.     <StackPanel>
  2776.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2777.                  Style="{StaticResource TouchTextBox}"/>
  2778.     </StackPanel>
  2779. </Window>    x:Class="WpfApp1.TouchTextBox">
  2780.    
  2781. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2782. <Window x:Class="WpfApp1.MainWindow"
  2783.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2784.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2785.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2786.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2787.         mc:Ignorable="d"
  2788.         Title="MainWindow" Height="800" Width="1200">
  2789.     <StackPanel>
  2790.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2791.                  Style="{StaticResource TouchTextBox}"/>
  2792.     </StackPanel>
  2793. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2794. <Window x:Class="WpfApp1.MainWindow"
  2795.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2796.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2797.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2798.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2799.         mc:Ignorable="d"
  2800.         Title="MainWindow" Height="800" Width="1200">
  2801.     <StackPanel>
  2802.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2803.                  Style="{StaticResource TouchTextBox}"/>
  2804.     </StackPanel>
  2805. </Window>    x:Class="WpfApp1.TouchTextBox">
  2806.    
  2807. </ResourceDictionary>{
  2808. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2809. <Window x:Class="WpfApp1.MainWindow"
  2810.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2811.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2812.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2813.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2814.         mc:Ignorable="d"
  2815.         Title="MainWindow" Height="800" Width="1200">
  2816.     <StackPanel>
  2817.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2818.                  Style="{StaticResource TouchTextBox}"/>
  2819.     </StackPanel>
  2820. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2821. <Window x:Class="WpfApp1.MainWindow"
  2822.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2823.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2824.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2825.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2826.         mc:Ignorable="d"
  2827.         Title="MainWindow" Height="800" Width="1200">
  2828.     <StackPanel>
  2829.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2830.                  Style="{StaticResource TouchTextBox}"/>
  2831.     </StackPanel>
  2832. </Window>    x:Class="WpfApp1.TouchTextBox">
  2833.    
  2834. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2835. <Window x:Class="WpfApp1.MainWindow"
  2836.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2837.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2838.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2839.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2840.         mc:Ignorable="d"
  2841.         Title="MainWindow" Height="800" Width="1200">
  2842.     <StackPanel>
  2843.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2844.                  Style="{StaticResource TouchTextBox}"/>
  2845.     </StackPanel>
  2846. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2847. <Window x:Class="WpfApp1.MainWindow"
  2848.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2849.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2850.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2851.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2852.         mc:Ignorable="d"
  2853.         Title="MainWindow" Height="800" Width="1200">
  2854.     <StackPanel>
  2855.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2856.                  Style="{StaticResource TouchTextBox}"/>
  2857.     </StackPanel>
  2858. </Window>    x:Class="WpfApp1.TouchTextBox">
  2859.    
  2860. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2861. <Window x:Class="WpfApp1.MainWindow"
  2862.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2863.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2864.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2865.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2866.         mc:Ignorable="d"
  2867.         Title="MainWindow" Height="800" Width="1200">
  2868.     <StackPanel>
  2869.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2870.                  Style="{StaticResource TouchTextBox}"/>
  2871.     </StackPanel>
  2872. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2873. <Window x:Class="WpfApp1.MainWindow"
  2874.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2875.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2876.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2877.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2878.         mc:Ignorable="d"
  2879.         Title="MainWindow" Height="800" Width="1200">
  2880.     <StackPanel>
  2881.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2882.                  Style="{StaticResource TouchTextBox}"/>
  2883.     </StackPanel>
  2884. </Window>    x:Class="WpfApp1.TouchTextBox">
  2885.    
  2886. </ResourceDictionary>window.Left = -point.X;
  2887. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2888. <Window x:Class="WpfApp1.MainWindow"
  2889.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2890.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2891.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2892.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2893.         mc:Ignorable="d"
  2894.         Title="MainWindow" Height="800" Width="1200">
  2895.     <StackPanel>
  2896.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2897.                  Style="{StaticResource TouchTextBox}"/>
  2898.     </StackPanel>
  2899. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2900. <Window x:Class="WpfApp1.MainWindow"
  2901.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2902.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2903.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2904.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2905.         mc:Ignorable="d"
  2906.         Title="MainWindow" Height="800" Width="1200">
  2907.     <StackPanel>
  2908.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2909.                  Style="{StaticResource TouchTextBox}"/>
  2910.     </StackPanel>
  2911. </Window>    x:Class="WpfApp1.TouchTextBox">
  2912.    
  2913. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2914. <Window x:Class="WpfApp1.MainWindow"
  2915.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2916.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2917.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2918.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2919.         mc:Ignorable="d"
  2920.         Title="MainWindow" Height="800" Width="1200">
  2921.     <StackPanel>
  2922.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2923.                  Style="{StaticResource TouchTextBox}"/>
  2924.     </StackPanel>
  2925. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2926. <Window x:Class="WpfApp1.MainWindow"
  2927.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2928.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2929.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2930.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2931.         mc:Ignorable="d"
  2932.         Title="MainWindow" Height="800" Width="1200">
  2933.     <StackPanel>
  2934.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2935.                  Style="{StaticResource TouchTextBox}"/>
  2936.     </StackPanel>
  2937. </Window>    x:Class="WpfApp1.TouchTextBox">
  2938.    
  2939. </ResourceDictionary>}
  2940. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2941. <Window x:Class="WpfApp1.MainWindow"
  2942.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2943.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2944.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2945.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2946.         mc:Ignorable="d"
  2947.         Title="MainWindow" Height="800" Width="1200">
  2948.     <StackPanel>
  2949.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2950.                  Style="{StaticResource TouchTextBox}"/>
  2951.     </StackPanel>
  2952. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2953. <Window x:Class="WpfApp1.MainWindow"
  2954.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2955.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2956.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2957.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2958.         mc:Ignorable="d"
  2959.         Title="MainWindow" Height="800" Width="1200">
  2960.     <StackPanel>
  2961.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2962.                  Style="{StaticResource TouchTextBox}"/>
  2963.     </StackPanel>
  2964. </Window>    x:Class="WpfApp1.TouchTextBox">
  2965.    
  2966. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2967. <Window x:Class="WpfApp1.MainWindow"
  2968.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2969.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2970.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2971.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2972.         mc:Ignorable="d"
  2973.         Title="MainWindow" Height="800" Width="1200">
  2974.     <StackPanel>
  2975.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2976.                  Style="{StaticResource TouchTextBox}"/>
  2977.     </StackPanel>
  2978. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2979. <Window x:Class="WpfApp1.MainWindow"
  2980.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2981.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2982.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2983.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2984.         mc:Ignorable="d"
  2985.         Title="MainWindow" Height="800" Width="1200">
  2986.     <StackPanel>
  2987.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  2988.                  Style="{StaticResource TouchTextBox}"/>
  2989.     </StackPanel>
  2990. </Window>    x:Class="WpfApp1.TouchTextBox">
  2991.    
  2992. </ResourceDictionary>else
  2993. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2994. <Window x:Class="WpfApp1.MainWindow"
  2995.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2996.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  2997.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  2998.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  2999.         mc:Ignorable="d"
  3000.         Title="MainWindow" Height="800" Width="1200">
  3001.     <StackPanel>
  3002.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3003.                  Style="{StaticResource TouchTextBox}"/>
  3004.     </StackPanel>
  3005. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3006. <Window x:Class="WpfApp1.MainWindow"
  3007.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3008.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3009.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3010.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3011.         mc:Ignorable="d"
  3012.         Title="MainWindow" Height="800" Width="1200">
  3013.     <StackPanel>
  3014.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3015.                  Style="{StaticResource TouchTextBox}"/>
  3016.     </StackPanel>
  3017. </Window>    x:Class="WpfApp1.TouchTextBox">
  3018.    
  3019. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3020. <Window x:Class="WpfApp1.MainWindow"
  3021.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3022.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3023.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3024.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3025.         mc:Ignorable="d"
  3026.         Title="MainWindow" Height="800" Width="1200">
  3027.     <StackPanel>
  3028.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3029.                  Style="{StaticResource TouchTextBox}"/>
  3030.     </StackPanel>
  3031. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3032. <Window x:Class="WpfApp1.MainWindow"
  3033.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3034.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3035.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3036.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3037.         mc:Ignorable="d"
  3038.         Title="MainWindow" Height="800" Width="1200">
  3039.     <StackPanel>
  3040.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3041.                  Style="{StaticResource TouchTextBox}"/>
  3042.     </StackPanel>
  3043. </Window>    x:Class="WpfApp1.TouchTextBox">
  3044.    
  3045. </ResourceDictionary>{
  3046. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3047. <Window x:Class="WpfApp1.MainWindow"
  3048.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3049.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3050.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3051.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3052.         mc:Ignorable="d"
  3053.         Title="MainWindow" Height="800" Width="1200">
  3054.     <StackPanel>
  3055.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3056.                  Style="{StaticResource TouchTextBox}"/>
  3057.     </StackPanel>
  3058. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3059. <Window x:Class="WpfApp1.MainWindow"
  3060.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3061.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3062.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3063.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3064.         mc:Ignorable="d"
  3065.         Title="MainWindow" Height="800" Width="1200">
  3066.     <StackPanel>
  3067.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3068.                  Style="{StaticResource TouchTextBox}"/>
  3069.     </StackPanel>
  3070. </Window>    x:Class="WpfApp1.TouchTextBox">
  3071.    
  3072. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3073. <Window x:Class="WpfApp1.MainWindow"
  3074.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3075.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3076.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3077.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3078.         mc:Ignorable="d"
  3079.         Title="MainWindow" Height="800" Width="1200">
  3080.     <StackPanel>
  3081.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3082.                  Style="{StaticResource TouchTextBox}"/>
  3083.     </StackPanel>
  3084. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3085. <Window x:Class="WpfApp1.MainWindow"
  3086.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3087.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3088.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3089.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3090.         mc:Ignorable="d"
  3091.         Title="MainWindow" Height="800" Width="1200">
  3092.     <StackPanel>
  3093.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3094.                  Style="{StaticResource TouchTextBox}"/>
  3095.     </StackPanel>
  3096. </Window>    x:Class="WpfApp1.TouchTextBox">
  3097.    
  3098. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3099. <Window x:Class="WpfApp1.MainWindow"
  3100.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3101.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3102.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3103.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3104.         mc:Ignorable="d"
  3105.         Title="MainWindow" Height="800" Width="1200">
  3106.     <StackPanel>
  3107.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3108.                  Style="{StaticResource TouchTextBox}"/>
  3109.     </StackPanel>
  3110. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3111. <Window x:Class="WpfApp1.MainWindow"
  3112.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3113.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3114.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3115.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3116.         mc:Ignorable="d"
  3117.         Title="MainWindow" Height="800" Width="1200">
  3118.     <StackPanel>
  3119.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3120.                  Style="{StaticResource TouchTextBox}"/>
  3121.     </StackPanel>
  3122. </Window>    x:Class="WpfApp1.TouchTextBox">
  3123.    
  3124. </ResourceDictionary>window.Left = -point.X - (window.Width - hostControl.ActualWidth);
  3125. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3126. <Window x:Class="WpfApp1.MainWindow"
  3127.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3128.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3129.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3130.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3131.         mc:Ignorable="d"
  3132.         Title="MainWindow" Height="800" Width="1200">
  3133.     <StackPanel>
  3134.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3135.                  Style="{StaticResource TouchTextBox}"/>
  3136.     </StackPanel>
  3137. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3138. <Window x:Class="WpfApp1.MainWindow"
  3139.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3140.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3141.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3142.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3143.         mc:Ignorable="d"
  3144.         Title="MainWindow" Height="800" Width="1200">
  3145.     <StackPanel>
  3146.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3147.                  Style="{StaticResource TouchTextBox}"/>
  3148.     </StackPanel>
  3149. </Window>    x:Class="WpfApp1.TouchTextBox">
  3150.    
  3151. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3152. <Window x:Class="WpfApp1.MainWindow"
  3153.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3154.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3155.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3156.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3157.         mc:Ignorable="d"
  3158.         Title="MainWindow" Height="800" Width="1200">
  3159.     <StackPanel>
  3160.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3161.                  Style="{StaticResource TouchTextBox}"/>
  3162.     </StackPanel>
  3163. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3164. <Window x:Class="WpfApp1.MainWindow"
  3165.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3166.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3167.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3168.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3169.         mc:Ignorable="d"
  3170.         Title="MainWindow" Height="800" Width="1200">
  3171.     <StackPanel>
  3172.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3173.                  Style="{StaticResource TouchTextBox}"/>
  3174.     </StackPanel>
  3175. </Window>    x:Class="WpfApp1.TouchTextBox">
  3176.    
  3177. </ResourceDictionary>}
  3178. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3179. <Window x:Class="WpfApp1.MainWindow"
  3180.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3181.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3182.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3183.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3184.         mc:Ignorable="d"
  3185.         Title="MainWindow" Height="800" Width="1200">
  3186.     <StackPanel>
  3187.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3188.                  Style="{StaticResource TouchTextBox}"/>
  3189.     </StackPanel>
  3190. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3191. <Window x:Class="WpfApp1.MainWindow"
  3192.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3193.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3194.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  3195.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  3196.         mc:Ignorable="d"
  3197.         Title="MainWindow" Height="800" Width="1200">
  3198.     <StackPanel>
  3199.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  3200.                  Style="{StaticResource TouchTextBox}"/>
  3201.     </StackPanel>
  3202. </Window>    x:Class="WpfApp1.TouchTextBox">
  3203.    
  3204. </ResourceDictionary>}
  3205. }
复制代码
View Code添加一个名为TouchTextBox的资源字典。
  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2. <Window x:Class="WpfApp1.MainWindow"
  3.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7.         mc:Ignorable="d"
  8.         Title="MainWindow" Height="800" Width="1200">
  9.     <StackPanel>
  10.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11.                  Style="{StaticResource TouchTextBox}"/>
  12.     </StackPanel>
  13. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  14. <Window x:Class="WpfApp1.MainWindow"
  15.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  16.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  17.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  18.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  19.         mc:Ignorable="d"
  20.         Title="MainWindow" Height="800" Width="1200">
  21.     <StackPanel>
  22.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  23.                  Style="{StaticResource TouchTextBox}"/>
  24.     </StackPanel>
  25. </Window>    x:Class="WpfApp1.TouchTextBox">
  26.    
  27. </ResourceDictionary>
复制代码
 

四 效果展示

在App.Xaml中引入TouchTextBox.Xaml资源。
  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2. <Window x:Class="WpfApp1.MainWindow"
  3.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7.         mc:Ignorable="d"
  8.         Title="MainWindow" Height="800" Width="1200">
  9.     <StackPanel>
  10.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11.                  Style="{StaticResource TouchTextBox}"/>
  12.     </StackPanel>
  13. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  14. <Window x:Class="WpfApp1.MainWindow"
  15.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  16.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  17.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  18.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  19.         mc:Ignorable="d"
  20.         Title="MainWindow" Height="800" Width="1200">
  21.     <StackPanel>
  22.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  23.                  Style="{StaticResource TouchTextBox}"/>
  24.     </StackPanel>
  25. </Window>    x:Class="WpfApp1.TouchTextBox">
  26.    
  27. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  28. <Window x:Class="WpfApp1.MainWindow"
  29.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  30.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  31.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  32.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  33.         mc:Ignorable="d"
  34.         Title="MainWindow" Height="800" Width="1200">
  35.     <StackPanel>
  36.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  37.                  Style="{StaticResource TouchTextBox}"/>
  38.     </StackPanel>
  39. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  40. <Window x:Class="WpfApp1.MainWindow"
  41.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  42.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  43.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  44.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  45.         mc:Ignorable="d"
  46.         Title="MainWindow" Height="800" Width="1200">
  47.     <StackPanel>
  48.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  49.                  Style="{StaticResource TouchTextBox}"/>
  50.     </StackPanel>
  51. </Window>    x:Class="WpfApp1.TouchTextBox">
  52.    
  53. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  54. <Window x:Class="WpfApp1.MainWindow"
  55.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  56.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  57.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  58.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  59.         mc:Ignorable="d"
  60.         Title="MainWindow" Height="800" Width="1200">
  61.     <StackPanel>
  62.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  63.                  Style="{StaticResource TouchTextBox}"/>
  64.     </StackPanel>
  65. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  66. <Window x:Class="WpfApp1.MainWindow"
  67.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  68.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  69.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  70.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  71.         mc:Ignorable="d"
  72.         Title="MainWindow" Height="800" Width="1200">
  73.     <StackPanel>
  74.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  75.                  Style="{StaticResource TouchTextBox}"/>
  76.     </StackPanel>
  77. </Window>    x:Class="WpfApp1.TouchTextBox">
  78.    
  79. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  80. <Window x:Class="WpfApp1.MainWindow"
  81.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  82.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  83.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  84.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  85.         mc:Ignorable="d"
  86.         Title="MainWindow" Height="800" Width="1200">
  87.     <StackPanel>
  88.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  89.                  Style="{StaticResource TouchTextBox}"/>
  90.     </StackPanel>
  91. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  92. <Window x:Class="WpfApp1.MainWindow"
  93.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  94.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  95.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  96.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  97.         mc:Ignorable="d"
  98.         Title="MainWindow" Height="800" Width="1200">
  99.     <StackPanel>
  100.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  101.                  Style="{StaticResource TouchTextBox}"/>
  102.     </StackPanel>
  103. </Window>    x:Class="WpfApp1.TouchTextBox">
  104.    
  105. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  106. <Window x:Class="WpfApp1.MainWindow"
  107.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  108.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  109.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  110.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  111.         mc:Ignorable="d"
  112.         Title="MainWindow" Height="800" Width="1200">
  113.     <StackPanel>
  114.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  115.                  Style="{StaticResource TouchTextBox}"/>
  116.     </StackPanel>
  117. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  118. <Window x:Class="WpfApp1.MainWindow"
  119.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  120.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  121.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  122.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  123.         mc:Ignorable="d"
  124.         Title="MainWindow" Height="800" Width="1200">
  125.     <StackPanel>
  126.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  127.                  Style="{StaticResource TouchTextBox}"/>
  128.     </StackPanel>
  129. </Window>    x:Class="WpfApp1.TouchTextBox">
  130.    
  131. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  132. <Window x:Class="WpfApp1.MainWindow"
  133.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  134.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  135.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  136.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  137.         mc:Ignorable="d"
  138.         Title="MainWindow" Height="800" Width="1200">
  139.     <StackPanel>
  140.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  141.                  Style="{StaticResource TouchTextBox}"/>
  142.     </StackPanel>
  143. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  144. <Window x:Class="WpfApp1.MainWindow"
  145.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  146.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  147.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  148.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  149.         mc:Ignorable="d"
  150.         Title="MainWindow" Height="800" Width="1200">
  151.     <StackPanel>
  152.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  153.                  Style="{StaticResource TouchTextBox}"/>
  154.     </StackPanel>
  155. </Window>    x:Class="WpfApp1.TouchTextBox">
  156.    
  157. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  158. <Window x:Class="WpfApp1.MainWindow"
  159.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  160.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  161.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  162.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  163.         mc:Ignorable="d"
  164.         Title="MainWindow" Height="800" Width="1200">
  165.     <StackPanel>
  166.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  167.                  Style="{StaticResource TouchTextBox}"/>
  168.     </StackPanel>
  169. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  170. <Window x:Class="WpfApp1.MainWindow"
  171.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  172.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  173.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  174.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  175.         mc:Ignorable="d"
  176.         Title="MainWindow" Height="800" Width="1200">
  177.     <StackPanel>
  178.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  179.                  Style="{StaticResource TouchTextBox}"/>
  180.     </StackPanel>
  181. </Window>    x:Class="WpfApp1.TouchTextBox">
  182.    
  183. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  184. <Window x:Class="WpfApp1.MainWindow"
  185.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  186.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  187.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  188.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  189.         mc:Ignorable="d"
  190.         Title="MainWindow" Height="800" Width="1200">
  191.     <StackPanel>
  192.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  193.                  Style="{StaticResource TouchTextBox}"/>
  194.     </StackPanel>
  195. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  196. <Window x:Class="WpfApp1.MainWindow"
  197.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  198.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  199.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  200.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  201.         mc:Ignorable="d"
  202.         Title="MainWindow" Height="800" Width="1200">
  203.     <StackPanel>
  204.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  205.                  Style="{StaticResource TouchTextBox}"/>
  206.     </StackPanel>
  207. </Window>    x:Class="WpfApp1.TouchTextBox">
  208.    
  209. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  210. <Window x:Class="WpfApp1.MainWindow"
  211.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  212.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  213.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  214.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  215.         mc:Ignorable="d"
  216.         Title="MainWindow" Height="800" Width="1200">
  217.     <StackPanel>
  218.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  219.                  Style="{StaticResource TouchTextBox}"/>
  220.     </StackPanel>
  221. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  222. <Window x:Class="WpfApp1.MainWindow"
  223.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  224.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  225.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  226.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  227.         mc:Ignorable="d"
  228.         Title="MainWindow" Height="800" Width="1200">
  229.     <StackPanel>
  230.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  231.                  Style="{StaticResource TouchTextBox}"/>
  232.     </StackPanel>
  233. </Window>    x:Class="WpfApp1.TouchTextBox">
  234.    
  235. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  236. <Window x:Class="WpfApp1.MainWindow"
  237.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  238.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  239.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  240.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  241.         mc:Ignorable="d"
  242.         Title="MainWindow" Height="800" Width="1200">
  243.     <StackPanel>
  244.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  245.                  Style="{StaticResource TouchTextBox}"/>
  246.     </StackPanel>
  247. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  248. <Window x:Class="WpfApp1.MainWindow"
  249.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  250.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  251.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  252.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  253.         mc:Ignorable="d"
  254.         Title="MainWindow" Height="800" Width="1200">
  255.     <StackPanel>
  256.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  257.                  Style="{StaticResource TouchTextBox}"/>
  258.     </StackPanel>
  259. </Window>    x:Class="WpfApp1.TouchTextBox">
  260.    
  261. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  262. <Window x:Class="WpfApp1.MainWindow"
  263.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  264.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  265.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  266.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  267.         mc:Ignorable="d"
  268.         Title="MainWindow" Height="800" Width="1200">
  269.     <StackPanel>
  270.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  271.                  Style="{StaticResource TouchTextBox}"/>
  272.     </StackPanel>
  273. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  274. <Window x:Class="WpfApp1.MainWindow"
  275.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  276.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  277.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  278.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  279.         mc:Ignorable="d"
  280.         Title="MainWindow" Height="800" Width="1200">
  281.     <StackPanel>
  282.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  283.                  Style="{StaticResource TouchTextBox}"/>
  284.     </StackPanel>
  285. </Window>    x:Class="WpfApp1.TouchTextBox">
  286.    
  287. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  288. <Window x:Class="WpfApp1.MainWindow"
  289.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  290.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  291.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  292.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  293.         mc:Ignorable="d"
  294.         Title="MainWindow" Height="800" Width="1200">
  295.     <StackPanel>
  296.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  297.                  Style="{StaticResource TouchTextBox}"/>
  298.     </StackPanel>
  299. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  300. <Window x:Class="WpfApp1.MainWindow"
  301.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  302.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  303.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  304.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  305.         mc:Ignorable="d"
  306.         Title="MainWindow" Height="800" Width="1200">
  307.     <StackPanel>
  308.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  309.                  Style="{StaticResource TouchTextBox}"/>
  310.     </StackPanel>
  311. </Window>    x:Class="WpfApp1.TouchTextBox">
  312.    
  313. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  314. <Window x:Class="WpfApp1.MainWindow"
  315.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  316.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  317.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  318.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  319.         mc:Ignorable="d"
  320.         Title="MainWindow" Height="800" Width="1200">
  321.     <StackPanel>
  322.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  323.                  Style="{StaticResource TouchTextBox}"/>
  324.     </StackPanel>
  325. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  326. <Window x:Class="WpfApp1.MainWindow"
  327.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  328.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  329.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  330.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  331.         mc:Ignorable="d"
  332.         Title="MainWindow" Height="800" Width="1200">
  333.     <StackPanel>
  334.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  335.                  Style="{StaticResource TouchTextBox}"/>
  336.     </StackPanel>
  337. </Window>    x:Class="WpfApp1.TouchTextBox">
  338.    
  339. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  340. <Window x:Class="WpfApp1.MainWindow"
  341.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  342.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  343.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  344.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  345.         mc:Ignorable="d"
  346.         Title="MainWindow" Height="800" Width="1200">
  347.     <StackPanel>
  348.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  349.                  Style="{StaticResource TouchTextBox}"/>
  350.     </StackPanel>
  351. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  352. <Window x:Class="WpfApp1.MainWindow"
  353.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  354.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  355.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  356.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  357.         mc:Ignorable="d"
  358.         Title="MainWindow" Height="800" Width="1200">
  359.     <StackPanel>
  360.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  361.                  Style="{StaticResource TouchTextBox}"/>
  362.     </StackPanel>
  363. </Window>    x:Class="WpfApp1.TouchTextBox">
  364.    
  365. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  366. <Window x:Class="WpfApp1.MainWindow"
  367.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  368.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  369.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  370.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  371.         mc:Ignorable="d"
  372.         Title="MainWindow" Height="800" Width="1200">
  373.     <StackPanel>
  374.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  375.                  Style="{StaticResource TouchTextBox}"/>
  376.     </StackPanel>
  377. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  378. <Window x:Class="WpfApp1.MainWindow"
  379.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  380.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  381.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  382.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  383.         mc:Ignorable="d"
  384.         Title="MainWindow" Height="800" Width="1200">
  385.     <StackPanel>
  386.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  387.                  Style="{StaticResource TouchTextBox}"/>
  388.     </StackPanel>
  389. </Window>    x:Class="WpfApp1.TouchTextBox">
  390.    
  391. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  392. <Window x:Class="WpfApp1.MainWindow"
  393.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  394.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  395.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  396.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  397.         mc:Ignorable="d"
  398.         Title="MainWindow" Height="800" Width="1200">
  399.     <StackPanel>
  400.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  401.                  Style="{StaticResource TouchTextBox}"/>
  402.     </StackPanel>
  403. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  404. <Window x:Class="WpfApp1.MainWindow"
  405.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  406.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  407.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  408.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  409.         mc:Ignorable="d"
  410.         Title="MainWindow" Height="800" Width="1200">
  411.     <StackPanel>
  412.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  413.                  Style="{StaticResource TouchTextBox}"/>
  414.     </StackPanel>
  415. </Window>    x:Class="WpfApp1.TouchTextBox">
  416.    
  417. </ResourceDictionary>
复制代码
MainWindow界面代码:
  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2. <Window x:Class="WpfApp1.MainWindow"
  3.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7.         mc:Ignorable="d"
  8.         Title="MainWindow" Height="800" Width="1200">
  9.     <StackPanel>
  10.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  11.                  Style="{StaticResource TouchTextBox}"/>
  12.     </StackPanel>
  13. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  14. <Window x:Class="WpfApp1.MainWindow"
  15.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  16.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  17.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  18.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  19.         mc:Ignorable="d"
  20.         Title="MainWindow" Height="800" Width="1200">
  21.     <StackPanel>
  22.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  23.                  Style="{StaticResource TouchTextBox}"/>
  24.     </StackPanel>
  25. </Window>    x:Class="WpfApp1.TouchTextBox">
  26.    
  27. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  28. <Window x:Class="WpfApp1.MainWindow"
  29.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  30.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  31.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  32.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  33.         mc:Ignorable="d"
  34.         Title="MainWindow" Height="800" Width="1200">
  35.     <StackPanel>
  36.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  37.                  Style="{StaticResource TouchTextBox}"/>
  38.     </StackPanel>
  39. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  40. <Window x:Class="WpfApp1.MainWindow"
  41.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  42.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  43.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  44.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  45.         mc:Ignorable="d"
  46.         Title="MainWindow" Height="800" Width="1200">
  47.     <StackPanel>
  48.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  49.                  Style="{StaticResource TouchTextBox}"/>
  50.     </StackPanel>
  51. </Window>    x:Class="WpfApp1.TouchTextBox">
  52.    
  53. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  54. <Window x:Class="WpfApp1.MainWindow"
  55.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  56.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  57.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  58.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  59.         mc:Ignorable="d"
  60.         Title="MainWindow" Height="800" Width="1200">
  61.     <StackPanel>
  62.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  63.                  Style="{StaticResource TouchTextBox}"/>
  64.     </StackPanel>
  65. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  66. <Window x:Class="WpfApp1.MainWindow"
  67.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  68.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  69.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  70.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  71.         mc:Ignorable="d"
  72.         Title="MainWindow" Height="800" Width="1200">
  73.     <StackPanel>
  74.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  75.                  Style="{StaticResource TouchTextBox}"/>
  76.     </StackPanel>
  77. </Window>    x:Class="WpfApp1.TouchTextBox">
  78.    
  79. </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  80. <Window x:Class="WpfApp1.MainWindow"
  81.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  82.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  83.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  84.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  85.         mc:Ignorable="d"
  86.         Title="MainWindow" Height="800" Width="1200">
  87.     <StackPanel>
  88.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  89.                  Style="{StaticResource TouchTextBox}"/>
  90.     </StackPanel>
  91. </Window>    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  92. <Window x:Class="WpfApp1.MainWindow"
  93.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  94.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  95.         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  96.         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  97.         mc:Ignorable="d"
  98.         Title="MainWindow" Height="800" Width="1200">
  99.     <StackPanel>
  100.         <TextBox Text="Pop up the keyboard after touching" Width="400" HorizontalAlignment="Left" <br>          FontSize="18" Margin="20,20"
  101.                  Style="{StaticResource TouchTextBox}"/>
  102.     </StackPanel>
  103. </Window>    x:Class="WpfApp1.TouchTextBox">
  104.    
  105. </ResourceDictionary>
复制代码
设置TextBox的Style为TouchTextBox,则该TextBox实现了自带触控键盘的效果。
 
以上。

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

飞不高

金牌会员
这个人很懒什么都没写!

标签云

快速回复 返回顶部 返回列表