AlertsMessage.xaml 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <Window
  2. x:Class="PDF_Master.CustomControl.AlertsMessage"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero2"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:local="clr-namespace:PDF_Master.CustomControl"
  8. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9. Width="470"
  10. MinHeight="156"
  11. AllowsTransparency="True"
  12. Background="Transparent"
  13. ResizeMode="NoResize"
  14. ShowInTaskbar="False"
  15. SizeToContent="Height"
  16. Style="{StaticResource DialogWindowStyle}"
  17. WindowStartupLocation="CenterScreen"
  18. mc:Ignorable="d">
  19. <Border
  20. Height="auto"
  21. Background="White"
  22. CornerRadius="6"
  23. MouseLeftButtonDown="Border_PreviewMouseLeftButtonDown">
  24. <Grid Margin="16,0">
  25. <Grid.RowDefinitions>
  26. <RowDefinition Height="*" />
  27. <RowDefinition Height="auto " />
  28. </Grid.RowDefinitions>
  29. <StackPanel VerticalAlignment="Center">
  30. <TextBlock
  31. x:Name="TitleText"
  32. Margin="0,16,0,0"
  33. FontSize="16"
  34. FontWeight="SemiBold"
  35. Foreground="{StaticResource color.sys.text.neutral.lv1}"
  36. Text="Make sure to delete the selected material?"
  37. TextWrapping="Wrap" />
  38. <TextBlock
  39. x:Name="ContentText"
  40. Margin="0,16"
  41. FontSize="14"
  42. Foreground="{StaticResource color.sys.text.neutral.lv1}"
  43. Text="Make sure to delete the selected material?"
  44. TextWrapping="Wrap" />
  45. </StackPanel>
  46. <Grid
  47. x:Name="BtnGrid"
  48. Grid.Row="1"
  49. Height="64">
  50. <Grid.ColumnDefinitions>
  51. <ColumnDefinition />
  52. <ColumnDefinition />
  53. <ColumnDefinition />
  54. </Grid.ColumnDefinitions>
  55. <CheckBox
  56. x:Name="ChbDonotAskAgain"
  57. Checked="ChbDonotAskAgain_Checked"
  58. Content="Don't ask again"
  59. Unchecked="ChbDonotAskAgain_Unchecked"
  60. Visibility="Collapsed" />
  61. <Button
  62. x:Name="CancelBtn"
  63. Grid.Column="2"
  64. Height="28"
  65. Margin="0,0,0,0"
  66. Click="CancelBtn_Click"
  67. Content="Cancel"
  68. FontSize="14"
  69. FontWeight="SemiBold"
  70. IsCancel="True"
  71. Style="{StaticResource btn.sec}" />
  72. <Button
  73. x:Name="MiddleCancelBtn"
  74. Grid.Column="1"
  75. Height="28"
  76. Margin="8,0,8,0"
  77. Click="MiddleCancelBtn_Click"
  78. Content="Do not Save"
  79. FontSize="14"
  80. FontWeight="SemiBold"
  81. Style="{StaticResource btn.sec}" />
  82. <Button
  83. x:Name="OkBtn"
  84. Grid.Column="0"
  85. Height="28"
  86. Margin="8,0,0,0"
  87. Click="OkBtn_Click"
  88. Content="Save"
  89. FontSize="14"
  90. FontWeight="SemiBold"
  91. IsDefault="True"
  92. Style="{StaticResource Btn.cta}" />
  93. </Grid>
  94. </Grid>
  95. </Border>
  96. </Window>