PowerToys/Wox/SettingWindow.xaml

399 lines
25 KiB
Plaintext
Raw Normal View History

2016-05-22 12:47:10 +08:00
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:wox="clr-namespace:Wox"
xmlns:vm="clr-namespace:Wox.ViewModel"
xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase"
2016-06-19 23:18:43 +08:00
xmlns:userSettings="clr-namespace:Wox.Infrastructure.UserSettings;assembly=Wox.Infrastructure"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
2016-05-22 12:47:10 +08:00
x:Class="Wox.SettingWindow"
mc:Ignorable="d"
Icon="Images\app.png"
Title="{DynamicResource wox_settings}"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen"
2016-05-23 07:36:48 +08:00
Height="600" Width="800"
Closed="OnClosed"
2016-05-22 12:47:10 +08:00
d:DataContext="{d:DesignInstance vm:SettingWindowViewModel}">
2016-05-23 07:36:48 +08:00
<Window.InputBindings>
<KeyBinding Key="Escape" Command="Close"/>
</Window.InputBindings>
<Window.CommandBindings>
<CommandBinding Command="Close" Executed="OnCloseExecuted"/>
</Window.CommandBindings>
<Window.Resources>
<CollectionViewSource Source="{Binding Source={x:Static Fonts.SystemFontFamilies}}" x:Key="SortedFonts">
<CollectionViewSource.SortDescriptions>
<scm:SortDescription PropertyName="Source"/>
</CollectionViewSource.SortDescriptions>
</CollectionViewSource>
</Window.Resources>
2016-05-23 02:16:39 +08:00
<TabControl Height="auto" SelectedIndex="0">
2016-05-23 05:49:41 +08:00
<TabItem Header="{DynamicResource general}">
2016-03-11 09:13:47 +08:00
<StackPanel Orientation="Vertical">
2016-05-22 06:16:32 +08:00
<CheckBox IsChecked="{Binding Settings.StartWoxOnSystemStartup}" Margin="10">
2016-03-26 12:46:39 +08:00
<TextBlock Text="{DynamicResource startWoxOnSystemStartup}" />
2014-07-17 19:20:00 +08:00
</CheckBox>
2016-05-22 06:16:32 +08:00
<CheckBox Margin="10" IsChecked="{Binding Settings.HideOnStartup}">
<TextBlock Text="{DynamicResource hideOnStartup}" />
</CheckBox>
2016-05-22 06:16:32 +08:00
<CheckBox Margin="10" IsChecked="{Binding Settings.HideWhenDeactive}">
2016-03-26 12:46:39 +08:00
<TextBlock Text="{DynamicResource hideWoxWhenLoseFocus}" />
2014-07-17 19:20:00 +08:00
</CheckBox>
2018-12-19 11:46:27 +08:00
<CheckBox Margin="10" IsChecked="{Binding Settings.HideNotifyIcon}">
<TextBlock Text="{DynamicResource hideNotifyIcon}" />
</CheckBox>
2016-05-22 06:16:32 +08:00
<CheckBox Margin="10" IsChecked="{Binding Settings.RememberLastLaunchLocation}">
2016-03-26 12:46:39 +08:00
<TextBlock Text="{DynamicResource rememberLastLocation}" />
2015-02-20 21:45:42 +08:00
</CheckBox>
2016-05-22 06:16:32 +08:00
<CheckBox Margin="10" IsChecked="{Binding Settings.IgnoreHotkeysOnFullscreen}">
2016-03-26 12:46:39 +08:00
<TextBlock Text="{DynamicResource ignoreHotkeysOnFullscreen}" />
</CheckBox>
<CheckBox Margin="10" IsChecked="{Binding Settings.AutoUpdates}"
2016-05-22 06:16:32 +08:00
Checked="OnAutoStartupChecked" Unchecked="OnAutoStartupUncheck">
2016-05-14 06:54:37 +08:00
<TextBlock Text="{DynamicResource autoUpdates}" />
</CheckBox>
2019-09-29 18:04:30 +08:00
<StackPanel Margin="10" Orientation="Horizontal">
<TextBlock Text="{DynamicResource querySearchPrecision}" />
2019-09-29 18:04:30 +08:00
<ComboBox Margin="10 0 0 0" Width="120"
ItemsSource="{Binding QuerySearchPrecisionStrings}"
SelectedItem="{Binding Settings.QuerySearchPrecision}" />
</StackPanel>
<StackPanel Margin="10" Orientation="Horizontal">
<TextBlock Text="{DynamicResource lastQueryMode}" />
<ComboBox Margin="10 0 0 0" Width="120"
ItemsSource="{Binding LastQueryModes}" SelectedValue="{Binding Settings.LastQueryMode}"
DisplayMemberPath="Display" SelectedValuePath="Value" />
</StackPanel>
2015-01-02 16:16:09 +08:00
<StackPanel Margin="10" Orientation="Horizontal">
2016-03-26 12:46:39 +08:00
<TextBlock Text="{DynamicResource language}" />
2016-05-22 06:16:32 +08:00
<ComboBox Margin="10 0 0 0" Width="120" SelectionChanged="OnLanguageChanged"
ItemsSource="{Binding Languages}" SelectedValue="{Binding Settings.Language}"
DisplayMemberPath="Display" SelectedValuePath="LanguageCode" />
2015-01-02 16:16:09 +08:00
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="10">
2016-03-26 12:46:39 +08:00
<TextBlock Text="{DynamicResource maxShowResults}" />
<ComboBox Margin="10 0 0 0" Width="45" ItemsSource="{Binding MaxResultsRange}"
SelectedItem="{Binding Settings.MaxResultsToShow}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
2016-05-22 06:16:32 +08:00
<TextBlock Margin="10" Text="{DynamicResource pythonDirectory}" />
<TextBox Width="300" Margin="10" Text="{Binding Settings.PluginSettings.PythonDirectory}" />
<Button Margin="10" Click="OnSelectPythonDirectoryClick"
Content="{DynamicResource selectPythonDirectory}" />
</StackPanel>
2014-07-04 15:12:22 +08:00
</StackPanel>
</TabItem>
<TabItem Header="{DynamicResource plugin}">
2014-07-04 15:12:22 +08:00
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="200" />
2016-03-26 12:46:39 +08:00
<ColumnDefinition />
2014-07-04 15:12:22 +08:00
</Grid.ColumnDefinitions>
<DockPanel Grid.Column="0">
2016-05-23 05:49:41 +08:00
<TextBlock DockPanel.Dock="Top" Margin="10">
<Hyperlink NavigateUri="{Binding Plugin, Mode=OneWay}" RequestNavigate="OnRequestNavigate">
2016-05-23 06:51:17 +08:00
<Run Text="{DynamicResource browserMorePlugins}" />
2016-05-23 05:49:41 +08:00
</Hyperlink>
</TextBlock>
<ListBox SelectedIndex="0" SelectedItem="{Binding SelectedPlugin}"
2016-05-23 02:14:59 +08:00
ItemsSource="{Binding PluginViewModels}"
Margin="10, 0, 10, 10" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" Margin="3">
<Image Source="{Binding Image, IsAsync=True}"
2016-05-22 12:47:10 +08:00
Width="32" Height="32" />
<StackPanel Margin="3 0 3 0">
<TextBlock Text="{Binding PluginPair.Metadata.Name}"
ToolTip="{Binding PluginPair.Metadata.Name}" />
<TextBlock Text="{Binding PluginPair.Metadata.Description}"
ToolTip="{Binding PluginPair.Metadata.Description}"
Opacity="0.5" />
</StackPanel>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</DockPanel>
<Grid Grid.Column="1">
2014-07-04 15:12:22 +08:00
<Grid.RowDefinitions>
2016-03-26 12:46:39 +08:00
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
2014-07-04 15:12:22 +08:00
</Grid.RowDefinitions>
<ContentControl DataContext="{Binding Path=SelectedPlugin}"
Grid.ColumnSpan="1" Grid.Row="0" Margin="10 10 10 0">
2014-07-04 15:12:22 +08:00
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid.ColumnDefinitions>
2016-03-26 12:46:39 +08:00
<ColumnDefinition Width="48" />
<ColumnDefinition />
2014-07-04 15:12:22 +08:00
</Grid.ColumnDefinitions>
<Image Source="{Binding Image, IsAsync=True}"
Width="48" Height="48" HorizontalAlignment="Left" VerticalAlignment="Top" />
2014-07-04 15:12:22 +08:00
<Grid Margin="10,0,0,0" Grid.Column="1" HorizontalAlignment="Stretch">
<Grid.RowDefinitions>
2016-03-26 12:46:39 +08:00
<RowDefinition />
<RowDefinition />
<RowDefinition />
2014-07-04 15:12:22 +08:00
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding PluginPair.Metadata.Name}"
ToolTip="{Binding PluginPair.Metadata.Name}"
Grid.Column="0"
Cursor="Hand" MouseUp="OnPluginNameClick" FontSize="24"
HorizontalAlignment="Left" />
<StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Right"
VerticalAlignment="Bottom" Opacity="0.5">
<TextBlock Text="{DynamicResource author}" />
<TextBlock Text=": " />
<TextBlock Text="{Binding PluginPair.Metadata.Author}" ToolTip="{Binding PluginPair.Metadata.Author}" />
</StackPanel>
</Grid>
<TextBlock Text="{Binding PluginPair.Metadata.Description}"
ToolTip="{Binding PluginPair.Metadata.Description}"
Grid.Row="1" Opacity="0.5" />
2015-08-27 19:51:31 +08:00
<DockPanel Grid.Row="2" Margin="0 10 0 8">
<CheckBox IsChecked="{Binding PluginPair.Metadata.Disabled}" Checked="OnPluginToggled"
Unchecked="OnPluginToggled">
2016-03-26 12:46:39 +08:00
<TextBlock Text="{DynamicResource disable}" />
2015-01-02 16:16:09 +08:00
</CheckBox>
<TextBlock Text="{DynamicResource actionKeywords}"
Visibility="{Binding ActionKeywordsVisibility}"
Margin="20 0 0 0" />
<TextBlock Text="{Binding ActionKeywordsText}"
Visibility="{Binding ActionKeywordsVisibility}"
ToolTip="Change Action Keywords"
Margin="5 0 0 0" Cursor="Hand" Foreground="Blue"
MouseUp="OnPluginActionKeywordsClick" />
<TextBlock Text="{Binding InitilizaTime}" Margin="10 0 0 0" />
<TextBlock Text="{Binding QueryTime}" Margin="10 0 0 0" />
<TextBlock Text="{DynamicResource pluginDirectory}"
HorizontalAlignment="Right" Cursor="Hand"
MouseUp="OnPluginDirecotyClick" Foreground="Blue" />
</DockPanel>
</Grid>
2014-07-04 15:12:22 +08:00
</Grid>
</ContentControl>
2014-03-29 16:17:01 +08:00
<ContentControl Content="{Binding SettingProvider}"
Grid.ColumnSpan="1" Grid.Row="1"
2016-03-26 12:46:39 +08:00
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
2014-07-04 15:12:22 +08:00
</Grid>
</Grid>
</TabItem>
2016-05-23 02:14:59 +08:00
<TabItem Header="{DynamicResource theme}">
2014-07-04 15:12:22 +08:00
<Grid>
<Grid.ColumnDefinitions>
2016-03-26 12:46:39 +08:00
<ColumnDefinition Width="200" />
<ColumnDefinition />
2014-07-04 15:12:22 +08:00
</Grid.ColumnDefinitions>
2016-03-26 12:46:39 +08:00
<DockPanel Grid.Column="0">
2016-05-23 05:49:41 +08:00
<TextBlock DockPanel.Dock="Top" Margin="10" HorizontalAlignment="Left">
<Hyperlink NavigateUri="{Binding Theme, Mode=OneWay}" RequestNavigate="OnRequestNavigate">
2016-05-23 06:51:17 +08:00
<Run Text="{DynamicResource browserMoreThemes}" />
2016-05-23 05:49:41 +08:00
</Hyperlink>
</TextBlock>
2016-05-23 02:14:59 +08:00
<ListBox SelectedItem="{Binding SelectedTheme}" ItemsSource="{Binding Themes}"
Margin="10, 0, 10, 10" Width="180"
2016-05-23 06:51:17 +08:00
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
</DockPanel>
2014-07-04 15:12:22 +08:00
<Grid Margin="0" Grid.Column="1">
<Grid.RowDefinitions>
<RowDefinition />
2016-03-26 12:46:39 +08:00
<RowDefinition Height="100" />
2014-07-04 15:12:22 +08:00
</Grid.RowDefinitions>
2016-05-23 02:14:59 +08:00
<StackPanel Background="{Binding PreviewBackground}" Grid.Row="0" Margin="0">
2016-05-22 02:04:52 +08:00
<StackPanel Orientation="Horizontal" Margin="10"
2016-03-26 12:46:39 +08:00
HorizontalAlignment="Center" VerticalAlignment="Center">
2014-07-04 15:12:22 +08:00
<Border Width="500" Style="{DynamicResource WindowBorderStyle}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50" />
2016-03-26 12:46:39 +08:00
<RowDefinition />
2014-07-04 15:12:22 +08:00
</Grid.RowDefinitions>
2016-03-26 12:46:39 +08:00
<TextBox Text="{DynamicResource helloWox}" IsReadOnly="True"
Style="{DynamicResource QueryBoxStyle}" Grid.Row="0" />
2016-05-23 02:14:59 +08:00
<ContentControl Visibility="Visible" Grid.Row="1">
<wox:ResultListBox DataContext="{Binding PreviewResults}" />
</ContentControl>
2014-07-04 15:12:22 +08:00
</Grid>
</Border>
</StackPanel>
</StackPanel>
2014-03-26 17:34:19 +08:00
<StackPanel Grid.Row="1" Margin="0 10 0 10" Orientation="Vertical">
2014-07-04 15:12:22 +08:00
<StackPanel Orientation="Horizontal" Margin="2">
2015-01-02 16:16:09 +08:00
<TextBlock Text="{DynamicResource queryBoxFont}" />
<ComboBox ItemsSource="{Binding Source={StaticResource SortedFonts}}"
2016-05-23 02:14:59 +08:00
SelectedItem="{Binding SelectedQueryBoxFont}"
2016-05-23 06:51:17 +08:00
HorizontalAlignment="Left" VerticalAlignment="Top" Width="160" Margin="10 -2 5 0" />
2016-05-23 02:14:59 +08:00
<ComboBox ItemsSource="{Binding SelectedQueryBoxFont.FamilyTypefaces}"
SelectedItem="{Binding SelectedQueryBoxFontFaces}"
2016-05-23 06:51:17 +08:00
HorizontalAlignment="Left" VerticalAlignment="Top"
2016-05-23 02:14:59 +08:00
Width="120" Margin="0 -2 0 0">
2014-07-04 15:12:22 +08:00
<ComboBox.ItemTemplate>
<DataTemplate>
<ItemsControl ItemsSource="{Binding AdjustedFaceNames}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Value}" />
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="2">
2015-01-02 16:16:09 +08:00
<TextBlock Text="{DynamicResource resultItemFont}" />
<ComboBox ItemsSource="{Binding Source={StaticResource SortedFonts}}"
2016-05-23 02:14:59 +08:00
SelectedItem="{Binding SelectedResultFont}"
2016-05-23 06:51:17 +08:00
HorizontalAlignment="Left" VerticalAlignment="Top"
2016-05-23 02:14:59 +08:00
Width="160" Margin="5 -2 5 0" />
<ComboBox ItemsSource="{Binding SelectedResultFont.FamilyTypefaces}"
SelectedItem="{Binding SelectedResultFontFaces}"
2016-05-23 06:51:17 +08:00
HorizontalAlignment="Left" VerticalAlignment="Top"
2016-05-23 02:14:59 +08:00
Width="120" Margin="0 -2 0 0">
2014-07-04 15:12:22 +08:00
<ComboBox.ItemTemplate>
<DataTemplate>
<ItemsControl ItemsSource="{Binding AdjustedFaceNames}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Value}" />
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
</StackPanel>
</StackPanel>
</Grid>
</Grid>
</TabItem>
<TabItem Header="{DynamicResource hotkey}">
2014-07-04 15:12:22 +08:00
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition Height="35" />
2016-05-23 06:51:17 +08:00
<RowDefinition Height="20" />
<RowDefinition Height="400" />
<RowDefinition Height="Auto" />
2014-07-04 15:12:22 +08:00
</Grid.RowDefinitions>
2016-05-23 06:51:17 +08:00
<StackPanel Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Center" Height="24"
Margin="0,4,0,3">
2016-03-26 12:46:39 +08:00
<TextBlock VerticalAlignment="Center" Margin="0 0 10 0" Text="{DynamicResource woxHotkey}" />
2016-05-23 06:51:17 +08:00
<wox:HotkeyControl x:Name="HotkeyControl" HotkeyChanged="OnHotkeyChanged"
Loaded="OnHotkeyControlLoaded" />
2014-07-04 15:12:22 +08:00
</StackPanel>
<TextBlock VerticalAlignment="Center" Grid.Row="1" Margin="0,3,10,2"
2016-05-23 06:51:17 +08:00
Text="{DynamicResource customQueryHotkey}" />
<ListView ItemsSource="{Binding Settings.CustomPluginHotkeys}"
SelectedItem="{Binding SelectedCustomPluginHotkey}"
Margin="0 5 0 0" Grid.Row="2">
<ListView.View>
<GridView>
<GridViewColumn Header="{DynamicResource hotkey}" Width="180">
<GridViewColumn.CellTemplate>
2016-06-19 23:18:43 +08:00
<DataTemplate DataType="userSettings:CustomPluginHotkey">
2016-05-23 06:51:17 +08:00
<TextBlock Text="{Binding Hotkey}" />
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
<GridViewColumn Header="{DynamicResource actionKeywords}" Width="500">
<GridViewColumn.CellTemplate>
2016-06-19 23:18:43 +08:00
<DataTemplate DataType="userSettings:CustomPluginHotkey">
<TextBlock Text="{Binding ActionKeyword}" />
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
</GridView>
</ListView.View>
</ListView>
2016-05-23 06:51:17 +08:00
<StackPanel Grid.Row="3" HorizontalAlignment="Right" VerticalAlignment="Bottom"
Orientation="Horizontal" Height="40" Width="360">
<Button Click="OnDeleteCustomHotkeyClick" Width="100"
2016-03-26 12:46:39 +08:00
Margin="10" Content="{DynamicResource delete}" />
<Button Click="OnnEditCustomHotkeyClick" Width="100" Margin="10"
2016-03-26 12:46:39 +08:00
Content="{DynamicResource edit}" />
<Button Click="OnAddCustomeHotkeyClick" Width="100" Margin="10"
2016-03-26 12:46:39 +08:00
Content="{DynamicResource add}" />
2014-07-04 15:12:22 +08:00
</StackPanel>
</Grid>
</TabItem>
2016-05-23 06:51:17 +08:00
<TabItem Header="{DynamicResource proxy}">
2014-07-17 19:20:00 +08:00
<StackPanel>
2016-06-19 23:18:43 +08:00
<CheckBox Margin="10" IsChecked="{Binding Settings.Proxy.Enabled}">
2016-05-22 02:25:51 +08:00
<TextBlock Text="{DynamicResource enableProxy}" />
2015-01-02 16:16:09 +08:00
</CheckBox>
2016-06-19 23:18:43 +08:00
<Grid Margin="10" IsEnabled="{Binding Settings.Proxy.Enabled}">
2014-07-17 19:20:00 +08:00
<Grid.RowDefinitions>
2016-03-26 12:46:39 +08:00
<RowDefinition />
<RowDefinition />
2014-07-17 19:20:00 +08:00
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
2016-05-23 05:49:41 +08:00
<ColumnDefinition Width="100" />
<ColumnDefinition Width="200" />
<ColumnDefinition Width="100" />
2016-05-23 06:51:17 +08:00
<ColumnDefinition Width="200" />
2014-07-17 19:20:00 +08:00
</Grid.ColumnDefinitions>
2016-05-23 05:49:41 +08:00
<TextBlock Text="{DynamicResource server}" Grid.Row="0" Grid.Column="0" Padding="5" />
2016-06-19 23:18:43 +08:00
<TextBox Text="{Binding Settings.Proxy.Server}" Grid.Row="0" Grid.Column="1" Padding="5" />
2016-05-23 06:51:17 +08:00
<TextBlock Text="{DynamicResource port}" Grid.Row="0" Grid.Column="2" Padding="5" />
2016-06-19 23:18:43 +08:00
<TextBox Text="{Binding Settings.Proxy.Port, TargetNullValue={x:Static sys:String.Empty} }" Grid.Row="0" Grid.Column="3" Padding="5" />
2016-05-23 06:51:17 +08:00
<TextBlock Text="{DynamicResource userName}" Grid.Row="1" Grid.Column="0" Padding="5" />
2016-06-19 23:18:43 +08:00
<TextBox Text="{Binding Settings.Proxy.UserName}" Grid.Row="1" Grid.Column="1" Padding="5" />
2016-05-23 05:49:41 +08:00
<TextBlock Text="{DynamicResource password}" Grid.Row="1" Grid.Column="2" Padding="5" />
2016-06-19 23:18:43 +08:00
<TextBox Text="{Binding Settings.Proxy.Password}" Grid.Row="1" Grid.Column="3" Padding="5" />
2014-07-17 19:20:00 +08:00
</Grid>
2016-06-19 23:18:43 +08:00
<Button Content="{DynamicResource testProxy}" IsEnabled="{Binding Settings.Proxy.Enabled}"
2016-05-23 06:51:17 +08:00
Width="80" HorizontalAlignment="Left" Margin="10" Click="OnTestProxyClick" />
2014-07-17 19:20:00 +08:00
</StackPanel>
</TabItem>
2015-01-02 16:16:09 +08:00
<TabItem Header="{DynamicResource about}">
2014-12-16 22:25:22 +08:00
<Grid>
2016-03-11 09:13:47 +08:00
<Grid.Resources>
<Style TargetType="{x:Type TextBlock}">
<Setter Property="Margin" Value="10, 10, 0, 0" />
</Style>
</Grid.Resources>
2014-12-16 22:25:22 +08:00
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
2014-12-16 22:25:22 +08:00
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
2016-03-26 12:46:39 +08:00
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
2014-12-16 22:25:22 +08:00
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Grid.ColumnSpan="2" Text="{Binding ActivatedTimes, Mode=OneWay}" />
2016-05-23 06:51:17 +08:00
<TextBlock Grid.Row="1" Grid.Column="0" Text="{DynamicResource website}" />
2016-05-23 05:49:41 +08:00
<TextBlock Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left">
<Hyperlink NavigateUri="{Binding Github, Mode=OneWay}" RequestNavigate="OnRequestNavigate">
2016-05-23 06:51:17 +08:00
<Run Text="{Binding Github, Mode=OneWay}" />
</Hyperlink>
</TextBlock>
2016-05-23 05:49:41 +08:00
<TextBlock Grid.Row="2" Grid.Column="0" Text="{DynamicResource version}" />
<TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding Version}" />
<TextBlock Grid.Row="3" Grid.Column="0" Text="{DynamicResource releaseNotes}" />
2016-05-23 06:51:17 +08:00
<TextBlock Grid.Row="3" Grid.Column="1">
2016-05-23 05:49:41 +08:00
<Hyperlink NavigateUri="{Binding ReleaseNotes, Mode=OneWay}"
2016-05-22 02:25:51 +08:00
RequestNavigate="OnRequestNavigate">
2016-05-23 06:51:17 +08:00
<Run Text="{Binding ReleaseNotes, Mode=OneWay}" />
</Hyperlink>
</TextBlock>
2016-05-23 06:51:17 +08:00
<Button Grid.Row="4" Grid.Column="0"
2016-05-23 05:49:41 +08:00
Content="{DynamicResource checkUpdates}" Click="OnCheckUpdates"
2016-05-23 06:51:17 +08:00
HorizontalAlignment="Left" Margin="10 10 10 10" />
2014-12-16 22:25:22 +08:00
</Grid>
</TabItem>
2014-07-04 15:12:22 +08:00
</TabControl>
2016-03-26 12:46:39 +08:00
</Window>