Change: Application theme fit better windows 11 style

This commit is contained in:
Adrien Allard committed 2024-03-04 22:02:18 +01:00
1 parent 630187ebdf
commit ecf434c891
5 files changed
+228 -63

No files matched your search

@@ -11,57 +11,58 @@
<d:DesignProperties.DataContext>
<conversionJobs:ConversionJob />
</d:DesignProperties.DataContext>
<Grid Background="{Binding State, Converter={StaticResource ConversionStateToBrush}, ConverterParameter=Background}" Margin="0,4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="64"/>
</Grid.ColumnDefinitions>
<Grid Margin="10" Grid.Column="0">
<Grid.RowDefinitions>
<RowDefinition Height="20" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Border BorderBrush="#FF000000" BorderThickness="0" CornerRadius="8" Background="{Binding State, Converter={StaticResource ConversionStateToBrush}, ConverterParameter=Background}">
<Grid Margin="0,4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2.5*" MinWidth="300" />
<ColumnDefinition Width="*" MinWidth="100" />
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="64"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" Text="{Binding OutputFilePath}" FontWeight="Bold" />
<Grid Margin="10" Grid.Column="0">
<Grid.RowDefinitions>
<RowDefinition Height="20" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2.5*" MinWidth="300" />
<ColumnDefinition Width="*" MinWidth="100" />
</Grid.ColumnDefinitions>
<StackPanel Grid.Row="1" Grid.Column="0" Margin="10,0,0,0">
<WrapPanel>
<TextBlock Text="{x:Static project:Resources.ConvertedFrom}" FontSize="11" FontStyle="Italic" Margin="0,0,5,0" />
<TextBlock Text="{Binding InputFilePath}" FontSize="11" FontStyle="Italic" />
</WrapPanel>
<TextBlock Text="{Binding ErrorMessage}" Foreground="{Binding State, ConverterParameter=Foreground, Converter={StaticResource ConversionStateToBrush}}" FontSize="14" />
</StackPanel>
<TextBlock Grid.Row="0" Grid.Column="0" Text="{Binding OutputFilePath}" Foreground="#DD000000" FontWeight="Bold" />
<TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding UserState}" FontWeight="Bold" Foreground="{Binding State, ConverterParameter=Foreground, Converter={StaticResource ConversionStateToBrush}}" />
<StackPanel Grid.Row="1" Grid.Column="0" Margin="10,0,0,0">
<WrapPanel>
<TextBlock Text="{x:Static project:Resources.ConvertedFrom}" Foreground="#AA000000" FontSize="11" FontStyle="Italic" Margin="0,0,5,0" />
<TextBlock Text="{Binding InputFilePath}" Foreground="#AA000000" FontSize="11" FontStyle="Italic" />
</WrapPanel>
<TextBlock Text="{Binding ErrorMessage}" Foreground="{Binding State, ConverterParameter=Foreground, Converter={StaticResource ConversionStateToBrush}}" FontSize="14" />
</StackPanel>
<StackPanel Grid.Row="1" Grid.Column="1">
<ProgressBar Height="18" Width="Auto" Minimum="0" Maximum="1" SmallChange="0.001" Value="{Binding Progress, Mode=OneWay}" Foreground="{Binding State, ConverterParameter=Foreground, Converter={StaticResource ConversionStateToBrush}, Mode=OneWay}" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" MinWidth="100" LargeChange="0.1" />
<TextBlock Foreground="{Binding State, ConverterParameter=Foreground, Converter={StaticResource ConversionStateToBrush}}">
<TextBlock.Text>
<MultiBinding Converter="{StaticResource ConversionJobToEstimatedRemainingDuration}" Mode="OneWay">
<Binding Path="State" Mode="OneWay"/>
<Binding Path="StartTime" Mode="OneWay"/>
<Binding Path="Progress" Mode="OneWay"/>
</MultiBinding>
</TextBlock.Text>
</TextBlock>
</StackPanel>
<TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding UserState}" FontWeight="Bold" Foreground="{Binding State, ConverterParameter=Foreground, Converter={StaticResource ConversionStateToBrush}}" />
<StackPanel Grid.Row="1" Grid.Column="1">
<ProgressBar Height="18" Width="Auto" Minimum="0" Maximum="1" SmallChange="0.001" Value="{Binding Progress, Mode=OneWay}" Foreground="{Binding State, ConverterParameter=Foreground, Converter={StaticResource ConversionStateToBrush}, Mode=OneWay}" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" MinWidth="100" LargeChange="0.1" />
<TextBlock Foreground="{Binding State, ConverterParameter=Foreground, Converter={StaticResource ConversionStateToBrush}}">
<TextBlock.Text>
<MultiBinding Converter="{StaticResource ConversionJobToEstimatedRemainingDuration}" Mode="OneWay">
<Binding Path="State" Mode="OneWay"/>
<Binding Path="StartTime" Mode="OneWay"/>
<Binding Path="Progress" Mode="OneWay"/>
</MultiBinding>
</TextBlock.Text>
</TextBlock>
</StackPanel>
</Grid>
<Button Margin="3" Grid.Column="1" Height="57"
Visibility="{Binding State, ConverterParameter=|InProgress|Collapsed, Converter={StaticResource EnumEqualsToVisibility}}"
Command="{Binding CancelCommand}" ToolTip="{x:Static project:Resources.CancelJobTooltip}">
<Image Source="/FileConverter;component/Resources/CancelIcon.png" Width="48" Height="48" Style="{StaticResource EnableDisableImageStyle}" />
</Button>
<Image Margin="3" Grid.Column="1" Source="/FileConverter;component/Resources/SuccessIcon.png" Width="48" Height="48"
Visibility="{Binding State, ConverterParameter=|Done|Collapsed, Converter={StaticResource EnumEqualsToVisibility}}"/>
<Image Margin="3" Grid.Column="1" Source="/FileConverter;component/Resources/FailIcon.png" Width="48" Height="48"
Visibility="{Binding State, ConverterParameter=|Failed|Collapsed, Converter={StaticResource EnumEqualsToVisibility}}"/>
</Grid>
<Button Margin="3" Grid.Column="1" Height="57"
Visibility="{Binding State, ConverterParameter=|InProgress|Collapsed, Converter={StaticResource EnumEqualsToVisibility}}"
Command="{Binding CancelCommand}" ToolTip="{x:Static project:Resources.CancelJobTooltip}">
<Image Source="/FileConverter;component/Resources/CancelIcon.png" Width="48" Height="48"
Style="{StaticResource EnableDisableImageStyle}" />
</Button>
<Image Margin="3" Grid.Column="1" Source="/FileConverter;component/Resources/SuccessIcon.png" Width="48" Height="48"
Visibility="{Binding State, ConverterParameter=|Done|Collapsed, Converter={StaticResource EnumEqualsToVisibility}}"/>
<Image Margin="3" Grid.Column="1" Source="/FileConverter;component/Resources/FailIcon.png" Width="48" Height="48"
Visibility="{Binding State, ConverterParameter=|Failed|Collapsed, Converter={StaticResource EnumEqualsToVisibility}}"/>
</Grid>
</Border>
</UserControl>
@@ -45,10 +45,10 @@
<Label Content="{x:Static project:Resources.ConversionQueueTitle}" VerticalAlignment="Center" FontSize="18" FontWeight="Bold"/>
<Label Content="{Binding InformationMessage}" VerticalAlignment="Center" FontSize="13.333" HorizontalAlignment="Right"/>
</DockPanel>
<Button Grid.Column="1" Margin="3" Command="{Binding ShowDiagnosticsCommand}" ToolTip="{x:Static project:Resources.DiagnosticsButtonTooltip}">
<Button Grid.Column="1" Margin="3" Command="{Binding ShowDiagnosticsCommand}" ToolTip="{x:Static project:Resources.DiagnosticsButtonTooltip}" Style="{StaticResource TileButton}">
<Image HorizontalAlignment="Left" Height="48" Width="48" VerticalAlignment="Top" Source="/Resources/LogIcon.png" />
</Button>
<Button Grid.Column="2" Margin="3" Command="{Binding ShowSettingsCommand}" ToolTip="{x:Static project:Resources.SettingsButtonTooltip}">
<Button Grid.Column="2" Margin="3" Command="{Binding ShowSettingsCommand}" ToolTip="{x:Static project:Resources.SettingsButtonTooltip}" Style="{StaticResource TileButton}">
<Image HorizontalAlignment="Left" Height="48" Width="48" VerticalAlignment="Top" Source="/Resources/SettingsIcon.ico" />
</Button>
</Grid>
@@ -23,6 +23,63 @@
<Color x:Key="SuccessBackgroundColor">#BFFAE8</Color>
<Color x:Key="ErrorBackgroundColor">#FFD4D1</Color>
<Color x:Key="Button_BackgroundColor">#FDFDFD</Color>
<Color x:Key="Button_BorderColor">#D0D0D0</Color>
<Color x:Key="Button_MouseOver_BackgroundColor">#E0EEF9</Color>
<Color x:Key="Button_MouseOver_BorderColor">#0078D4</Color>
<Color x:Key="Button_Pressed_BackgroundColor">#CCE4F7</Color>
<Color x:Key="Button_Pressed_BorderColor">#005499</Color>
<Color x:Key="TileButton_MouseOver_BackgroundColor">#F3EFED</Color>
<Color x:Key="TileButton_MouseOver_BorderColor">#D3D0CE</Color>
<Color x:Key="TileButton_Pressed_BackgroundColor">#F1F4F6</Color>
<Color x:Key="TileButton_Pressed_BorderColor">#00FFFFFF</Color>
<Color x:Key="Window_Background">#FCF8F6</Color>
<Color x:Key="TabItem_BackgroundColor">#DDDDDD</Color>
<Color x:Key="TabItem_BorderColor">#D0D0D0</Color>
<Color x:Key="TabItem_IsSelected_BackgroundColor">#FFFFFF</Color>
<Color x:Key="TabItem_IsSelected_BorderColor">#CFCFCF</Color>
<Color x:Key="TransparentColor">#00FFFFFF</Color>
<Color x:Key="WindowBackgroundColor">#FCF8F6</Color>
<Color x:Key="ControlBackgroundColor">#FFFFFF</Color>
<Color x:Key="ControlBorderColor">#D0D0D0</Color>
<!-- Custom styles colors -->
<SolidColorBrush x:Key="Button_BackgroundBrush" Color="{StaticResource Button_BackgroundColor}" />
<SolidColorBrush x:Key="Button_BorderBrush" Color="{StaticResource Button_BorderColor}" />
<SolidColorBrush x:Key="Button_IsMouseOver_BackgroundBrush" Color="{StaticResource Button_MouseOver_BackgroundColor}" />
<SolidColorBrush x:Key="Button_IsMouseOver_BorderBrush" Color="{StaticResource Button_MouseOver_BorderColor}" />
<SolidColorBrush x:Key="Button_IsPressed_BackgroundBrush" Color="{StaticResource Button_Pressed_BackgroundColor}" />
<SolidColorBrush x:Key="Button_IsPressed_BorderBrush" Color="{StaticResource Button_Pressed_BorderColor}" />
<SolidColorBrush x:Key="Hyperlink_ForegroundBrush" Color="{StaticResource MainColor}" />
<SolidColorBrush x:Key="TabControl_BackgroundBrush" Color="{StaticResource ControlBackgroundColor}" />
<SolidColorBrush x:Key="TabControl_BorderBrush" Color="{StaticResource ControlBorderColor}" />
<SolidColorBrush x:Key="TabItem_BackgroundBrush" Color="{StaticResource ControlBorderColor}" />
<SolidColorBrush x:Key="TabItem_BorderBrush" Color="{StaticResource TransparentColor}" />
<SolidColorBrush x:Key="TabItem_IsSelected_BackgroundBrush" Color="{StaticResource ControlBackgroundColor}" />
<SolidColorBrush x:Key="TabItem_IsSelected_BorderBrush" Color="{StaticResource ControlBorderColor}" />
<SolidColorBrush x:Key="TextBox_BackgroundBrush" Color="{StaticResource ControlBackgroundColor}" />
<SolidColorBrush x:Key="TileButton_BackgroundBrush" Color="{StaticResource TransparentColor}" />
<SolidColorBrush x:Key="TileButton_BorderBrush" Color="{StaticResource TransparentColor}" />
<SolidColorBrush x:Key="TileButton_IsMouseOver_BackgroundBrush" Color="{StaticResource TileButton_MouseOver_BackgroundColor}" />
<SolidColorBrush x:Key="TileButton_IsMouseOver_BorderBrush" Color="{StaticResource TileButton_MouseOver_BorderColor}" />
<SolidColorBrush x:Key="TileButton_IsPressed_BackgroundBrush" Color="{StaticResource TileButton_Pressed_BackgroundColor}" />
<SolidColorBrush x:Key="TileButton_IsPressed_BorderBrush" Color="{StaticResource TileButton_Pressed_BorderColor}" />
<SolidColorBrush x:Key="TreeView_BackgroundBrush" Color="{StaticResource ControlBackgroundColor}" />
<SolidColorBrush x:Key="TreeView_BorderBrush" Color="{StaticResource ControlBorderColor}" />
<SolidColorBrush x:Key="Window_BackgroundBrush" Color="{StaticResource WindowBackgroundColor}" />
<SolidColorBrush x:Key="MainLighterBrush" Color="{StaticResource MainLighterColor}" />
<SolidColorBrush x:Key="MainLightBrush" Color="{StaticResource MainLightColor}" />
<SolidColorBrush x:Key="MainBrush" Color="{StaticResource MainColor}" />
@@ -35,6 +92,7 @@
<SolidColorBrush x:Key="BackgroundBrush" Color="{StaticResource BackgroundColor}" />
<SolidColorBrush x:Key="AccentBackgroundBrush" Color="{StaticResource AccentBackgroundColor}" />
<SolidColorBrush x:Key="DimBackgroundBrush" Color="{StaticResource DimBackgroundColor}" />
<SolidColorBrush x:Key="DarkBackgroundBrush" Color="{StaticResource DarkBackgroundColor}" />
<SolidColorBrush x:Key="ErrorForegroundBrush" Color="{StaticResource ErrorForegroundColor}" />
@@ -17,12 +17,12 @@
<Setter.Value>
<ControlTemplate>
<DockPanel LastChildFill="true">
<Border Background="#F44336" DockPanel.Dock="right" Margin="5,0,0,0" Width="20" Height="20" CornerRadius="10"
<Border Background="{DynamicResource AccentForegroundBrush}" DockPanel.Dock="right" Margin="5,0,0,0" Width="20" Height="20" CornerRadius="10"
ToolTip="{Binding AdornedElement.(Validation.Errors)[0].ErrorContent, ElementName=customAdorner}">
<TextBlock Text="!" VerticalAlignment="center" HorizontalAlignment="center" FontWeight="Bold" Foreground="white"/>
</Border>
<AdornedElementPlaceholder x:Name="customAdorner" VerticalAlignment="Center" >
<Border BorderBrush="#F44336" BorderThickness="1" />
<Border BorderBrush="{DynamicResource AccentForegroundBrush}" BorderThickness="1" />
</AdornedElementPlaceholder>
</DockPanel>
</ControlTemplate>
@@ -31,10 +31,73 @@
</Style>
<!-- Button -->
<Style TargetType="{x:Type Button}">
<Setter Property="Background" Value="{StaticResource DarkBackgroundBrush}"/>
<Setter Property="BorderBrush" Value="{StaticResource LighterForegroundBrush}"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Button}">
<Grid x:Name="grid">
<Border x:Name="border" CornerRadius="3" BorderThickness="1"
Background="{DynamicResource Button_BackgroundBrush}"
BorderBrush="{DynamicResource Button_BorderBrush}">
</Border>
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center"
TextElement.FontWeight="Normal">
</ContentPresenter>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" TargetName="border" Value="{DynamicResource Button_IsMouseOver_BackgroundBrush}" />
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource Button_IsMouseOver_BorderBrush}" />
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter Property="Background" TargetName="border" Value="{DynamicResource Button_IsPressed_BackgroundBrush}" />
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource Button_IsPressed_BorderBrush}" />
</Trigger>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Opacity" TargetName="grid" Value="0.25"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="TileButton" TargetType="{x:Type Button}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Button}">
<Grid x:Name="grid">
<Border x:Name="border" CornerRadius="8" BorderThickness="1"
Background="{DynamicResource TileButton_BackgroundBrush}"
BorderBrush="{DynamicResource TileButton_BorderBrush}">
</Border>
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center"
TextElement.FontWeight="Normal">
</ContentPresenter>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" TargetName="border" Value="{DynamicResource TileButton_IsMouseOver_BackgroundBrush}" />
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource TileButton_IsMouseOver_BorderBrush}" />
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter Property="Background" TargetName="border" Value="{DynamicResource TileButton_IsPressed_BackgroundBrush}" />
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource TileButton_IsPressed_BorderBrush}" />
</Trigger>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Opacity" TargetName="grid" Value="0.25"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style TargetType="{x:Type Hyperlink}">
<Setter Property="Foreground" Value="{DynamicResource Hyperlink_ForegroundBrush}" />
</Style>
<Style TargetType="{x:Type controls:IconButton}">
@@ -69,5 +132,44 @@
</Setter>
</Style>
<Style TargetType="{x:Type TabItem}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="TabItem">
<Border Name="border" BorderThickness="1,1,1,0" CornerRadius="3,3,0,0"
Background="{DynamicResource TabItem_BackgroundBrush}"
BorderBrush="{DynamicResource TabItem_BorderBrush}">
<ContentPresenter x:Name="contentSite"
VerticalAlignment="Center"
HorizontalAlignment="Center"
ContentSource="Header"
Margin="18,4"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" TargetName="border" Value="{DynamicResource TabItem_IsSelected_BackgroundBrush}" />
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource TabItem_IsSelected_BorderBrush}" />
<Setter Property="TextElement.FontWeight" TargetName="contentSite" Value="Bold" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style TargetType="{x:Type TabControl}">
<Setter Property="Background" Value="{DynamicResource TabControl_BackgroundBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource TabControl_BorderBrush}" />
</Style>
<Style TargetType="{x:Type TreeView}">
<Setter Property="Background" Value="{DynamicResource TreeView_BackgroundBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource TreeView_BorderBrush}" />
</Style>
<Style TargetType="{x:Type Window}">
<Setter Property="Background" Value="{DynamicResource Window_BackgroundBrush}" />
</Style>
</ResourceDictionary>
@@ -213,7 +213,7 @@
<Grid.RowDefinitions>
<RowDefinition Height="53"/>
<RowDefinition Height="*"/>
<RowDefinition Height="28"/>
<RowDefinition Height="30"/>
</Grid.RowDefinitions>
<!-- Header -->
@@ -229,11 +229,11 @@
<Label Grid.Column="1" Content="{x:Static project:Resources.Settings}" FontSize="20" Margin="4" VerticalAlignment="Center" />
</Grid>
<TabControl Grid.Row="1">
<!-- Conversion presets settings -->
<TabItem Header="{x:Static project:Resources.ConversionPresets}">
<TabItem Header="{x:Static project:Resources.ConversionPresets}" Height="28">
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
@@ -344,7 +344,7 @@
</TreeView>
<TextBlock Margin="4" Grid.Row="1">
<Hyperlink CommandParameter="https://github.com/Tichau/FileConverter/wiki/How-to-create-a-new-custom-preset%3F" Command="{Binding OpenUrlCommand, Mode=OneWay}" Foreground="{StaticResource HyperlinkBrush}"><x:Static Member="project:Resources.Help" /></Hyperlink>
<Hyperlink CommandParameter="https://github.com/Tichau/FileConverter/wiki/How-to-create-a-new-custom-preset%3F" Command="{Binding OpenUrlCommand, Mode=OneWay}"><x:Static Member="project:Resources.Help" /></Hyperlink>
</TextBlock>
</Grid>
@@ -374,7 +374,7 @@
<Label Grid.Row="0" Grid.Column="0" Content="{x:Static project:Resources.Language}" HorizontalAlignment="Right" Margin="0,0,5,0"/>
<ComboBox Grid.Row="0" Grid.Column="1" ItemsSource="{Binding SupportedCultures, Mode=OneTime}" Margin="0,0,0,1"
SelectedValue="{Binding Settings.ApplicationLanguage, Mode=TwoWay}">
SelectedValue="{Binding Settings.ApplicationLanguage, Mode=TwoWay}">
<ComboBox.ItemTemplate>
<DataTemplate>
<ContentPresenter Content="{Binding Converter={StaticResource CultureInfoToString}}" />
@@ -448,25 +448,29 @@
<StackPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,0,0,0">
<Button ToolTip="{x:Static project:Resources.GitHubButtonDescription}" Padding="1" Margin="5,0,5,0"
Command="{Binding OpenUrlCommand, Mode=OneWay}" CommandParameter="https://github.com/Tichau/FileConverter/?from=about">
Command="{Binding OpenUrlCommand, Mode=OneWay}" CommandParameter="https://github.com/Tichau/FileConverter/?from=about"
Style="{DynamicResource TileButton}">
<Button.Content>
<Image Source="/FileConverter;component/Resources/GitHub-Icon.png"></Image>
</Button.Content>
</Button>
<Button ToolTip="{x:Static project:Resources.IssueButtonDescription}" Padding="1" Margin="5,0,5,0"
Command="{Binding OpenUrlCommand, Mode=OneWay}" CommandParameter="https://github.com/Tichau/FileConverter/issues?from=about">
Command="{Binding OpenUrlCommand, Mode=OneWay}" CommandParameter="https://github.com/Tichau/FileConverter/issues?from=about"
Style="{DynamicResource TileButton}">
<Button.Content>
<Image Source="/FileConverter;component/Resources/GitHub-Issue-Icon.png"></Image>
</Button.Content>
</Button>
<Button ToolTip="{x:Static project:Resources.DocumentationButtonDescription}" Padding="1" Margin="5,0,5,0"
Command="{Binding OpenUrlCommand, Mode=OneWay}" CommandParameter="https://github.com/Tichau/FileConverter/wiki?from=about">
Command="{Binding OpenUrlCommand, Mode=OneWay}" CommandParameter="https://github.com/Tichau/FileConverter/wiki?from=about"
Style="{DynamicResource TileButton}">
<Button.Content>
<Image Source="/FileConverter;component/Resources/GitHub-Documentation-Icon.png"></Image>
</Button.Content>
</Button>
<Button ToolTip="{x:Static project:Resources.WebsiteButtonDescription}" Padding="1" Margin="5,0,5,0"
Command="{Binding OpenUrlCommand, Mode=OneWay}" CommandParameter="https://file-converter.io?from=about">
Command="{Binding OpenUrlCommand, Mode=OneWay}" CommandParameter="https://file-converter.io?from=about"
Style="{DynamicResource TileButton}">
<Button.Content>
<Image Source="/FileConverter;component/Resources/WebSite-Icon.png"></Image>
</Button.Content>
@@ -479,7 +483,7 @@
</TabControl>
<Button Grid.Row="2" Content="{x:Static project:Resources.Save}" HorizontalAlignment="Right" Width="100" Margin="0,4,0,0"
Command="{Binding SaveCommand}"/>
Command="{Binding SaveCommand}" />
</Grid>