C# Class GoToDef.GoToDefKeyProcessor

Listen for the control key being pressed or released to update the CtrlKeyStateChanged for a view.
Inheritance: KeyProcessor
Datei anzeigen Open project: NoahRic/GoToDef

Public Methods

Method Description
GoToDefKeyProcessor ( CtrlKeyState state ) : System
PreviewKeyDown ( System.Windows.Input.KeyEventArgs args ) : void
PreviewKeyUp ( System.Windows.Input.KeyEventArgs args ) : void

Private Methods

Method Description
UpdateState ( System.Windows.Input.KeyEventArgs args ) : void

Method Details

GoToDefKeyProcessor() public method

public GoToDefKeyProcessor ( CtrlKeyState state ) : System
state CtrlKeyState
return System

PreviewKeyDown() public method

public PreviewKeyDown ( System.Windows.Input.KeyEventArgs args ) : void
args System.Windows.Input.KeyEventArgs
return void

PreviewKeyUp() public method

public PreviewKeyUp ( System.Windows.Input.KeyEventArgs args ) : void
args System.Windows.Input.KeyEventArgs
return void