{"id":10891,"date":"2019-05-25T22:51:43","date_gmt":"2019-05-25T13:51:43","guid":{"rendered":"https:\/\/elleneast.com\/?p=10891"},"modified":"2019-05-25T22:57:45","modified_gmt":"2019-05-25T13:57:45","slug":"%e3%80%90vb-net%e3%80%91%e3%80%90wpf%e3%80%91textblock-%e3%81%ab%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%a0%e3%82%b3%e3%83%bc%e3%83%89%e3%81%a7-hyperlink-%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%99","status":"publish","type":"post","link":"https:\/\/elleneast.com\/?p=10891","title":{"rendered":"\u3010VB.NET\u3011\u3010WPF\u3011TextBlock \u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u3067 Hyperlink \u3092\u8a2d\u5b9a\u3059\u308b"},"content":{"rendered":"<p>C# \u3067 xaml \u3067 TextBlock \u306b Hyperlink \u3092\u8a2d\u5b9a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u306f\u305f\u304f\u3055\u3093\u898b\u3064\u304b\u308b\u3051\u308c\u3069\uff5e\u3001<\/p>\n<p>VB.NET \u3067\u3057\u304b\u3082\u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u3067\u8a2d\u5b9a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u306f\u307b\u3068\u3093\u3069\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\uff5e\u3001<\/p>\n<p>\u3054\u53c2\u8003\u307e\u3067\u306b\u3069\u3046\u30be\uff5e\u3002<\/p>\n<pre class=\"lang:vbnet decode:true \">'\u30c6\u30ad\u30b9\u30c8\u30d6\u30ed\u30c3\u30af\u3092\u521d\u671f\u5316\noTextBlock.Inlines.Clear\n\n'\u30cf\u30a4\u30d1\u30fc\u30ea\u30f3\u30af\u3092\u8a2d\u5b9a\nDim oHyperlink As New Hyperlink\n\n'\u4e0b\u7dda\u8868\u793a\u3092\u6d88\u3059\noHyperlink.TextDecorations = Nothing\n\n'URI \u3092\u8a2d\u5b9a\noHyperlink.NavigateUri = New Uri(\"https:\/\/elleneast.com\")\n\n'.NavigateUri \u3092\u8a2d\u5b9a\u3057\u305f\u3060\u3051\u3067\u306f\u30af\u30ea\u30c3\u30af\u3057\u305f\u3068\u304d\u306b\u30b8\u30e3\u30f3\u30d7\u3057\u306a\u3044\u3002\u30b8\u30e3\u30f3\u30d7\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u30e9\u30e0\u30c0\u5f0f\u3067\u8a2d\u5b9a\u3002\nAddHandler oHyperlink.RequestNavigate, Sub(sender, e) System.Diagnostics.Process.Start(e.Uri.ToString)\n\n'\u30d5\u30a9\u30fc\u30ab\u30b9\u3092\u53d7\u3051\u53d6\u3089\u306a\u3044\u3088\u3046\u306b\u3059\u308b\uff08\u70b9\u7dda\u3067\u56f2\u307e\u308c\u306a\u3044\u3088\u3046\u306b\u3059\u308b\uff09\u3002\noHyperlink.Focusable = False\n\n'\u30cf\u30a4\u30d1\u30fc\u30ea\u30f3\u30af\u306b\u30c6\u30ad\u30b9\u30c8\u3092\u8a2d\u5b9a\noHyperlink.Inlines.Add(\"\u30a8\u30ec\u30f3\u30fb\u30a4\u30fc\u30b9\u30c8\u306e\u30d6\u30ed\u30b0\")\n\n'\u30c6\u30ad\u30b9\u30c8\u30d6\u30ed\u30c3\u30af\u306b\u30cf\u30a4\u30d1\u30fc\u30ea\u30f3\u30af\u3092\u8ffd\u52a0\u3002\noTextBlock.Inlines.Add(oHyperlink)\n\n'oTextBlock.Text = \"(^^)\" 'Text \u3092\u8a2d\u5b9a\u3059\u308b\u3068\u30cf\u30a4\u30d1\u30fc\u30ea\u30f3\u30af\u306e\u8a2d\u5b9a\u306f\u7834\u68c4\u3055\u308c\u308b<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C# \u3067 xaml \u3067 TextBlock \u306b Hyperlink \u3092\u8a2d\u5b9a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u306f\u305f\u304f\u3055\u3093\u898b\u3064\u304b\u308b\u3051\u308c\u3069\uff5e\u3001 VB.NET \u3067\u3057\u304b\u3082\u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u3067\u8a2d\u5b9a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u306f\u307b\u3068\u3093\u3069\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\uff5e\u3001 \u3054\u53c2\u8003\u307e\u3067\u306b &#8230; <\/p>\n","protected":false},"author":1,"featured_media":2656,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[57],"tags":[60,62],"class_list":{"0":"post-10891","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-57","8":"tag-vb-net","9":"tag-wpf"},"_links":{"self":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts\/10891","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10891"}],"version-history":[{"count":3,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts\/10891\/revisions"}],"predecessor-version":[{"id":10895,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts\/10891\/revisions\/10895"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/media\/2656"}],"wp:attachment":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}