回答編集履歴

2

permalink

2024/08/31 18:28

投稿

TN8001
TN8001

スコア9807

test CHANGED
@@ -5,4 +5,4 @@
5
5
 
6
6
  [KeyTrigger.ActiveOnFocus Property (Microsoft.Expression.Interactivity.Input) | Microsoft Docs](https://docs.microsoft.com/en-us/previous-versions/visualstudio/design-tools/expression-studio-4/ff726675(v%3Dexpression.40))
7
7
  ↑そのうち消えちゃいそうなので↓ソースのコメント
8
- [XamlBehaviorsWpf/KeyTrigger.cs at master · microsoft/XamlBehaviorsWpf](https://github.com/microsoft/XamlBehaviorsWpf/blob/master/src/Microsoft.Xaml.Behaviors/Input/KeyTrigger.cs#L51)
8
+ [XamlBehaviorsWpf/KeyTrigger.cs at master · microsoft/XamlBehaviorsWpf](https://github.com/microsoft/XamlBehaviorsWpf/blob/1a72a7608536fcae884c1ed318b18ce6411974c5/src/Microsoft.Xaml.Behaviors/Input/KeyTrigger.cs#L51)

1

見直しキャンペーン中

2023/07/23 07:47

投稿

TN8001
TN8001

スコア9807

test CHANGED
@@ -1,15 +1,8 @@
1
- ```xaml
1
+ ```xml
2
-
3
2
  <behaviors:KeyTrigger Key="Enter" ActiveOnFocus="True">
4
-
5
3
  ```
6
-
7
4
  とすればいいようです。
8
5
 
9
-
10
-
11
6
  [KeyTrigger.ActiveOnFocus Property (Microsoft.Expression.Interactivity.Input) | Microsoft Docs](https://docs.microsoft.com/en-us/previous-versions/visualstudio/design-tools/expression-studio-4/ff726675(v%3Dexpression.40))
12
-
13
7
  ↑そのうち消えちゃいそうなので↓ソースのコメント
14
-
15
8
  [XamlBehaviorsWpf/KeyTrigger.cs at master · microsoft/XamlBehaviorsWpf](https://github.com/microsoft/XamlBehaviorsWpf/blob/master/src/Microsoft.Xaml.Behaviors/Input/KeyTrigger.cs#L51)