WinRTXamlToolkit.Controls.Calendar.Calendar_KeyDown C# (CSharp) Method

Calendar_KeyDown() private method

Inherited code: Requires comment.
private Calendar_KeyDown ( object sender, KeyRoutedEventArgs e ) : void
sender object Inherited code: Requires comment 1.
e Windows.UI.Xaml.Input.KeyRoutedEventArgs Inherited code: Requires comment 2.
return void
        internal void Calendar_KeyDown(object sender, KeyRoutedEventArgs e)
        {
            Calendar c = sender as Calendar;
            Debug.Assert(c != null, "c should not be null!");

            if (!e.Handled && c.IsEnabled)
            {
                e.Handled = ProcessCalendarKey(e);
            }
        }