123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <Window
- x:Class="PDF_Master.CustomControl.AlertsMessage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero2"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:PDF_Master.CustomControl"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- Width="470"
- MinHeight="156"
- AllowsTransparency="True"
- Background="Transparent"
- ResizeMode="NoResize"
- ShowInTaskbar="False"
- SizeToContent="Height"
- Style="{StaticResource DialogWindowStyle}"
- WindowStartupLocation="CenterScreen"
- mc:Ignorable="d">
- <Border
- Height="auto"
- Background="White"
- CornerRadius="6"
- MouseLeftButtonDown="Border_PreviewMouseLeftButtonDown">
- <Grid Margin="16,0">
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="auto " />
- </Grid.RowDefinitions>
- <StackPanel VerticalAlignment="Center">
- <TextBlock
- x:Name="TitleText"
- Margin="0,16,0,0"
- FontSize="16"
- FontWeight="SemiBold"
- Foreground="{StaticResource color.sys.text.neutral.lv1}"
- Text="Make sure to delete the selected material?"
- TextWrapping="Wrap" />
- <TextBlock
- x:Name="ContentText"
- Margin="0,16"
- FontSize="14"
- Foreground="{StaticResource color.sys.text.neutral.lv1}"
- Text="Make sure to delete the selected material?"
- TextWrapping="Wrap" />
- </StackPanel>
- <Grid
- x:Name="BtnGrid"
- Grid.Row="1"
- Height="64">
- <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>
|