|
@@ -6,10 +6,11 @@
|
|
|
xmlns:local="clr-namespace:PDFViewer"
|
|
|
mc:Ignorable="d"
|
|
|
Title="Settings" Height="613" Width="418"
|
|
|
- ResizeMode="NoResize">
|
|
|
+ ResizeMode="NoResize"
|
|
|
+ Window.Loaded="SettingsDialog_Loaded">
|
|
|
<Window.Resources>
|
|
|
- <ResourceDictionary>
|
|
|
- <ResourceDictionary.MergedDictionaries>
|
|
|
+ <ResourceDictionary>
|
|
|
+ <ResourceDictionary.MergedDictionaries>
|
|
|
<ResourceDictionary Source="pack://application:,,,/Compdfkit_Tools;component/Asset/Styles/ComboBoxStyle.xaml"></ResourceDictionary>
|
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
<DropShadowEffect x:Key="HoverThumbEffect" BlurRadius="5" ShadowDepth="0" Opacity="0.5" Color="RoyalBlue"/>
|
|
@@ -72,8 +73,9 @@
|
|
|
</Setter>
|
|
|
</Style>
|
|
|
<Style x:Key="UnderlinedButtonStyle" TargetType="Button">
|
|
|
+ <EventSetter Event="Click" Handler="EventSetter_ClickHandler"/>
|
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
|
- <Setter Property="Foreground" Value="#1460F3"/>
|
|
|
+ <Setter Property="Foreground" Value="#1460F3"/>
|
|
|
<Setter Property="BorderBrush" Value="Transparent"/>
|
|
|
<Setter Property="FontFamily" Value="Segoe UI"></Setter>
|
|
|
<Setter Property="Template">
|
|
@@ -93,74 +95,99 @@
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
</Style>
|
|
|
- </ResourceDictionary>
|
|
|
+ </ResourceDictionary>
|
|
|
</Window.Resources>
|
|
|
<Grid Margin="24,0,24,0">
|
|
|
<Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="196"></RowDefinition>
|
|
|
- <RowDefinition Height="68"></RowDefinition>
|
|
|
- <RowDefinition Height="224"></RowDefinition>
|
|
|
+ <RowDefinition Height="106"></RowDefinition>
|
|
|
+ <RowDefinition Height="100"></RowDefinition>
|
|
|
+ <RowDefinition Height="29"></RowDefinition>
|
|
|
+ <RowDefinition Height="45"/>
|
|
|
+ <RowDefinition Height="186"></RowDefinition>
|
|
|
<RowDefinition Height="84"></RowDefinition>
|
|
|
</Grid.RowDefinitions>
|
|
|
- <StackPanel Margin="0,0,0,0">
|
|
|
- <TextBlock Text="Global setting" FontSize="14" FontWeight="DemiBold" FontFamily="Segoe UI" Margin="0,0,0,8"></TextBlock>
|
|
|
- <Grid Margin="0,0,0,8" Height="32">
|
|
|
- <TextBlock Text="Highlight Link area" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
- <ToggleButton Style="{StaticResource SliderSwitchToggleButtonStyle}" Height="32" HorizontalAlignment="Right"></ToggleButton>
|
|
|
- </Grid>
|
|
|
- <Grid Margin="0,0,0,8" Height="32">
|
|
|
- <TextBlock Text="Highlight Form area" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
- <ToggleButton Style="{StaticResource SliderSwitchToggleButtonStyle}" Height="32" HorizontalAlignment="Right"></ToggleButton>
|
|
|
- </Grid>
|
|
|
- <Grid Margin="0,0,0,8" Height="32">
|
|
|
- <TextBlock Text="Document Author" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
- <TextBox HorizontalAlignment="Right" Width="130"></TextBox>
|
|
|
+ <StackPanel Margin="10,10,0,0">
|
|
|
+ <Grid Margin="0,10,0,8" Height="32">
|
|
|
+ <TextBlock Text="Document Author" FontSize="14" FontWeight="DemiBold" FontFamily="Segoe UI" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
+ <TextBox x:Name="AuthorTxb" Padding="5,0,5,0" HorizontalAlignment="Right" VerticalContentAlignment="Center" Width="130">
|
|
|
+ </TextBox>
|
|
|
</Grid>
|
|
|
<Grid Height="32">
|
|
|
- <TextBlock Text="Document Author" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
- <ComboBox Style="{StaticResource ComboBoxStyle1}" HorizontalAlignment="Right" Width="130"></ComboBox>
|
|
|
+ <TextBlock Text="Language" FontSize="14" FontWeight="DemiBold" FontFamily="Segoe UI" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
+ <ComboBox x:Name="LanguageCmb" Style="{StaticResource ComboBoxStyle1}" HorizontalAlignment="Right" Width="130">
|
|
|
+ <ComboBoxItem IsSelected="True"></ComboBoxItem>
|
|
|
+ <ComboBoxItem>English</ComboBoxItem>
|
|
|
+ <ComboBoxItem>简体中文</ComboBoxItem>
|
|
|
+ <ComboBoxItem>繁體中文</ComboBoxItem>
|
|
|
+ <ComboBoxItem>日本語</ComboBoxItem>
|
|
|
+ <ComboBoxItem>한국어</ComboBoxItem>
|
|
|
+ <ComboBoxItem>Deutsch</ComboBoxItem>
|
|
|
+ <ComboBoxItem>Français</ComboBoxItem>
|
|
|
+ <ComboBoxItem>Italiano</ComboBoxItem>
|
|
|
+ <ComboBoxItem>Español</ComboBoxItem>
|
|
|
+ </ComboBox>
|
|
|
</Grid>
|
|
|
</StackPanel>
|
|
|
- <StackPanel Grid.Row="1">
|
|
|
- <TextBlock Text="SDK Information" FontSize="14" FontWeight="DemiBold" FontFamily="Segoe UI" Margin="0,0,0,8"></TextBlock>
|
|
|
- <Grid Margin="0,0,0,8" Height="32">
|
|
|
- <TextBlock Text="Highlight Link area" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
- <TextBlock HorizontalAlignment="Right" VerticalAlignment="Center" Text="V1.11.0"></TextBlock>
|
|
|
- </Grid>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Grid.Row="2">
|
|
|
- <TextBlock Text="Company Information" FontSize="14" FontWeight="DemiBold" FontFamily="Segoe UI" Margin="0,0,0,8"></TextBlock>
|
|
|
+ <Border Grid.Row="1" BorderThickness="1" BorderBrush="#1A000000">
|
|
|
+ <StackPanel Margin="10">
|
|
|
+ <Grid Margin="0,0,0,8" Height="32">
|
|
|
+ <TextBlock Text="Highlight Link area" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
+ <ToggleButton x:Name="HighlightLinkTog" Style="{StaticResource SliderSwitchToggleButtonStyle}" Height="32" HorizontalAlignment="Right"></ToggleButton>
|
|
|
+ </Grid>
|
|
|
+ <Grid Margin="0,0,0,8" Height="32">
|
|
|
+ <TextBlock Text="Highlight Form area" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
+ <ToggleButton x:Name="HighlightFormTog" Style="{StaticResource SliderSwitchToggleButtonStyle}" Height="32" HorizontalAlignment="Right"></ToggleButton>
|
|
|
+ </Grid>
|
|
|
+ </StackPanel>
|
|
|
+ </Border>
|
|
|
+ <TextBlock Text="Global setting" Background="White" Grid.Row="1" Height="20" Width="90" FontSize="14" HorizontalAlignment="Left" VerticalAlignment="Top" FontWeight="DemiBold" FontFamily="Segoe UI" Margin="10,-10,0,0"></TextBlock>
|
|
|
+
|
|
|
+ <Border BorderBrush="#1A000000" BorderThickness="1" Grid.Row="2" Grid.RowSpan="2" Margin="0,10,0,10">
|
|
|
+ <StackPanel Margin="10">
|
|
|
+ <Grid Margin="0,0,0,8" Height="32">
|
|
|
+ <TextBlock Text="Version" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
+ <TextBlock HorizontalAlignment="Right" VerticalAlignment="Center" Text="V1.11.0"></TextBlock>
|
|
|
+ </Grid>
|
|
|
+ </StackPanel>
|
|
|
+ </Border>
|
|
|
+ <TextBlock Text="SDK Information" Grid.Row="2" Background="#ffffff" Height="20" Width="110" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" FontWeight="DemiBold" FontFamily="Segoe UI" Margin="10,0,0,0"></TextBlock>
|
|
|
+
|
|
|
+ <Border BorderBrush="#1A000000" BorderThickness="1" Grid.Row="4" Margin="0,10,0,10">
|
|
|
+ <StackPanel Margin="10">
|
|
|
<Grid Margin="0,0,0,8" Height="20">
|
|
|
<TextBlock Text="Website" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
- <Button Style="{StaticResource UnderlinedButtonStyle}" HorizontalAlignment="Right" Content="https://www.compdf.com/"></Button>
|
|
|
+ <Button Style="{StaticResource UnderlinedButtonStyle}" HorizontalAlignment="Right" Tag="https://www.compdf.com/" Content="https://www.compdf.com/"></Button>
|
|
|
</Grid>
|
|
|
<Grid Margin="0,0,0,8" Height="20">
|
|
|
<TextBlock Text="About ComPDFKit" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
- <Button Style="{StaticResource UnderlinedButtonStyle}" Content="https://www.compdf.com/company/about" HorizontalAlignment="Right"></Button>
|
|
|
+ <Button Style="{StaticResource UnderlinedButtonStyle}" Tag="https://www.compdf.com/company/about" Content="https://www.compdf.com/company/about" HorizontalAlignment="Right"></Button>
|
|
|
</Grid>
|
|
|
<Grid Margin="0,0,0,8" Height="20">
|
|
|
<TextBlock Text="Contact Sales" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
- <Button Style="{StaticResource UnderlinedButtonStyle}" HorizontalAlignment="Right" Content="https://www.compdf.com/contact-sales"></Button>
|
|
|
+ <Button Style="{StaticResource UnderlinedButtonStyle}" HorizontalAlignment="Right" Tag="https://www.compdf.com/contact-sales" Content="https://www.compdf.com/contact-sales"></Button>
|
|
|
</Grid>
|
|
|
<Grid Margin="0,0,0,8" Height="20">
|
|
|
<TextBlock Text="Email Address" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
- <Button Style="{StaticResource UnderlinedButtonStyle}" HorizontalAlignment="Right" Content="support@compdf.com"></Button>
|
|
|
+ <Button Style="{StaticResource UnderlinedButtonStyle}" HorizontalAlignment="Right" Tag="" Content="support@compdf.com"></Button>
|
|
|
</Grid>
|
|
|
<Grid Margin="0,0,0,8" Height="20">
|
|
|
<TextBlock Text="Technical Support" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
|
|
|
- <Button Style="{StaticResource UnderlinedButtonStyle}" HorizontalAlignment="Right" Content="https://www.compdf.com/support"></Button>
|
|
|
+ <Button Style="{StaticResource UnderlinedButtonStyle}" HorizontalAlignment="Right" Tag="https://www.compdf.com/support" Content="https://www.compdf.com/support"></Button>
|
|
|
</Grid>
|
|
|
</StackPanel>
|
|
|
- <Grid Grid.Row="3" Margin="0,0,0,40">
|
|
|
+ </Border>
|
|
|
+ <TextBlock Text="Company Information" FontSize="14" Grid.Row="4" Background="#ffffff" Height="20" Width="140" HorizontalAlignment="Left" VerticalAlignment="Top" FontWeight="DemiBold" FontFamily="Segoe UI" Margin="10,0,0,8"></TextBlock>
|
|
|
+
|
|
|
+ <Grid Grid.Row="5" Margin="0,0,0,40">
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="auto"></RowDefinition>
|
|
|
<RowDefinition></RowDefinition>
|
|
|
</Grid.RowDefinitions>
|
|
|
<TextBlock Text="@ 2014-2023 PDF Technologies, Inc. All Rights Reserved." HorizontalAlignment="Center" Foreground="#999999" FontFamily="Segoe UI"></TextBlock>
|
|
|
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Bottom" Grid.Row="1" Orientation="Horizontal">
|
|
|
- <Button Style="{StaticResource UnderlinedButtonStyle}" Content="Privacy Policy"></Button>
|
|
|
+ <StackPanel HorizontalAlignment="Center" VerticalAlignment="Bottom" Grid.Row="2" Orientation="Horizontal">
|
|
|
+ <Button Style="{StaticResource UnderlinedButtonStyle}" Tag="https://www.compdf.com/privacy-policy/" Content="Privacy Policy"></Button>
|
|
|
<Rectangle Width="1" Height="15" Fill="#1A000000" Margin="10,0,10,0"></Rectangle>
|
|
|
- <Button Style="{StaticResource UnderlinedButtonStyle}" Content="Terms of Service"></Button>
|
|
|
+ <Button Style="{StaticResource UnderlinedButtonStyle}" Tag="https://www.compdf.com/terms-of-service" Content="Terms of Service"></Button>
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
|
</Grid>
|