|
6 | 6 | xmlns:about="clr-namespace:Rubberduck.UI.About"
|
7 | 7 | mc:Ignorable="d"
|
8 | 8 | d:DesignWidth="499"
|
9 |
| - d:DataContext="{d:DesignInstance {x:Type about:AboutControlViewModel}, IsDesignTimeCreatable=False}"> |
| 9 | + d:DataContext="{d:DesignInstance {x:Type about:AboutControlViewModel}, IsDesignTimeCreatable=False}" |
| 10 | + KeyDown="OnKeyDownHandler" > |
10 | 11 | <UserControl.Resources>
|
11 | 12 | <BitmapImage x:Key="Ducky" UriSource="../../Resources/AboutBanner.png" />
|
12 | 13 | <BitmapImage x:Key="RD" UriSource="../../Resources/Rubberduck.png" />
|
|
22 | 23 | <RowDefinition Height="64" />
|
23 | 24 | </Grid.RowDefinitions>
|
24 | 25 |
|
25 |
| - <Border Grid.Column="0" Grid.Row="0" Background="White" Margin="5,5,0,0"> |
26 |
| - <TextBlock Margin="5,10,5,10" Text="{Binding Version}" Foreground="Black" |
27 |
| - FontWeight="Bold" FontSize="14" |
28 |
| - VerticalAlignment="Top" HorizontalAlignment="Left" /> |
| 26 | + <Border Grid.Column="0" Grid.Row="0" Background="White" Margin="5,5,0,0" |
| 27 | + MouseLeftButtonDown="CopyVersionInfo_MouseLeftButtonDown"> |
| 28 | + <StackPanel> |
| 29 | + <TextBlock x:Name="Version" |
| 30 | + Margin="5,10,5,0" Text="{Binding Version}" Foreground="Black" |
| 31 | + FontWeight="Bold" FontSize="14" |
| 32 | + VerticalAlignment="Center" HorizontalAlignment="Center"/> |
| 33 | + <Label Name="CopyVersionInfo" |
| 34 | + Foreground="Gray" |
| 35 | + FontSize="8" |
| 36 | + HorizontalAlignment="Center" |
| 37 | + Content="Click here to copy version info to clipboard."/> |
| 38 | + </StackPanel> |
29 | 39 | </Border>
|
30 | 40 |
|
31 | 41 | <Border Grid.Column="1" Grid.Row="0" Background="White" Margin="0,5,5,0">
|
|
0 commit comments