c# Programming Glossary: e.key
Silverlight numeric textbox? http://stackoverflow.com/questions/1977202/silverlight-numeric-textbox true if Keyboard.Modifiers ModifierKeys.Alt 0 return if e.Key Key.Back e.Key Key.Delete e.Key Key.Left e.Key Key.Right e.Key.. ModifierKeys.Alt 0 return if e.Key Key.Back e.Key Key.Delete e.Key Key.Left e.Key Key.Right e.Key Key.D0 e.Key.. 0 return if e.Key Key.Back e.Key Key.Delete e.Key Key.Left e.Key Key.Right e.Key Key.D0 e.Key Key.D1 e.Key Key.D2..
Bind TextBox on Enter-key press http://stackoverflow.com/questions/563195/bind-textbox-on-enter-key-press void HandlePreviewKeyDown object sender KeyEventArgs e if e.Key Key.Enter DoUpdateSource e.Source static void DoUpdateSource..
Spritesheet in Silverlight http://stackoverflow.com/questions/5812752/spritesheet-in-silverlight KeyDown delegate object sender KeyEventArgs e switch e.Key case Key.Up currentColumn if currentColumn 0 currentColumn..
Moving to next control on Enter keypress in WPF http://stackoverflow.com/questions/8203329/moving-to-next-control-on-enter-keypress-in-wpf void TextBox_KeyDown object sender KeyEventArgs e if e.Key Key.Enter sender as TextBox .AcceptsReturn false MoveToNextUIElement..
|