FreehandAnnotProperty.xaml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. <UserControl x:Class="PDF_Office.Views.PropertyPanel.AnnotPanel.FreehandAnnotProperty"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:PDF_Office.Views.PropertyPanel.AnnotPanel"
  7. xmlns:CompositeControl="clr-namespace:PDF_Office.CustomControl.CompositeControl"
  8. xmlns:cus="clr-namespace:PDF_Office.CustomControl"
  9. xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
  10. xmlns:prism="http://prismlibrary.com/"
  11. xmlns:Convert="clr-namespace:PDF_Office.DataConvert"
  12. xmlns:EraseThickConvert="clr-namespace:PDF_Office.ViewModels.PropertyPanel.AnnotPanel"
  13. mc:Ignorable="d"
  14. d:DesignHeight="450" d:DesignWidth="800">
  15. <UserControl.Resources>
  16. <ResourceDictionary>
  17. <ResourceDictionary.MergedDictionaries>
  18. <ResourceDictionary Source="../../../Styles/SliderStyle.xaml"></ResourceDictionary>
  19. <ResourceDictionary Source="../../../Styles/CustomBtnStyle.xaml"/>
  20. </ResourceDictionary.MergedDictionaries>
  21. <Convert:BoolToVisible x:Key="BoolToVisible"/>
  22. <Convert:InvertBoolToVisibleConvert x:Key="InvertBoolToVisibleConvert"/>
  23. <Convert:CheckToVisibleMutiConvert x:Key="CheckToVisibleMutiConvert"/>
  24. <EraseThickConvert:EraseThicknessConverter x:Key="EraseThicknessConverter"/>
  25. <Style x:Key="lineStyle" TargetType="{x:Type Line}">
  26. <Setter Property="Visibility">
  27. <Setter.Value>
  28. <MultiBinding Converter="{StaticResource CheckToVisibleMutiConvert}">
  29. <Binding ElementName="PenBtn" Path="IsChecked"/>
  30. <Binding ElementName="EraseBtn" Path="IsChecked"/>
  31. </MultiBinding>
  32. </Setter.Value>
  33. </Setter>
  34. </Style>
  35. </ResourceDictionary>
  36. </UserControl.Resources>
  37. <Grid Background="#F3F3F3">
  38. <StackPanel>
  39. <TextBlock Name="AnnotTypeTitle" FontFamily="SegoeUI" FontWeight="Bold" FontSize="18" LineHeight="24" HorizontalAlignment="Left" Margin="10,8,0,0">Freehand</TextBlock>
  40. <Border Width="128" Height="32" Margin="0,12,0,0" BorderThickness="1" BorderBrush="#FFE2E3E6">
  41. <Grid Name="ToolGrid">
  42. <Grid.ColumnDefinitions>
  43. <ColumnDefinition Width="*"></ColumnDefinition>
  44. <ColumnDefinition Width="*"></ColumnDefinition>
  45. </Grid.ColumnDefinitions>
  46. <ToggleButton Name="PenBtn" IsEnabled="True" Tag="PenBtn" Background="Transparent" BorderThickness="0" Click="PenBtn_Click" IsChecked="{Binding IsPen}" Checked="PenBtn_Checked" Command="{Binding PenCommand}" CommandParameter="{Binding ElementName=PenBtn}" >
  47. <Image Width="16" Height="16">
  48. <Image.Source>
  49. <DrawingImage>
  50. <DrawingImage.Drawing>
  51. <DrawingGroup ClipGeometry="M0,0 V16 H17 V0 H0 Z">
  52. <DrawingGroup.Transform>
  53. <TranslateTransform X="0" Y="2.3891999489933369E-13" />
  54. </DrawingGroup.Transform>
  55. <DrawingGroup Opacity="1">
  56. <DrawingGroup Opacity="1" Transform="1,0,0,1,-1759,-284">
  57. <DrawingGroup Opacity="1" Transform="1,0,0,1,1664,144">
  58. <DrawingGroup Opacity="1" Transform="1,0,0,1,79,132">
  59. <DrawingGroup Opacity="1" Transform="1,0,0,1,16.5,7">
  60. <DrawingGroup Opacity="1" Transform="1,0,0,1,0,0.601398">
  61. <DrawingGroup Transform="0.707106781186548,0.707106781186547,-0.707106781186547,0.707106781186548,7.88325217719452,-3.03185432179024">
  62. <GeometryDrawing Brush="#FF000000" Geometry="F0 M17,16z M0,0z M9.3513979,-2.38919995E-13C9.90368265,-2.38919995E-13,10.3513979,0.450295066,10.3513979,1.00576218L10.3513979,1.00576218 10.3513979,11.8051336 7.6013979,16 4.8513979,11.8051336 4.8513979,1.00576218C4.8513979,0.450295066,5.29911315,-2.38919995E-13,5.8513979,-2.38919995E-13L5.8513979,-2.38919995E-13z M7.60473447,11.7101997C7.11907276,11.7101997,6.63199763,11.78823,6.14217677,11.9453384L7.60173447,14.1723055 9.06200843,11.9436467C8.57396851,11.7876698,8.08864986,11.7101997,7.60473447,11.7101997z M9.3513979,3.161L5.8513979,3.161 5.85115502,10.9830388C6.43339754,10.7976506 7.01836385,10.7044375 7.60473447,10.7044375 8.18875558,10.7044375 8.77138361,10.7969051 9.35131488,10.9808148L9.3513979,3.161z M9.3513979,1.00576218L5.8513979,1.00576218 5.8513979,2.155 9.3513979,2.155 9.3513979,1.00576218z" />
  63. </DrawingGroup>
  64. <GeometryDrawing Brush="#FF000000" Geometry="F0 M17,16z M0,0z M1.29862352,15.7862914L1,14.829082 2.11583633,14.4674158 3.15406592,14.1429482 3.80363818,13.9473535 4.41951961,13.7683686 5.28087243,13.5311015 5.81392871,13.3937753 6.31441568,13.2731665 6.78265376,13.1693059 7.21896338,13.0822242 7.62366497,13.0119522C7.68849903,13.0016428,7.75202945,12.992035,7.81426289,12.9831295L8.17215324,12.9381299C8.28629773,12.9259427,8.39530772,12.91657,8.49923663,12.9100169L8.79583349,12.8988214C9.26493417,12.8942772 9.60834275,12.9603508 9.83273483,13.0976833 10.068274,13.2418381 10.2415014,13.4084688 10.3508877,13.6058206 10.5552187,13.9744691 10.5216162,14.2710014 10.3376925,14.6810881L10.2229683,14.9193983C10.2817235,14.9238084,10.3581498,14.9219184,10.4516286,14.9136535L10.6611397,14.8886018 10.9150249,14.8464174 11.2121845,14.7869671C11.2652562,14.7756125,11.3200852,14.7635329,11.3766486,14.7507256L11.7366584,14.6651269 12.137194,14.5619295 12.5771557,14.4410004 13.3086174,14.2260685 13.8423344,14.0602276 14.4116293,13.8761891 14.6967022,13.7815159 15,14.7371732 14.0940685,15.0341015 13.5390453,15.2080944 13.0222263,15.3628032 12.5428049,15.498128 12.0999746,15.6139689 11.692929,15.710226C11.6280253,15.7246313,11.5645791,15.7382165,11.5025734,15.7509794L11.1476927,15.8176735C10.3593478,15.9501927 9.84677889,15.9207377 9.56388238,15.7235969 9.07242318,15.3811161 9.08228965,15.0467022 9.33958239,14.4900411L9.46369549,14.2289552 9.49505041,14.1493245C9.5039287,14.1213806 9.50387062,14.1091441 9.50055695,14.1031657 9.48301036,14.0715086 9.43206472,14.022503 9.33190506,13.9612033 9.23927091,13.9045093 9.07240971,13.8771492 8.83379185,13.8793603L8.61174683,13.888503 8.3549014,13.9121628 8.06360129,13.9503729 7.73819222,14.0031665 7.37901988,14.0705767 6.98643,14.152637 6.5607683,14.2493803 6.10238048,14.36084 5.61161226,14.4870492 4.81550294,14.7040912 3.94848235,14.9545065 2.68416517,15.3405013 1.65622248,15.6692235 1.29862352,15.7862914z" />
  65. </DrawingGroup>
  66. </DrawingGroup>
  67. </DrawingGroup>
  68. </DrawingGroup>
  69. </DrawingGroup>
  70. </DrawingGroup>
  71. </DrawingGroup>
  72. </DrawingImage.Drawing>
  73. </DrawingImage>
  74. </Image.Source>
  75. </Image>
  76. </ToggleButton>
  77. <Line HorizontalAlignment="Left" Style="{StaticResource lineStyle}" VerticalAlignment="Center" Grid.Column="1" X1="0" Y1="0" X2="0" Y2="16" StrokeThickness="1" Stroke="#33000000"></Line>
  78. <ToggleButton Name="EraseBtn" Tag="EraseBtn" Background="Transparent" Grid.Column="1" BorderThickness="0" Click="EraseBtn_Click" Command="{Binding EraseCommand}" CommandParameter="{Binding ElementName=EraseBtn}">
  79. <Path Width="16" Height="16" HorizontalAlignment="Center" VerticalAlignment="Center" Fill="#000000" Data="M11,1.796875 L16.703125,7.5 L9.2109375,15 L5.0390625,15 L2.3984375,
  80. 12.3515625 L2.30688477,12.2502441 C2.22143555,12.1452637 2.15429688,12.0292969 2.10546875,11.9023438 C2.04036458,11.7330729 2.0078125,11.5572917 2.0078125,
  81. 11.375 C2.0078125,11.1927083 2.04036458,11.0169271 2.10546875,10.8476562 C2.15429688,10.7207031 2.2199707,
  82. 10.6062012 2.30249023,10.5041504 L2.390625,10.40625 L11,1.796875 Z M17.5,14 L17.5,15 L10.5,15 L11.5181818,
  83. 14 L17.5,14 Z M2.56227106,14 L3.5,15 L1.5,15 L1.5,14 L2.56227106,14 Z M5,9.203125 L3.1015625,11.1015625 L3.05712891,
  84. 11.1567383 C3.01904297,11.2163086 3,11.2890625 3,11.375 C3,11.4609375 3.02050781,11.5351562 3.06152344,11.5976562 L3.109375,
  85. 11.65625 L5.453125,14 L8.7890625,14 L9.296875,13.5 L5,9.203125 Z M11,3.203125 L5.703125,8.5 L10,12.796875 L15.296875,7.5 L11,3.203125 Z">
  86. </Path>
  87. </ToggleButton>
  88. </Grid>
  89. </Border>
  90. <Border Width="228" Height="100" BorderThickness="1" CornerRadius="2" BorderBrush="#DDDDDD" Background="White" Margin="0,8,0,0">
  91. <Grid>
  92. <Path Name="FreehandPath" Fill="{Binding SelectColor}" Stroke="{Binding SelectColor}" StrokeThickness="{Binding ThicknessLine}" Visibility="{Binding IsPen,Converter={StaticResource BoolToVisible}}"
  93. Data="M89.6572823,33.0006836 C92.423623,33.0142613 94.9660238,33.2143167 97.6072943,33.6499257 L98.4450428,33.7953737 C99.2868308,33.9487663 100.141867,
  94. 34.1261641 101.020317,34.3291126 L101.906948,34.5406353 L102.811448,34.7695353 L103.736075,35.016156 C103.891982,35.0587552 104.048822,35.1021072 104.206642,
  95. 35.1462189 L105.165696,35.4200646 L106.150524,35.7124896 L107.163387,36.0238374 L108.206543,36.3544513 L109.833019,36.8872476 L110.961791,37.2675295 L112.128763,
  96. 37.6682797 L113.955787,38.3085341 L117.402465,39.5399202 L119.211464,40.1769086 L120.364856,40.5761585 L122.021403,41.1378013 L123.079875,41.487923 L124.104139,
  97. 41.8190107 L125.096343,42.1314171 C125.259158,42.1819476 125.420727,42.2317145 125.581094,42.280725 L126.529238,42.5657708 L127.450693,42.833017 L128.347609,
  98. 43.0828164 L129.222133,43.3155218 L130.076415,43.5314857 L130.912603,43.7310609 C131.050579,43.7629773 131.187891,43.7942255 131.324583,43.8248129 L132.137658,
  99. 44.0004665 L132.938011,44.160613 L133.727789,44.3056054 L134.509141,44.4357963 C134.638784,44.4562809 134.768165,44.4761635 134.897329,44.4954514 L135.670072,
  100. 44.6041013 C136.183976,44.6718555 136.695845,44.7303299 137.208542,44.7799948 L137.978566,44.8479436 C138.492808,44.8889165 139.00931,44.921315 139.530938,
  101. 44.9456093 L140.317582,44.9760315 C140.976918,44.9964163 141.646502,45.0045057 142.331927,45.0012184 C154.775594,44.9415382 164.257125,42.4510186 170.805372,
  102. 37.5853682 L171.166146,37.3126111 L173,39.6890769 C165.853529,45.1864148 155.625487,47.9374967 142.34636,48.0011838 L141.913337,48.0018385 L141.058707,
  103. 47.9944256 C140.63492,47.9877681 140.216149,47.9766406 139.801147,47.960847 L138.975797,47.9229799 C137.333671,47.8345703 135.738542,47.6694101 134.110611,
  104. 47.4149484 L133.293542,47.2802176 C133.020028,47.232788 132.745234,47.1828197 132.46879,47.1302546 L131.634137,46.9647107 C130.793795,46.7912602 129.935277,
  105. 46.5939154 129.048609,46.3711075 L128.152187,46.1397538 C128.001097,46.0997609 127.849132,46.0590461 127.696246,46.0176023 L126.767518,45.7601317 C126.610766,
  106. 45.7157424 126.453,45.6706095 126.294176,45.6247256 L125.328153,45.3403539 L124.334496,45.0376121 L123.310988,44.7161518 L122.255414,44.3756242 L121.165555,
  107. 44.0156808 L120.039195,43.6359728 L118.874118,43.2361517 L117.668107,42.8158688 L116.418945,42.3747755 L112.974241,41.1440673 L111.779131,
  108. 40.7235819 L110.063231,40.1313765 L108.432894,39.5843521 L107.389894,39.2441882 L106.379456,38.9232327 L105.399396,38.6211366 L104.447526,38.3375511 C104.291109,
  109. 38.29181 104.135775,38.2468257 103.981479,38.2025908 L103.067797,37.9461172 C102.917471,37.9048512 102.768092,37.8643201 102.619615,37.8245166 L101.739201,
  110. 37.5943699 L100.878235,37.3813385 C99.6002783,37.0744533 98.3805774,36.8241548 97.1859334,36.6251448 L96.3928518,36.5000117 C95.6027538,36.3823605 94.8205132,
  111. 36.2869811 94.0362933,36.2123035 L93.2510493,36.1444683 L92.4622998,36.0900856 C91.9348126,36.0582371 91.4035311,36.0351242 90.8655406,36.020282 L90.053159,
  112. 36.0041634 C89.916802,36.0024914 89.7799346,36.0013218 89.6425113,36.0006473 C77.496861,35.941034 68.0266419,38.4266795 61.1957691,43.4127083 L60.8119345,
  113. 43.6976064 L59,41.3044387 C66.3048995,35.7911443 76.3008484,33.037972 88.9517247,33 L89.6572823,33.0006836 Z" >
  114. </Path>
  115. <Ellipse Name="ErasePath" Fill="#1A000000"
  116. Width="{Binding EraseThicknessLine,Converter={StaticResource EraseThicknessConverter}}"
  117. Height="{Binding EraseThicknessLine,Converter={StaticResource EraseThicknessConverter}}"
  118. Visibility="{Binding IsPen,Converter={StaticResource InvertBoolToVisibleConvert}}"
  119. HorizontalAlignment="Center" VerticalAlignment="Center"></Ellipse>
  120. </Grid>
  121. </Border>
  122. <StackPanel x:Name="PnlPen" Visibility="{Binding IsPen,Converter={StaticResource BoolToVisible}}">
  123. <Grid Margin="0,18,0,0">
  124. <Grid.RowDefinitions>
  125. <RowDefinition Height="auto"/>
  126. <RowDefinition/>
  127. </Grid.RowDefinitions>
  128. <CompositeControl:SlidContent x:Name="layerThick" HorizontalAlignment="Right"/>
  129. <CompositeControl:ColorContent Grid.Row="1" x:Name="cusColor"/>
  130. </Grid>
  131. <TextBlock x:Name="borderText" LineHeight="20" Margin="12,14,0,0" >Border</TextBlock>
  132. <Grid>
  133. <Grid.ColumnDefinitions>
  134. <ColumnDefinition Width="*"></ColumnDefinition>
  135. <ColumnDefinition Width="auto"></ColumnDefinition>
  136. </Grid.ColumnDefinitions>
  137. <Slider Name="BorderSlider" VerticalAlignment="Center" Margin="12,0,4,0" Minimum="1" Maximum="12" IsSelectionRangeEnabled="True" IsMoveToPointEnabled="True"
  138. Style="{StaticResource RoundThumbSlider}" TickFrequency="1" IsSnapToTickEnabled="True" Value="{Binding ThicknessLine}">
  139. <Slider.Resources>
  140. <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="#477EDE" />
  141. <SolidColorBrush x:Key="{x:Static SystemColors.ControlDarkDarkBrushKey}" Color="#E2E3E6" />
  142. </Slider.Resources>
  143. </Slider>
  144. <Border Grid.Column="1" BorderBrush="#E2E3E6" Width="80" Height="32" Margin="0,0,12,0" BorderThickness="0">
  145. <Grid>
  146. <ComboBox Name="CmbPen" BorderThickness="1" Padding="10 10 0 0" Background="Transparent" BorderBrush="#FFE2E3E6" >
  147. <ComboBox.ItemContainerStyle>
  148. <Style TargetType="{x:Type ComboBoxItem}">
  149. <Setter Property="Padding" Value="10 0 0 0"/>
  150. </Style>
  151. </ComboBox.ItemContainerStyle>
  152. <ComboBoxItem Content="1" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}"/>
  153. <ComboBoxItem Content="3" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}"/>
  154. <ComboBoxItem Content="6" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}"/>
  155. <ComboBoxItem Content="9" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}"/>
  156. <ComboBoxItem Content="12" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}"/>
  157. <i:Interaction.Triggers>
  158. <i:EventTrigger EventName="SelectionChanged">
  159. <i:InvokeCommandAction Command="{Binding SelectPenThickChangedCommand}" CommandParameter="{Binding ElementName=CmbPen,Path=SelectedItem}"/>
  160. </i:EventTrigger>
  161. </i:Interaction.Triggers>
  162. </ComboBox>
  163. <TextBox FontFamily="Segoe UI" FontSize="14" Background="White" Height="20" Margin="10,0,35,0" IsReadOnly="True"
  164. BorderThickness="0" VerticalAlignment="Center" TextAlignment="Left" Text="{Binding ElementName=BorderSlider,Path=Value}">
  165. </TextBox>
  166. </Grid>
  167. </Border>
  168. </Grid>
  169. <StackPanel Orientation="Horizontal" Margin="0,20,0,0">
  170. <cus:CustomIconToggleBtn x:Name="BtnListMode" Tag="Line" Width="110" Height="32"
  171. Style="{StaticResource ToggleBtnViewModeStyle}">
  172. <Border BorderBrush="Black" BorderThickness="1" Padding="8,0,8,0" Width="108" Height="30">
  173. <Line X1="10" Y1="15" X2="260" Y2="15" Stroke="Black" StrokeThickness="2" />
  174. </Border>
  175. </cus:CustomIconToggleBtn>
  176. <cus:CustomIconToggleBtn x:Name="BtnListMode1" Tag="Line" Width="110" Height="32"
  177. Style="{StaticResource ToggleBtnViewModeStyle}">
  178. <Border BorderBrush="Black" BorderThickness="1" Padding="8,0,8,0" Width="108" Height="30" >
  179. <Line X1="10" Y1="15" X2="260" Y2="15" Stroke="Black" StrokeThickness="2" StrokeDashArray="2"/>
  180. </Border>
  181. </cus:CustomIconToggleBtn>
  182. </StackPanel>
  183. </StackPanel>
  184. <StackPanel x:Name="PnlEraser" Visibility="{Binding IsPen,Converter={StaticResource InvertBoolToVisibleConvert}}">
  185. <TextBlock x:Name="eText" LineHeight="20" Margin="12,14,0,0" >Border</TextBlock>
  186. <Grid>
  187. <Grid.ColumnDefinitions>
  188. <ColumnDefinition Width="*"></ColumnDefinition>
  189. <ColumnDefinition Width="auto"></ColumnDefinition>
  190. </Grid.ColumnDefinitions>
  191. <Slider Name="SlEraser" VerticalAlignment="Center" Margin="12,0,4,0" Minimum="1" Maximum="12" IsSelectionRangeEnabled="True" IsMoveToPointEnabled="True"
  192. Value="{Binding EraseThicknessLine}"
  193. Style="{StaticResource RoundThumbSlider}" TickFrequency="1" IsSnapToTickEnabled="True" >
  194. <Slider.Resources>
  195. <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="#477EDE" />
  196. <SolidColorBrush x:Key="{x:Static SystemColors.ControlDarkDarkBrushKey}" Color="#E2E3E6" />
  197. </Slider.Resources>
  198. </Slider>
  199. <Border Grid.Column="1" BorderBrush="#E2E3E6" Width="80" Height="32" Margin="0,0,12,0" BorderThickness="0">
  200. <Grid>
  201. <ComboBox Name="CmbEraser" BorderThickness="1" Padding="10 10 0 0" Background="Transparent" BorderBrush="#FFE2E3E6" >
  202. <ComboBox.ItemContainerStyle>
  203. <Style TargetType="{x:Type ComboBoxItem}">
  204. <Setter Property="Padding" Value="10 0 0 0"/>
  205. </Style>
  206. </ComboBox.ItemContainerStyle>
  207. <ComboBoxItem Content="1" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}"/>
  208. <ComboBoxItem Content="3" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}"/>
  209. <ComboBoxItem Content="6" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}"/>
  210. <ComboBoxItem Content="9" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}"/>
  211. <ComboBoxItem Content="12" Height="32" VerticalContentAlignment="Center" Template="{StaticResource comboxitem}"/>
  212. <i:Interaction.Triggers>
  213. <i:EventTrigger EventName="SelectionChanged">
  214. <i:InvokeCommandAction Command="{Binding SetEraserThickCommand}" CommandParameter="{Binding ElementName=CmbEraser,Path=SelectedItem}"/>
  215. </i:EventTrigger>
  216. </i:Interaction.Triggers>
  217. </ComboBox>
  218. <TextBox FontFamily="Segoe UI" FontSize="14" Background="White" Height="20" Margin="10,0,35,0" IsReadOnly="True"
  219. BorderThickness="0" VerticalAlignment="Center" TextAlignment="Left" Text="{Binding ElementName=SlEraser,Path=Value}">
  220. </TextBox>
  221. </Grid>
  222. </Border>
  223. </Grid>
  224. </StackPanel>
  225. </StackPanel>
  226. </Grid>
  227. </UserControl>