回答編集履歴
1
見直しキャンペーン中
answer
CHANGED
@@ -1,23 +1,24 @@
|
|
1
|
-
VBでの例がありました。
|
1
|
+
VBでの例がありました。
|
2
|
-
[url - WPF - Making hyperlinks clickable - Stack Overflow](https://stackoverflow.com/questions/861409/wpf-making-hyperlinks-clickable/8776438#8776438)
|
2
|
+
[url - WPF - Making hyperlinks clickable - Stack Overflow](https://stackoverflow.com/questions/861409/wpf-making-hyperlinks-clickable/8776438#8776438)
|
3
|
-
|
3
|
+
|
4
|
-
正規表現にこだわりがあるようで、かなり厳しい設定になっています。
|
4
|
+
正規表現にこだわりがあるようで、かなり厳しい設定になっています。
|
5
|
-
認識しないURLもあり、調整がいるかもしれません(最近の割と何でもありなトップレベルドメイン)
|
5
|
+
認識しないURLもあり、調整がいるかもしれません(最近の割と何でもありなトップレベルドメイン)
|
6
|
-
|
7
|
-
|
6
|
+
|
7
|
+
|
8
|
-
```
|
8
|
+
```xml
|
9
|
-
<Window
|
9
|
+
<Window
|
10
|
-
x:Class="MainWindow"
|
10
|
+
x:Class="MainWindow"
|
11
|
-
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
11
|
+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
12
|
-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
12
|
+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
13
|
-
xmlns:local="clr-namespace:Questions285266"
|
13
|
+
xmlns:local="clr-namespace:Questions285266"
|
14
|
-
Width="800"
|
14
|
+
Width="800"
|
15
|
-
Height="450">
|
15
|
+
Height="450">
|
16
|
-
<StackPanel>
|
16
|
+
<StackPanel>
|
17
|
-
<TextBlock local:NavigationService.Text="文章中のhttp://www.google.comです 文章中のhttp://www.google.comです" />
|
17
|
+
<TextBlock local:NavigationService.Text="文章中のhttp://www.google.comです 文章中のhttp://www.google.comです" />
|
18
|
-
|
18
|
+
|
19
|
-
<TextBox x:Name="textBox" Text="もちろんバインドもOKhttp://www.google.com" />
|
19
|
+
<TextBox x:Name="textBox" Text="もちろんバインドもOKhttp://www.google.com" />
|
20
|
-
<TextBlock local:NavigationService.Text="{Binding Text, ElementName=textBox}" />
|
20
|
+
<TextBlock local:NavigationService.Text="{Binding Text, ElementName=textBox}" />
|
21
|
-
</StackPanel>
|
21
|
+
</StackPanel>
|
22
|
-
</Window>
|
22
|
+
</Window>
|
23
|
-
```
|
23
|
+
```
|
24
|
+

|