AlertsMessage.xaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <Window
  2. x:Class="PDF_Office.CustomControl.AlertsMessage"
  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:local="clr-namespace:PDF_Office.CustomControl"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. Width="470"
  9. MinHeight="156"
  10. AllowsTransparency="True"
  11. Background="Transparent"
  12. ResizeMode="NoResize"
  13. ShowInTaskbar="False"
  14. SizeToContent="Height"
  15. WindowStartupLocation="CenterScreen"
  16. WindowStyle="None"
  17. mc:Ignorable="d">
  18. <Border
  19. Height="auto"
  20. Background="White"
  21. BorderBrush="Gray"
  22. BorderThickness="1"
  23. CornerRadius="6"
  24. MouseLeftButtonDown="Border_PreviewMouseLeftButtonDown">
  25. <Grid Margin="20,24,20,0">
  26. <Grid.RowDefinitions>
  27. <RowDefinition Height="auto" />
  28. <RowDefinition />
  29. </Grid.RowDefinitions>
  30. <Grid.ColumnDefinitions>
  31. <ColumnDefinition Width="Auto" />
  32. <ColumnDefinition />
  33. </Grid.ColumnDefinitions>
  34. <StackPanel
  35. Grid.Column="0"
  36. Grid.ColumnSpan="2"
  37. VerticalAlignment="Center">
  38. <TextBlock
  39. x:Name="TitleText"
  40. FontSize="14"
  41. FontWeight="SemiBold"
  42. Text="Make sure to delete the selected material?"
  43. TextWrapping="Wrap" />
  44. <TextBlock
  45. x:Name="ContentText"
  46. Margin="0,4,0,0"
  47. FontSize="12"
  48. Text="Make sure to delete the selected material?"
  49. TextWrapping="Wrap" />
  50. </StackPanel>
  51. <Grid
  52. x:Name="BtnGrid"
  53. Grid.Row="1"
  54. Grid.ColumnSpan="2">
  55. <Grid.ColumnDefinitions>
  56. <ColumnDefinition />
  57. <ColumnDefinition />
  58. <ColumnDefinition />
  59. </Grid.ColumnDefinitions>
  60. <CheckBox x:Name="ChbDonotAskAgain" Content="Don't ask again" Visibility="Collapsed" Checked="ChbDonotAskAgain_Checked" Unchecked="ChbDonotAskAgain_Unchecked"/>
  61. <Button
  62. x:Name="CancelBtn"
  63. Grid.Column="2"
  64. Height="28"
  65. Margin="0,0,0,0"
  66. BorderThickness="0"
  67. Click="CancelBtn_Click"
  68. Content="Cancel"
  69. FontSize="14"
  70. FontWeight="SemiBold" />
  71. <Button
  72. x:Name="MiddleCancelBtn"
  73. Grid.Column="1"
  74. Height="28"
  75. Margin="8,0,0,0"
  76. BorderThickness="0"
  77. Click="MiddleCancelBtn_Click"
  78. Content="Do not Save"
  79. FontSize="14"
  80. FontWeight="SemiBold" />
  81. <Button
  82. x:Name="OkBtn"
  83. Grid.Column="0"
  84. Height="28"
  85. Margin="8,0,0,0"
  86. BorderThickness="0"
  87. Click="OkBtn_Click"
  88. Content="Save"
  89. FontSize="14"
  90. FontWeight="SemiBold" />
  91. </Grid>
  92. </Grid>
  93. </Border>
  94. </Window>