-
Notifications
You must be signed in to change notification settings - Fork 0
/
AboutWindow.xaml
40 lines (38 loc) · 2.4 KB
/
AboutWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<Window x:Class="MusicSorter.AboutWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:p="clr-namespace:MusicSorter.Properties"
xmlns:local="clr-namespace:MusicSorter"
mc:Ignorable="d"
Title="{x:Static p:Resources.About}" SizeToContent="Height" Width="380" WindowStartupLocation="CenterOwner" WindowStyle="ToolWindow" ShowInTaskbar="False">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="2*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="0" Background="AliceBlue">
<Image Source="/Resources/MusicSorter2_100px.png" Width="100" Height="100" />
</Grid>
<StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
<Label x:Name="LabelTitle" Content="{x:Static p:Resources.Title}" FontSize="24" FontWeight="Bold" VerticalAlignment="Bottom" HorizontalAlignment="Center" Padding="0 16 0 0"/>
<Label x:Name="LabelVersion" Content="vX.X" HorizontalAlignment="Center" VerticalAlignment="Top" HorizontalContentAlignment="Right" Padding="0 0 0 8"
FontSize="10" Width="{Binding Path=ActualWidth, ElementName=LabelTitle}"/>
<TextBlock Text="{x:Static p:Resources.AboutDescription}" HorizontalAlignment="Center" TextWrapping="Wrap" TextAlignment="Justify" Padding="16 8"/>
<Separator/>
<StackPanel Orientation="Vertical" Margin="0 8 0 0">
<TextBlock Text="{x:Static p:Resources.AboutLinkText}" HorizontalAlignment="Center"/>
<TextBlock HorizontalAlignment="Center">
<Hyperlink NavigateUri="https://github.com/SiL3NC3/MusicSorter/" RequestNavigate="Hyperlink_RequestNavigate" >
<Hyperlink.Inlines>
<Run Text="GitHub.com"/>
</Hyperlink.Inlines>
</Hyperlink>
</TextBlock>
</StackPanel>
<Separator Margin="0 8"/>
<Label Content="{x:Static p:Resources.AboutForRobert}" HorizontalAlignment="Center" FontStyle="Italic" Padding="0 0 0 16" />
</StackPanel>
</Grid>
</Window>