123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <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"
- BorderBrush="Gray"
- BorderThickness="1"
- CornerRadius="6"
- 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>
- <CheckBox
- x:Name="ChbDonotAskAgain"
- Checked="ChbDonotAskAgain_Checked"
- Content="Don't ask again"
- Unchecked="ChbDonotAskAgain_Unchecked"
- Visibility="Collapsed" />
- <Button
- x:Name="CancelBtn"
- Grid.Column="2"
- Height="28"
- Margin="0,0,0,0"
- Click="CancelBtn_Click"
- Content="Cancel"
- FontSize="14"
- FontWeight="SemiBold"
- Style="{StaticResource btn.sec}" />
- <Button
- x:Name="MiddleCancelBtn"
- Grid.Column="1"
- Height="28"
- Margin="8,0,8,0"
- Click="MiddleCancelBtn_Click"
- Content="Do not Save"
- FontSize="14"
- FontWeight="SemiBold"
- Style="{StaticResource btn.sec}" />
- <Button
- x:Name="OkBtn"
- Grid.Column="0"
- Height="28"
- Margin="8,0,0,0"
- Click="OkBtn_Click"
- Content="Save"
- FontSize="14"
- FontWeight="SemiBold"
- Style="{StaticResource Btn.cta}" />
- </Grid>
- </Grid>
- </Border>
- </Window>
|