Detect Combination Key Event
11,108
In KeyDown event of TextBox, use:
if (e.Control && e.KeyCode == Keys.K) {
//Your code here
}
Author by
Ervin Ter
Updated on June 26, 2022Comments
-
Ervin Ter almost 2 years
I would like to perform a key event detection in textbox. The keys should be a combination of Ctrl+K, is there any best way to do it?