LinkAnnotProperty.xaml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  1. <UserControl
  2. x:Class="PDF_Office.Views.PropertyPanel.AnnotPanel.LinkAnnotProperty"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:AnnotPanel="clr-namespace:PDF_Office.ViewModels.PropertyPanel.AnnotPanel"
  6. xmlns:Convert="clr-namespace:PDF_Office.DataConvert"
  7. xmlns:CustomControl="clr-namespace:PDF_Office.CustomControl"
  8. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  9. xmlns:data="clr-namespace:ComPDFKit.PDFDocument;assembly=ComPDFKit.Desk"
  10. xmlns:helper="clr-namespace:PDF_Office.Helper"
  11. xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
  12. xmlns:local="clr-namespace:PDF_Office.Views.BOTA"
  13. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  14. xmlns:prism="http://prismlibrary.com/"
  15. xmlns:property="clr-namespace:PDF_Office.Properties"
  16. Name="LinkAnnotPropertyContent"
  17. d:DataContext="{d:DesignInstance Type=AnnotPanel:LinkAnnotPropertyViewModel}"
  18. d:DesignHeight="680"
  19. d:DesignWidth="260"
  20. prism:ViewModelLocator.AutoWireViewModel="True"
  21. mc:Ignorable="d">
  22. <UserControl.Resources>
  23. <ResourceDictionary>
  24. <ResourceDictionary.MergedDictionaries>
  25. <ResourceDictionary Source="pack://application:,,,/Styles/RadioButtonStyle.xaml" />
  26. </ResourceDictionary.MergedDictionaries>
  27. <Convert:ObjectConvert x:Key="ObjectConvert" />
  28. <Convert:StringToVisibleConvert x:Key="StringToVisibleConvert" />
  29. <Convert:StringToUnVisibleConvert x:Key="StringToUnVisibleConvert" />
  30. <Convert:BoolToVisible x:Key="BoolToVisible" />
  31. </ResourceDictionary>
  32. </UserControl.Resources>
  33. <Grid>
  34. <StackPanel Background="White" Orientation="Vertical">
  35. <TextBlock
  36. Name="AnnotTypeTitle"
  37. Margin="0,12,0,12"
  38. HorizontalAlignment="Left"
  39. FontFamily="Segoe UI"
  40. FontSize="18"
  41. FontWeight="Bold"
  42. LineHeight="24">
  43. Link
  44. </TextBlock>
  45. <StackPanel
  46. Name="ToggleButtonTab"
  47. Margin="12,0,0,0"
  48. Orientation="Horizontal">
  49. <RadioButton
  50. Name="LinkPageBtn"
  51. Width="75"
  52. Height="28"
  53. VerticalContentAlignment="Center"
  54. Command="{Binding ToggleButtonTabCommand}"
  55. GroupName="LinkTab"
  56. IsChecked="True"
  57. Style="{StaticResource PageViewRadioBtn}"
  58. Tag="Page">
  59. <!--<ToggleButton.CommandParameter>
  60. <MultiBinding Converter="{StaticResource ResourceKey=ObjectConvert}" Mode="TwoWay">
  61. <MultiBinding.Bindings>
  62. <Binding ElementName="LinkPageBtn" />
  63. -->
  64. <!--<Binding ElementName="LinkWebBtn" />
  65. <Binding ElementName="LinkMailBtn" />-->
  66. <!--
  67. </MultiBinding.Bindings>
  68. </MultiBinding>
  69. </ToggleButton.CommandParameter>-->
  70. <StackPanel>
  71. <Path
  72. Margin="8,8,8,8"
  73. HorizontalAlignment="Center"
  74. Fill="#252629">
  75. <Path.Data>
  76. M12.8335 14.5V5.33432L9.70479 1.5H3.8335V14.5H12.8335ZM3.3335
  77. 0C2.78121 0 2.3335 0.447715 2.3335 1V15C2.3335 15.5523 2.78121 16 3.3335
  78. 16H13.3335C13.8858 16 14.3335 15.5523 14.3335 15V5.15622C14.3335 4.92583
  79. 14.2539 4.70251 14.1083 4.524L10.7169 0.367788C10.527 0.135042 10.2425
  80. 0 9.94214 0H3.3335ZM9.8335 7.25H4.8335V5.75H9.8335V7.25ZM4.8335
  81. 10.25H11.8335V8.75H4.8335V10.25Z
  82. </Path.Data>
  83. </Path>
  84. <TextBlock
  85. x:Name="LinkPageText"
  86. Width="36"
  87. FontFamily="Segoe UI"
  88. FontSize="12"
  89. LineHeight="16"
  90. TextAlignment="Center"
  91. TextWrapping="Wrap" />
  92. </StackPanel>
  93. </RadioButton>
  94. <RadioButton
  95. Name="LinkWebBtn"
  96. Width="75"
  97. Height="28"
  98. VerticalContentAlignment="Center"
  99. Background="Transparent"
  100. Command="{Binding ToggleButtonTabCommand}"
  101. GroupName="LinkTab"
  102. IsChecked="False"
  103. Style="{StaticResource PageViewRadioBtn}"
  104. Tag="Web">
  105. <StackPanel>
  106. <Path
  107. Margin="8,8,8,8"
  108. HorizontalAlignment="Center"
  109. Fill="#252629">
  110. <Path.Data>
  111. M8.66618 14.4663C8.44716 14.4886 8.22491 14.5 8 14.5C7.85803
  112. 14.5 7.71712 14.4954 7.57741 14.4865C7.10001 13.5646 6.74754
  113. 12.6476 6.49725 11.75H9.73591C9.48745 12.6411 9.13829 13.5512 8.66618
  114. 14.4663ZM10.5459 13.9825C11.6619 13.507 12.6176 12.7283 13.3098
  115. 11.75H11.2887C11.1051 12.4836 10.8609 13.2299 10.5459 13.9825ZM11.5858
  116. 10.25H14.1C14.3587 9.5489 14.5 8.79095 14.5 8C14.5 7.20905 14.3587 6.4511
  117. 14.1 5.75H11.5922C11.7855 7.11458 11.8224 8.63886 11.5858 10.25ZM10.0763
  118. 5.75H6.15683C5.94754 7.09263 5.90154 8.62363 6.16683 10.25H10.0663C10.3316
  119. 8.62363 10.2856 7.09263 10.0763 5.75ZM9.76021 4.25H6.47294C6.78297 3.09108
  120. 7.1942 2.14973 7.56609 1.51425C7.7095 1.5048 7.85419 1.5 8 1.5C8.22937 1.5
  121. 8.45596 1.51188 8.67919 1.53506C9.04787 2.17019 9.45355 3.10366 9.76021
  122. 4.25ZM11.3063 4.25H13.3098C12.6268 3.28462 11.6871 2.5137 10.5902
  123. 2.03658C10.8556 2.67393 11.1063 3.4192 11.3063 4.25ZM4.94441
  124. 11.75C5.13712 12.5199 5.39657 13.3038 5.73452 14.0943C4.49822 13.6345
  125. 3.43967 12.8093 2.69016 11.75H4.94441ZM4.64733 10.25C4.41071 8.63886
  126. 4.44762 7.11458 4.64092 5.75H1.89996C1.64127 6.4511 1.5 7.20905 1.5 8C1.5 8.79095 1.64127 9.5489
  127. 1.89996 10.25H4.64733ZM4.92683 4.25C5.13895 3.36886 5.40812 2.58393 5.69137 1.92192C4.47359 2.38472
  128. 3.43094 3.203 2.69016 4.25H4.92683ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0
  129. 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8Z
  130. </Path.Data>
  131. </Path>
  132. </StackPanel>
  133. </RadioButton>
  134. <RadioButton
  135. Name="LinkMailBtn"
  136. Width="75"
  137. Height="28"
  138. VerticalContentAlignment="Center"
  139. Background="Transparent"
  140. Command="{Binding ToggleButtonTabCommand}"
  141. GroupName="LinkTab"
  142. IsChecked="False"
  143. Style="{StaticResource PageViewRadioBtn}"
  144. Tag="Mail">
  145. <StackPanel>
  146. <Path
  147. Margin="8,8,8,8"
  148. HorizontalAlignment="Center"
  149. Fill="#252629">
  150. <Path.Data>
  151. M1.5 2.27882V10.5H14.5V2.27882L8.43593 6.6103C8.17516 6.79657
  152. 7.82484 6.79657 7.56407 6.6103L1.5 2.27882ZM13.0097
  153. 1.5H2.99035L8 5.07832L13.0097 1.5ZM0 1C0 0.447715
  154. 0.447715 0 1 0H15C15.5523 0 16 0.447715 16 1V11C16 11.5523 15.5523 12 15 12H1C0.447715 12 0 11.5523 0 11V1Z
  155. </Path.Data>
  156. </Path>
  157. </StackPanel>
  158. </RadioButton>
  159. </StackPanel>
  160. <Line
  161. Width="232"
  162. Margin="0,4,0,0"
  163. HorizontalAlignment="Center"
  164. Stroke="#1A000000"
  165. StrokeThickness="1"
  166. X1="0"
  167. X2="232"
  168. Y1="0"
  169. Y2="0" />
  170. <Grid MinWidth="260">
  171. <StackPanel Name="LinkPagePanel" Visibility="{Binding ElementName=LinkPageBtn, Path=IsChecked, Converter={StaticResource BoolToVisible}, Mode=OneWay}">
  172. <TextBlock
  173. x:Name="TxtPage"
  174. Height="20"
  175. Margin="16,12,0,4"
  176. FontFamily="Segoe UI"
  177. FontSize="12"
  178. Foreground="#616469"
  179. LineHeight="20"
  180. Text="Page" />
  181. <StackPanel Orientation="Horizontal">
  182. <Grid>
  183. <!--<CustomControl:TextBoxEx
  184. x:Name="PageNumText"
  185. Width="228"
  186. Height="32"
  187. Margin="16,0"
  188. VerticalContentAlignment="Center"
  189. IsEnabled="False"
  190. PlaceholderText="Enter target page">
  191. <i:Interaction.Triggers>
  192. <i:EventTrigger EventName="TextChanged">
  193. <i:InvokeCommandAction Command="{Binding PageNumTextChangedCommand}" PassEventArgsToCommand="True" />
  194. </i:EventTrigger>
  195. </i:Interaction.Triggers>
  196. </CustomControl:TextBoxEx>-->
  197. <CustomControl:TextBoxWithTip
  198. x:Name="PageNumText"
  199. Width="228"
  200. Margin="16,0"
  201. VerticalContentAlignment="Center"
  202. IsEnabled="False"
  203. ShowTip="Collapsed"
  204. Text="Enter target page"
  205. TipText=" Page number error.">
  206. <i:Interaction.Triggers>
  207. <i:EventTrigger EventName="TextChanged">
  208. <i:InvokeCommandAction Command="{Binding PageNumTextChangedCommand}" PassEventArgsToCommand="True" />
  209. </i:EventTrigger>
  210. </i:Interaction.Triggers>
  211. </CustomControl:TextBoxWithTip>
  212. <!--<Border
  213. Name="BorderPageNumText"
  214. Width="228"
  215. Height="32"
  216. Margin="16,0"
  217. Background="LightGray"
  218. BorderBrush="#1770F4"
  219. BorderThickness="1"
  220. CornerRadius="4">
  221. <TextBox
  222. Name="PageNumText"
  223. VerticalContentAlignment="Center"
  224. Background="Transparent"
  225. BorderThickness="0"
  226. IsEnabled="False">
  227. <i:Interaction.Triggers>
  228. <i:EventTrigger EventName="TextChanged">
  229. <i:InvokeCommandAction Command="{Binding PageNumTextChangedCommand}" PassEventArgsToCommand="True" />
  230. </i:EventTrigger>
  231. </i:Interaction.Triggers>
  232. </TextBox>
  233. </Border>
  234. <TextBlock
  235. x:Name="defaultPageNumText"
  236. Margin="25,0,0,0"
  237. VerticalAlignment="Center"
  238. FontSize="14"
  239. Foreground="Gray"
  240. IsHitTestVisible="False"
  241. Visibility="{Binding ElementName=PageNumText, Path=Text, Converter={StaticResource StringToUnVisibleConvert}, Mode=OneWay}">
  242. Enter target page
  243. </TextBlock>
  244. <Button
  245. Width="18"
  246. Height="18"
  247. Margin="0,0,18,0"
  248. HorizontalAlignment="Right"
  249. VerticalAlignment="Center"
  250. Background="Transparent"
  251. Tag="PageNumText"
  252. Visibility="{Binding ElementName=PageNumText, Path=Text, Converter={StaticResource StringToVisibleConvert}}">
  253. <Button.Content>
  254. <Path Fill="#333333">
  255. <Path.Data>
  256. M9.48528137,2.98528137 L9.48428137,8.48428137 L14.9852814,8.48528137 L14.9852814,9.48528137 L9.48428137,9.48428137 L9.48528137,14.9852814 L8.48528137,
  257. 14.9852814 L8.48428137,9.48428137 L2.98528137,9.48528137 L2.98528137,8.48528137 L8.48428137,8.48428137 L8.48528137,2.98528137 L9.48528137,2.98528137 Z
  258. </Path.Data>
  259. <Path.RenderTransform>
  260. <TransformGroup>
  261. <TranslateTransform X="-8" />
  262. <RotateTransform Angle="45" />
  263. <TranslateTransform X="13" />
  264. </TransformGroup>
  265. </Path.RenderTransform>
  266. </Path>
  267. </Button.Content>
  268. </Button>-->
  269. </Grid>
  270. <!--<TextBlock
  271. Name="PageNumBlock"
  272. Height="20"
  273. Margin="8,0,0,0"
  274. VerticalAlignment="Center"
  275. FontFamily="Segoe UI"
  276. FontSize="14"
  277. LineHeight="20"
  278. TextAlignment="Center" />-->
  279. </StackPanel>
  280. <!--<TextBlock
  281. Name="ErrorNumTips"
  282. Margin="12,0,0,0"
  283. Foreground="Red"
  284. Visibility="{Binding ErrorNumTipsVisibility}">
  285. Page number error.
  286. </TextBlock>
  287. <TextBlock
  288. Name="ErrorRangeTips"
  289. Margin="12,0,0,0"
  290. Foreground="Red"
  291. Visibility="{Binding ErrorRangeTipsVisibility}">
  292. Page number out of range.
  293. </TextBlock>-->
  294. <Button
  295. Name="BtnLocation"
  296. Width="228"
  297. Height="32"
  298. Margin="16,16,16,0"
  299. IsEnabled="False"
  300. Style="{StaticResource Btn.cta}">
  301. <Button.Content>
  302. <StackPanel Orientation="Horizontal">
  303. <Path
  304. Name="PathLocation"
  305. HorizontalAlignment="Left"
  306. VerticalAlignment="Center"
  307. Data="M15.064 6.88052L13.5661 6.49468L9.57748 11.6857L10.2156 13.8898C10.3593 14.3863 9.74722 14.7479 9.38174 14.3824L6.59721 11.5979L0.0145727 15.9711L4.38786 9.38851L1.60356 6.60421C1.23807 6.23873 1.59967 5.62665 2.09615 5.77038L4.30107 6.40871L9.49166 2.42039L9.10576 0.92227C8.97879 0.42937 9.58359 0.0840825 9.9435 0.443993L15.5423 6.04277C15.9022 6.40268 15.5569 7.00748 15.064 6.88052Z"
  308. Fill="White" />
  309. <TextBlock Margin="10,0" Text="Locate the target page" />
  310. </StackPanel>
  311. </Button.Content>
  312. </Button>
  313. <Image
  314. Name="ImagePreview"
  315. Width="196"
  316. Height="254"
  317. Margin="32"
  318. Source="{Binding PreviewImage}"
  319. Visibility="{Binding ImagePreviewVisibility}" />
  320. </StackPanel>
  321. <StackPanel Name="LinkWebPanel" Visibility="{Binding ElementName=LinkWebBtn, Path=IsChecked, Converter={StaticResource BoolToVisible}, Mode=OneWay}">
  322. <TextBlock
  323. Height="20"
  324. Margin="16,12,0,4"
  325. FontFamily="Segoe UI"
  326. FontSize="12"
  327. Foreground="#616469"
  328. LineHeight="20"
  329. Text="URL" />
  330. <Grid>
  331. <Border
  332. Name="BorderPageWebText"
  333. Width="228"
  334. Height="32"
  335. Margin="16,0"
  336. Background="#FFFFFF"
  337. BorderBrush="#1770F4"
  338. BorderThickness="1"
  339. CornerRadius="4">
  340. <TextBox
  341. Name="PageWebText"
  342. VerticalContentAlignment="Center"
  343. Background="Transparent"
  344. BorderThickness="0"
  345. IsEnabled="True" />
  346. </Border>
  347. <TextBlock
  348. x:Name="defaultPageWebText"
  349. Margin="25,0,0,0"
  350. VerticalAlignment="Center"
  351. FontSize="14"
  352. Foreground="Gray"
  353. IsHitTestVisible="False"
  354. Visibility="{Binding ElementName=PageWebText, Path=Text, Converter={StaticResource StringToUnVisibleConvert}, Mode=OneWay}">
  355. https://www.pdfreaderpro.com
  356. </TextBlock>
  357. <Button
  358. Width="18"
  359. Height="18"
  360. Margin="0,0,18,0"
  361. HorizontalAlignment="Right"
  362. VerticalAlignment="Center"
  363. Background="Transparent"
  364. Tag="PageWebText"
  365. Visibility="{Binding ElementName=PageWebText, Path=Text, Converter={StaticResource StringToVisibleConvert}}">
  366. <Button.Content>
  367. <Path Fill="#333333">
  368. <Path.Data>
  369. M9.48528137,2.98528137 L9.48428137,8.48428137 L14.9852814,8.48528137 L14.9852814,9.48528137 L9.48428137,9.48428137 L9.48528137,14.9852814 L8.48528137,
  370. 14.9852814 L8.48428137,9.48428137 L2.98528137,9.48528137 L2.98528137,8.48528137 L8.48428137,8.48428137 L8.48528137,2.98528137 L9.48528137,2.98528137 Z
  371. </Path.Data>
  372. <Path.RenderTransform>
  373. <TransformGroup>
  374. <TranslateTransform X="-8" />
  375. <RotateTransform Angle="45" />
  376. <TranslateTransform X="13" />
  377. </TransformGroup>
  378. </Path.RenderTransform>
  379. </Path>
  380. </Button.Content>
  381. </Button>
  382. </Grid>
  383. <TextBlock
  384. Name="ErrorUrlTips"
  385. Margin="12,0,0,0"
  386. Foreground="Red"
  387. Visibility="Collapsed">
  388. Invalid link.
  389. </TextBlock>
  390. </StackPanel>
  391. <StackPanel Name="LinkMailPanel" Visibility="{Binding ElementName=LinkMailBtn, Path=IsChecked, Converter={StaticResource BoolToVisible}, Mode=OneWay}">
  392. <TextBlock
  393. Height="20"
  394. Margin="12,12,0,4"
  395. FontFamily="Segoe UI"
  396. FontSize="14"
  397. LineHeight="20">
  398. Email
  399. </TextBlock>
  400. <Grid>
  401. <Border
  402. Name="BorderPageMailText"
  403. Width="228"
  404. Height="32"
  405. Margin="16,0"
  406. Background="#FFFFFF"
  407. BorderBrush="#1770F4"
  408. BorderThickness="1"
  409. CornerRadius="4">
  410. <TextBox
  411. Name="PageMailText"
  412. Width="232"
  413. Height="32"
  414. HorizontalAlignment="Left"
  415. VerticalContentAlignment="Center"
  416. Background="Transparent"
  417. BorderBrush="Transparent"
  418. IsEnabled="False" />
  419. </Border>
  420. <TextBlock
  421. x:Name="defaultPageMailText"
  422. Margin="25,0,0,0"
  423. VerticalAlignment="Center"
  424. FontSize="14"
  425. Foreground="Gray"
  426. IsHitTestVisible="False"
  427. Visibility="{Binding ElementName=PageMailText, Path=Text, Converter={StaticResource StringToUnVisibleConvert}, Mode=OneWay}">
  428. support@pdfreaderpro.com
  429. </TextBlock>
  430. <Button
  431. Width="18"
  432. Height="18"
  433. Margin="0,0,18,0"
  434. HorizontalAlignment="Right"
  435. VerticalAlignment="Center"
  436. Background="Transparent"
  437. Tag="PageMailText"
  438. Visibility="{Binding ElementName=PageMailText, Path=Text, Converter={StaticResource StringToVisibleConvert}}">
  439. <Button.Content>
  440. <Path Fill="#333333">
  441. <Path.Data>
  442. M9.48528137,2.98528137 L9.48428137,8.48428137 L14.9852814,8.48528137 L14.9852814,9.48528137 L9.48428137,9.48428137 L9.48528137,14.9852814 L8.48528137,
  443. 14.9852814 L8.48428137,9.48428137 L2.98528137,9.48528137 L2.98528137,8.48528137 L8.48428137,8.48428137 L8.48528137,2.98528137 L9.48528137,2.98528137 Z
  444. </Path.Data>
  445. <Path.RenderTransform>
  446. <TransformGroup>
  447. <TranslateTransform X="-8" />
  448. <RotateTransform Angle="45" />
  449. <TranslateTransform X="13" />
  450. </TransformGroup>
  451. </Path.RenderTransform>
  452. </Path>
  453. </Button.Content>
  454. </Button>
  455. </Grid>
  456. <TextBlock
  457. Name="ErrorMailTips"
  458. Margin="12,0,0,0"
  459. Foreground="Red"
  460. TextWrapping="Wrap"
  461. Visibility="Collapsed">
  462. The email is invalid.Please enter a valid email address.
  463. </TextBlock>
  464. </StackPanel>
  465. </Grid>
  466. <Button
  467. x:Name="BtnGOorBack"
  468. Background="Transparent"
  469. BorderThickness="0"
  470. Content="GO"
  471. FontSize="16"
  472. Foreground="#1770F4"
  473. Style="{StaticResource Btn.cta}"
  474. Visibility="{Binding BtnGOorBackVisibility}" />
  475. </StackPanel>
  476. </Grid>
  477. <i:Interaction.Triggers>
  478. <i:EventTrigger EventName="Loaded">
  479. <helper:AdvancedInvokeCommandAction
  480. Command="{Binding LoadedCommand}"
  481. CommandParameter="{Binding ElementName=LinkAnnotPropertyContent}"
  482. PassEventArgsToCommand="True">
  483. <!--<helper:AdvancedInvokeCommandAction.CommandParameter>
  484. <MultiBinding Converter="{StaticResource ResourceKey=ObjectConvert}" Mode="TwoWay">
  485. <MultiBinding.Bindings>
  486. <Binding ElementName="ImagePreview" />
  487. <Binding ElementName="LinkPagePanel" />
  488. <Binding ElementName="LinkWebPanel" />
  489. <Binding ElementName="LinkMailPanel" />
  490. <Binding ElementName="LinkPagePanel" />
  491. <Binding ElementName="LinkPagePanel" />
  492. <Binding ElementName="LinkPagePanel" />
  493. </MultiBinding.Bindings>
  494. </MultiBinding>
  495. </helper:AdvancedInvokeCommandAction.CommandParameter>-->
  496. </helper:AdvancedInvokeCommandAction>
  497. </i:EventTrigger>
  498. </i:Interaction.Triggers>
  499. </UserControl>