123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- <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"
- MinWidth="400"
- MinHeight="156"
- MaxWidth="500"
- Background="Transparent"
- ResizeMode="NoResize"
- ShowInTaskbar="False"
- SizeToContent="WidthAndHeight"
- Style="{StaticResource DialogWindowStyle}"
- WindowStartupLocation="CenterScreen"
- mc:Ignorable="d">
- <Border
- Height="auto"
- HorizontalAlignment="Stretch"
- Background="White"
- CornerRadius="6"
- MouseLeftButtonDown="Border_PreviewMouseLeftButtonDown">
- <Grid Margin="16,0" HorizontalAlignment="Stretch">
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="auto " />
- </Grid.RowDefinitions>
- <StackPanel VerticalAlignment="Center">
- <StackPanel
- Margin="0,16,0,0"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <Grid
- Name="GridIcon"
- Width="24"
- Height="24"
- Margin="0,0,8,0"
- Visibility="Collapsed">
- <Image
- x:Name="ImgTips"
- Source="pack://application:,,,/Resources/Dialog/Tips.png"
- Visibility="Collapsed" />
- </Grid>
- <TextBlock
- x:Name="TitleText"
- Width="Auto"
- FontSize="16"
- FontWeight="SemiBold"
- Foreground="{StaticResource color.sys.text.neutral.lv1}"
- Text="Make sure to delete the selected material?"
- TextWrapping="Wrap" />
- </StackPanel>
- <TextBlock
- x:Name="ContentText"
- Width="Auto"
- 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">
- <CheckBox
- x:Name="ChbDonotAskAgain"
- Checked="ChbDonotAskAgain_Checked"
- Content="Don't ask again"
- Unchecked="ChbDonotAskAgain_Unchecked"
- Visibility="Collapsed" />
- <StackPanel
- Margin="0,0,-4,0"
- HorizontalAlignment="Right"
- Orientation="Horizontal">
- <Button
- x:Name="OkBtn"
- Grid.Column="0"
- Height="28"
- MinWidth="80"
- Margin="4,0"
- Padding="8,0"
- HorizontalAlignment="Center"
- Click="OkBtn_Click"
- Content="Save"
- FontSize="14"
- FontWeight="SemiBold"
- IsDefault="True"
- Style="{StaticResource Btn.cta}" />
- <Button
- x:Name="MiddleCancelBtn"
- Grid.Column="1"
- Height="28"
- MinWidth="80"
- Margin="4,0"
- Padding="8,0"
- HorizontalAlignment="Center"
- Click="MiddleCancelBtn_Click"
- Content="Do not Save"
- FontSize="14"
- FontWeight="SemiBold"
- Style="{StaticResource btn.sec}" />
- <Button
- x:Name="CancelBtn"
- Grid.Column="2"
- Height="28"
- MinWidth="80"
- Margin="4,0"
- Padding="8,0"
- HorizontalAlignment="Center"
- Click="CancelBtn_Click"
- Content="Cancel"
- FontSize="14"
- FontWeight="SemiBold"
- IsCancel="True"
- Style="{StaticResource btn.sec}" />
- </StackPanel>
- </Grid>
- </Grid>
- </Border>
- </Window>
|