ImageTextEditProperty.xaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <UserControl
  2. x:Class="PDF_Master.Views.PropertyPanel.PDFEdit.ImageTextEditProperty"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:FormControl="clr-namespace:PDF_Master.CustomControl.Form"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
  8. xmlns:local="clr-namespace:PDF_Master.Views.PropertyPanel.PDFEdit"
  9. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10. xmlns:prism="http://prismlibrary.com/"
  11. d:DesignHeight="450"
  12. d:DesignWidth="800"
  13. prism:ViewModelLocator.AutoWireViewModel="True"
  14. Background="{StaticResource color.sys.layout.mg}"
  15. mc:Ignorable="d">
  16. <StackPanel Margin="16,14">
  17. <TextBlock
  18. Margin="0,0,0,14"
  19. VerticalAlignment="Center"
  20. FontFamily="Segoe UI"
  21. FontSize="14"
  22. FontWeight="SemiBold"
  23. Foreground="{StaticResource color.sys.text.neutral.lv1}"
  24. LineHeight="22"
  25. Text="General Properties" />
  26. <TextBlock
  27. x:Name="AlignImg"
  28. Margin="0,0,0,10"
  29. FontFamily="Segoe UI"
  30. FontSize="12"
  31. FontWeight="SemiBold"
  32. Foreground="{StaticResource color.sys.text.neutral.lv2}"
  33. LineHeight="20">
  34. Align
  35. </TextBlock>
  36. <FormControl:LayoutAglinContent
  37. x:Name="laoutAglin"
  38. Grid.Row="1"
  39. IsLayoutAlign="{Binding IsLayoutAlign}"
  40. IsLayoutAvgAlign="{Binding IsLayoutAvgAlign}">
  41. <i:Interaction.Triggers>
  42. <i:EventTrigger EventName="ValueChanged">
  43. <i:InvokeCommandAction Command="{Binding ImgAlignCheckedCommand}" CommandParameter="{Binding ElementName=laoutAglin, Path=Btntag}" />
  44. </i:EventTrigger>
  45. </i:Interaction.Triggers>
  46. </FormControl:LayoutAglinContent>
  47. </StackPanel>
  48. </UserControl>