<Window x:Class="PDF_Office.Views.Dialog.PropertiesDialog" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:cus="clr-namespace:PDF_Office.CustomControl" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:dataconvert="clr-namespace:PDF_Office.DataConvert" xmlns:dialog="clr-namespace:PDF_Office.ViewModels.Dialog" xmlns:local="clr-namespace:PDF_Office.Views.Dialog" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:prism="http://prismlibrary.com/" Width="457" Height="674" prism:ViewModelLocator.AutoWireViewModel="True" Style="{StaticResource WindowStyle}" ResizeMode="CanMinimize" WindowStartupLocation="CenterScreen" mc:Ignorable="d"> <Window.Resources> <ResourceDictionary> <dataconvert:UnVisivleConvert x:Key="UnvisibleConvert" /> <Style x:Key="Label" TargetType="Label"> <Setter Property="Foreground" Value="{StaticResource color.sys.text.neutral.lv2}" /> <Setter Property="VerticalAlignment" Value="Center" /> <Setter Property="FontSize" Value="12" /> <Setter Property="FontWeight" Value="Bold" /> </Style> <Style x:Key="Label2" TargetType="Label"> <Setter Property="Foreground" Value="{StaticResource color.sys.text.neutral.lv2}" /> <Setter Property="VerticalAlignment" Value="Center" /> <Setter Property="FontSize" Value="14" /> <Setter Property="Margin" Value="8,8,8,0" /> </Style> <Style x:Key="TextBlock" TargetType="TextBlock"> <Setter Property="Foreground" Value="{StaticResource color.sys.text.neutral.lv1}" /> <Setter Property="VerticalAlignment" Value="Center" /> <Setter Property="FontSize" Value="14" /> <Setter Property="Margin" Value="8,8,8,0" /> </Style> </ResourceDictionary> </Window.Resources> <Grid> <Grid.RowDefinitions> <RowDefinition Height="40" /> <RowDefinition /> </Grid.RowDefinitions> <TextBlock Width="550" Margin="16,6" HorizontalAlignment="Left" VerticalAlignment="Center" FontFamily="Segoe UI" FontSize="16" FontWeight="Bold" Foreground="{StaticResource color.sys.text.neutral.lv1}" Text="Preferences" /> <StackPanel Name="StkPnlRight" HorizontalAlignment="Right" Orientation="Horizontal" WindowChrome.IsHitTestVisibleInChrome="True"> <Button Name="BtnClose" Width="40" Height="40" Background="Transparent" BorderThickness="0" Click="BtnClose_Click" Style="{StaticResource CloseBtn}"> <Polygon Fill="{StaticResource color.btn.sec.text.def}" Points="11.2919922 12 12 11.2919922 6.70800781 6 12 0.708007813 11.2919922 0 6 5.29199219 0.708007812 9.76996262e-15 -2.27456942e-13 0.708007813 5.29199219 6 0 11.2919922 0.708007812 12 6 6.70800781" /> </Button> </StackPanel> <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto"> <StackPanel Margin="16,6"> <Label Content="Abstract" Style="{StaticResource Label}" /> <Border Margin="0,10" Background="{StaticResource color.sys.layout.mg}" CornerRadius="6"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="125" /> <ColumnDefinition /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> </Grid.RowDefinitions> <Label Content="Name" Style="{StaticResource Label2}" /> <TextBlock Grid.Column="1" Style="{StaticResource TextBlock}" Text="PDF Office Quick Guide.pdf" /> <Label Grid.Row="1" Content="Size" Style="{StaticResource Label2}" /> <TextBlock Grid.Row="1" Grid.Column="1" Style="{StaticResource TextBlock}" Text="168.9kb" /> <Label Grid.Row="2" Content="Title" Style="{StaticResource Label2}" /> <TextBlock Grid.Row="2" Grid.Column="1" Style="{StaticResource TextBlock}" Text="" /> <Label Grid.Row="3" Content="Author" Style="{StaticResource Label2}" /> <TextBlock Grid.Row="3" Grid.Column="1" Style="{StaticResource TextBlock}" Text="" /> <Label Grid.Row="4" Margin="8" Content="Location" Style="{StaticResource Label2}" /> <TextBlock Grid.Row="4" Grid.Column="1" Margin="8" Foreground="{StaticResource color.btn.link.text.norm}" Style="{StaticResource TextBlock}" Text="C/User/Desktop/pdfoffice/PDF Office Quick Guide.pdf" /> </Grid> </Border> <Label Content="Create Message" Style="{StaticResource Label}" /> <Border Margin="0,10" Background="{StaticResource color.sys.layout.mg}" CornerRadius="6"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="125" /> <ColumnDefinition /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> </Grid.RowDefinitions> <Label Content="Versions" Style="{StaticResource Label2}" /> <TextBlock Grid.Column="1" Style="{StaticResource TextBlock}" Text="1.0" /> <Label Grid.Row="1" Content="Page" Style="{StaticResource Label2}" /> <TextBlock Grid.Row="1" Grid.Column="1" Style="{StaticResource TextBlock}" Text="1" /> <Label Grid.Row="2" Content="Creator" Style="{StaticResource Label2}" /> <TextBlock Grid.Row="2" Grid.Column="1" Style="{StaticResource TextBlock}" Text="PDF Office" /> <Label Grid.Row="3" Content="Producer" Style="{StaticResource Label2}" /> <TextBlock Grid.Row="3" Grid.Column="1" Style="{StaticResource TextBlock}" Text="Windows Version 11" /> <Label Grid.Row="4" Content="Creation Date" Style="{StaticResource Label2}" /> <TextBlock Grid.Row="4" Grid.Column="1" Style="{StaticResource TextBlock}" Text="" /> <Label Grid.Row="5" Margin="8" Content="Modify date" Style="{StaticResource Label2}" /> <TextBlock Grid.Row="5" Grid.Column="1" Margin="8" Style="{StaticResource TextBlock}" Text="" /> </Grid> </Border> <Label Content="Permissions" Style="{StaticResource Label}" /> <Border Margin="0,10" Background="{StaticResource color.sys.layout.mg}" CornerRadius="6"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="125" /> <ColumnDefinition /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition /> <RowDefinition /> <RowDefinition /> </Grid.RowDefinitions> <Label Content="Encrypted" Style="{StaticResource Label2}" /> <TextBlock Grid.Column="1" Style="{StaticResource TextBlock}" Text="No" /> <Label Grid.Row="1" Content="Unlocked" Style="{StaticResource Label2}" /> <TextBlock Grid.Row="1" Grid.Column="1" Style="{StaticResource TextBlock}" Text="Yes" /> <Label Grid.Row="2" Content="Allow Copying" Style="{StaticResource Label2}" /> <TextBlock Grid.Row="2" Grid.Column="1" Style="{StaticResource TextBlock}" Text="Yes" /> <Label Grid.Row="3" Margin="8" Content="Allow printing" Style="{StaticResource Label2}" /> <TextBlock Grid.Row="3" Grid.Column="1" Margin="8" Style="{StaticResource TextBlock}" Text="Yes" /> </Grid> </Border> </StackPanel> </ScrollViewer> </Grid> </Window>