10 references to ByKeyboard
System.Windows.Forms (4)
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
2266
bool eventReturn = TreeViewBeforeCheck(node, TreeViewAction.
ByKeyboard
);
2270
TreeViewAfterCheck(node, TreeViewAction.
ByKeyboard
);
2506
action = TreeViewAction.
ByKeyboard
;
2535
action = TreeViewAction.
ByKeyboard
;
System.Windows.Forms.Tests (6)
System\Windows\Forms\TreeViewCancelEventArgsTests.cs (1)
12
yield return new object[] { new TreeNode(), true, TreeViewAction.
ByKeyboard
};
System\Windows\Forms\TreeViewEventArgsTests.cs (1)
27
yield return new object[] { new TreeNode(), TreeViewAction.
ByKeyboard
};
System\Windows\Forms\TreeViewTests.cs (4)
5562
yield return new object[] { new TreeViewCancelEventArgs(null, false, TreeViewAction.
ByKeyboard
) };
5563
yield return new object[] { new TreeViewCancelEventArgs(new TreeNode(), true, TreeViewAction.
ByKeyboard
) };
5798
Assert.Equal(TreeViewAction.
ByKeyboard
, e.Action);
5807
Assert.Equal(TreeViewAction.
ByKeyboard
, e.Action);