ProcessKey() public method

If the widget is focused, gives the widget a chance to process the keystroke.

Widgets can override this method if they are interested in processing the given keystroke. If they consume the keystroke, they must return true to stop the keystroke from being processed by other widgets or consumed by the widget engine. If they return false, the keystroke will be passed out to other widgets for processing.

public ProcessKey ( int key ) : bool
key int
return bool
Example #1
0
 public override bool ProcessKey(int key)
 {
     return(Widget.ProcessKey(key));
 }