|
43 | 43 | Margin="0,0,0,5" /> |
44 | 44 | <TextBlock Text="{Binding Version}" Style="{StaticResource DefaultTextBlock}" FontWeight="Bold" |
45 | 45 | VerticalAlignment="Center" Margin="0,0,0,10" /> |
46 | | - <TextBlock Text="{x:Static resources:Resources.NETworkManager_License}" |
47 | | - Style="{StaticResource LinkTextBlock}" HorizontalAlignment="Left" Margin="0,0,0,5"> |
48 | | - <TextBlock.InputBindings> |
49 | | - <MouseBinding Command="{Binding OpenWebsiteCommand}" |
50 | | - CommandParameter="{x:Static resources:Resources.NETworkManager_LicenseUrl}" |
51 | | - MouseAction="LeftClick" /> |
52 | | - </TextBlock.InputBindings> |
| 46 | + <TextBlock Style="{StaticResource DefaultTextBlock}" HorizontalAlignment="Left" Margin="0,0,0,5"> |
| 47 | + <Hyperlink Command="{Binding OpenWebsiteCommand}" |
| 48 | + CommandParameter="{x:Static resources:Resources.NETworkManager_LicenseUrl}" |
| 49 | + Style="{StaticResource LinkHyperlink}"> |
| 50 | + <Run Text="{x:Static resources:Resources.NETworkManager_License}" /> |
| 51 | + </Hyperlink> |
53 | 52 | </TextBlock> |
54 | 53 | <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,0,0,10"> |
55 | 54 | <TextBlock Text="{Binding DevelopedByText}" Style="{StaticResource DefaultTextBlock}" /> |
56 | | - <TextBlock Text="{x:Static localization:Strings.Community}" |
57 | | - Style="{StaticResource LinkTextBlock}"> |
58 | | - <TextBlock.InputBindings> |
59 | | - <MouseBinding Command="{Binding OpenWebsiteCommand}" |
60 | | - CommandParameter="{x:Static resources:Resources.NETworkManager_Contributors}" |
61 | | - MouseAction="LeftClick" /> |
62 | | - </TextBlock.InputBindings> |
| 55 | + <TextBlock Style="{StaticResource DefaultTextBlock}"> |
| 56 | + <Hyperlink Command="{Binding OpenWebsiteCommand}" |
| 57 | + CommandParameter="{x:Static resources:Resources.NETworkManager_Contributors}" |
| 58 | + Style="{StaticResource LinkHyperlink}"> |
| 59 | + <Run Text="{x:Static localization:Strings.Community}" /> |
| 60 | + </Hyperlink> |
63 | 61 | </TextBlock> |
64 | 62 | </StackPanel> |
65 | 63 | <StackPanel Orientation="Horizontal" Margin="0,0,0,10"> |
|
99 | 97 | <StackPanel Grid.Column="2" Grid.Row="0" |
100 | 98 | Orientation="Horizontal" |
101 | 99 | Visibility="{Binding IsUpdateAvailable, Converter={StaticResource BooleanToVisibilityCollapsedConverter}}"> |
102 | | - <StackPanel.InputBindings> |
103 | | - <MouseBinding Gesture="LeftClick" Command="{Binding OpenWebsiteCommand}" |
104 | | - CommandParameter="{Binding UpdateReleaseUrl, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" /> |
105 | | - </StackPanel.InputBindings> |
106 | | - <Rectangle Width="20" Height="20" Fill="{DynamicResource MahApps.Brushes.Accent}"> |
| 100 | + <Rectangle Width="20" Height="20" Fill="{DynamicResource MahApps.Brushes.Accent}" |
| 101 | + Cursor="Hand"> |
| 102 | + <Rectangle.InputBindings> |
| 103 | + <MouseBinding Gesture="LeftClick" Command="{Binding OpenWebsiteCommand}" |
| 104 | + CommandParameter="{Binding UpdateReleaseUrl, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" /> |
| 105 | + </Rectangle.InputBindings> |
107 | 106 | <Rectangle.OpacityMask> |
108 | 107 | <VisualBrush Stretch="Uniform" Visual="{iconPacks:Material Kind=RocketLaunchOutline}" /> |
109 | 108 | </Rectangle.OpacityMask> |
110 | 109 | </Rectangle> |
111 | | - <TextBlock Text="{Binding UpdateText}" |
112 | | - Style="{StaticResource LinkTextBlock}" |
| 110 | + <TextBlock Style="{StaticResource DefaultTextBlock}" |
113 | 111 | VerticalAlignment="Center" |
114 | | - Margin="10,0,0,0" /> |
| 112 | + Margin="10,0,0,0"> |
| 113 | + <Hyperlink Command="{Binding OpenWebsiteCommand}" |
| 114 | + CommandParameter="{Binding UpdateReleaseUrl, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" |
| 115 | + Style="{StaticResource LinkHyperlink}"> |
| 116 | + <Run Text="{Binding UpdateText, Mode=OneWay}" /> |
| 117 | + </Hyperlink> |
| 118 | + </TextBlock> |
115 | 119 | </StackPanel> |
116 | 120 | <mahAppsControls:ProgressRing Grid.Column="2" Grid.Row="0" |
117 | 121 | Visibility="{Binding IsUpdateCheckRunning, Converter={StaticResource BooleanToVisibilityCollapsedConverter}}" |
|
0 commit comments