Microsoft.Samples.KMoore.WPFSamples.DateControls.MonthCalendar.OnExecutePreviousCommand C# (CSharp) Method

OnExecutePreviousCommand() private static method

private static OnExecutePreviousCommand ( object target, System.Windows.Input.ExecutedRoutedEventArgs args ) : void
target object
args System.Windows.Input.ExecutedRoutedEventArgs
return void
        private static void OnExecutePreviousCommand(object target, ExecutedRoutedEventArgs args)
        {
            MonthCalendar mcc = (MonthCalendar)target;
            mcc.ScrollVisibleMonth(-1, 0);
        }