CPDFDeleteDialog.xaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <Window x:Class="ComPDFKit.Controls.Annotation.PDFAnnotationPanel.PDFAnnotationUI.CPDFDeleteDialog"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:ComPDFKit.Controls.Annotation.PDFAnnotationPanel.PDFAnnotationUI"
  7. mc:Ignorable="d"
  8. AllowsTransparency="True"
  9. WindowStyle="None"
  10. Loaded="Window_Loaded"
  11. Title="DeleteDialog" Height="146" Width="318" BorderThickness="1" BorderBrush="#5A000000">
  12. <Window.Resources>
  13. <ResourceDictionary>
  14. <ResourceDictionary.MergedDictionaries>
  15. <ResourceDictionary Source="../../../Asset/Styles/ButtonStyle.xaml"></ResourceDictionary>
  16. </ResourceDictionary.MergedDictionaries>
  17. </ResourceDictionary>
  18. </Window.Resources>
  19. <Grid>
  20. <Grid.ColumnDefinitions>
  21. <ColumnDefinition Width="23"/>
  22. <ColumnDefinition Width="*"/>
  23. <ColumnDefinition Width="23"/>
  24. </Grid.ColumnDefinitions>
  25. <Grid.RowDefinitions>
  26. <RowDefinition Height="19"/>
  27. <RowDefinition Height="*"/>
  28. <RowDefinition Height="19"/>
  29. </Grid.RowDefinitions>
  30. <StackPanel Grid.Row="1" Grid.Column="1">
  31. <TextBlock Height="24" x:Name="Title" FontSize="16" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
  32. <TextBlock Height="20" x:Name="Content" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Regular"/>
  33. <StackPanel Orientation="Horizontal" Margin="0,24,0,0">
  34. <Button x:Name="Cancel" Content="Cancel" Width="132" Height="32" Click="Cancel_Click"/>
  35. <Button x:Name="OK" Content="OK" Width="132" Height="32" Margin="8,0,0,0" Click="OK_Click" Style="{StaticResource ButtonStyle}"/>
  36. </StackPanel>
  37. </StackPanel>
  38. </Grid>
  39. </Window>