protected OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void | ||
e | System.Windows.Input.KeyEventArgs | |
return | void |
protected override void OnPreviewKeyDown( KeyEventArgs e )
{
//if the calendar is open then we don't want to modify the behavior of navigating the calendar control with the Up/Down keys.
if( !IsOpen )
base.OnPreviewKeyDown( e );
}