protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void | ||
e | System.Windows.Input.KeyEventArgs | Information about the event. |
return | void |
protected override void OnKeyDown(KeyEventArgs e)
{
if (e.Key == Key.Escape) IsDropDownOpen = false;
base.OnKeyDown(e);
}