AlertsMessage.xaml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. BorderThickness="1"
  22. CornerRadius="6"
  23. BorderBrush="Gray"
  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. <Button
  61. x:Name="CancelBtn"
  62. Grid.Column="0"
  63. Height="28"
  64. Margin="0,0,0,0"
  65. BorderThickness="0"
  66. Click="CancelBtn_Click"
  67. Content="Cancel"
  68. FontSize="14"
  69. FontWeight="SemiBold" />
  70. <Button
  71. x:Name="MiddleCancelBtn"
  72. Grid.Column="1"
  73. Height="28"
  74. Margin="8,0,0,0"
  75. BorderThickness="0"
  76. Click="MiddleCancelBtn_Click"
  77. Content="Do not Save"
  78. FontSize="14"
  79. FontWeight="SemiBold" />
  80. <Button
  81. x:Name="OkBtn"
  82. Grid.Column="2"
  83. Height="28"
  84. Margin="8,0,0,0"
  85. BorderThickness="0"
  86. Click="OkBtn_Click"
  87. Content="Save"
  88. FontSize="14"
  89. FontWeight="SemiBold" />
  90. </Grid>
  91. </Grid>
  92. </Border>
  93. </Window>