void CalendarItemMonthButton_Click(object sender, RoutedEventArgs e) { Month month = this.DataContext as Month; month.OnMOnthSelected(); }