|
@@ -2,6 +2,7 @@
|
|
|
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:Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero2"
|
|
|
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"
|
|
@@ -12,39 +13,33 @@
|
|
|
ResizeMode="NoResize"
|
|
|
ShowInTaskbar="False"
|
|
|
SizeToContent="Height"
|
|
|
+ Style="{StaticResource DialogWindowStyle}"
|
|
|
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 Margin="16,0">
|
|
|
<Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="auto" />
|
|
|
- <RowDefinition />
|
|
|
+ <RowDefinition Height="*" />
|
|
|
+ <RowDefinition Height="auto " />
|
|
|
</Grid.RowDefinitions>
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition Width="Auto" />
|
|
|
- <ColumnDefinition />
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
- <StackPanel
|
|
|
- Grid.Column="0"
|
|
|
- Grid.ColumnSpan="2"
|
|
|
- VerticalAlignment="Center">
|
|
|
+ <StackPanel VerticalAlignment="Center">
|
|
|
<TextBlock
|
|
|
x:Name="TitleText"
|
|
|
- FontSize="14"
|
|
|
+ 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,4,0,0"
|
|
|
- FontSize="12"
|
|
|
+ Margin="0,16"
|
|
|
+ FontSize="14"
|
|
|
+ Foreground="{StaticResource color.sys.text.neutral.lv1}"
|
|
|
Text="Make sure to delete the selected material?"
|
|
|
TextWrapping="Wrap" />
|
|
|
</StackPanel>
|
|
@@ -52,7 +47,7 @@
|
|
|
<Grid
|
|
|
x:Name="BtnGrid"
|
|
|
Grid.Row="1"
|
|
|
- Grid.ColumnSpan="2">
|
|
|
+ Height="64">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition />
|
|
|
<ColumnDefinition />
|
|
@@ -96,6 +91,6 @@
|
|
|
Style="{StaticResource Btn.cta}" />
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
- </Border>
|
|
|
|
|
|
+ </Border>
|
|
|
</Window>
|