<Window x:Class="PDF_Office.CustomControl.AlertsMessage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PDF_Office.CustomControl" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Width="470" MinHeight="156" AllowsTransparency="True" Background="Transparent" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" WindowStartupLocation="CenterScreen" WindowStyle="None" mc:Ignorable="d"> <Border Height="auto" Background="White" BorderThickness="1" CornerRadius="6" BorderBrush="Gray" MouseLeftButtonDown="Border_PreviewMouseLeftButtonDown"> <Grid Margin="20,24,20,0"> <Grid.RowDefinitions> <RowDefinition Height="auto" /> <RowDefinition /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition /> </Grid.ColumnDefinitions> <StackPanel Grid.Column="0" Grid.ColumnSpan="2" VerticalAlignment="Center"> <TextBlock x:Name="TitleText" FontSize="14" FontWeight="SemiBold" Text="Make sure to delete the selected material?" TextWrapping="Wrap" /> <TextBlock x:Name="ContentText" Margin="0,4,0,0" FontSize="12" Text="Make sure to delete the selected material?" TextWrapping="Wrap" /> </StackPanel> <Grid x:Name="BtnGrid" Grid.Row="1" Grid.ColumnSpan="2"> <Grid.ColumnDefinitions> <ColumnDefinition /> <ColumnDefinition /> <ColumnDefinition /> </Grid.ColumnDefinitions> <Button x:Name="CancelBtn" Grid.Column="0" Height="28" Margin="0,0,0,0" BorderThickness="0" Click="CancelBtn_Click" Content="Cancel" FontSize="14" FontWeight="SemiBold" /> <Button x:Name="MiddleCancelBtn" Grid.Column="1" Height="28" Margin="8,0,0,0" BorderThickness="0" Click="MiddleCancelBtn_Click" Content="Do not Save" FontSize="14" FontWeight="SemiBold" /> <Button x:Name="OkBtn" Grid.Column="2" Height="28" Margin="8,0,0,0" BorderThickness="0" Click="OkBtn_Click" Content="Save" FontSize="14" FontWeight="SemiBold" /> </Grid> </Grid> </Border> </Window>