1 write to _nextButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
157_nextButton = GetTemplateChild(ElementNextButton) as Button;
13 references to _nextButton
PresentationFramework (13)
System\Windows\Controls\Primitives\CalendarItem.cs (13)
118return this._nextButton; 151this._nextButton?.Click -= new RoutedEventHandler(NextButton_Click); 180if (this._nextButton != null) 184if (this._nextButton.Content == null) 186this._nextButton.Content = SR.Calendar_NextButtonName; 189this._nextButton.Click += new RoutedEventHandler(NextButton_Click); 1181if (this.Owner != null && _nextButton != null) 1188_nextButton.IsEnabled = false; 1195_nextButton.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1); 1307if (this.Owner != null && _nextButton != null) 1309_nextButton.IsEnabled = (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year); 1336if (this.Owner != null && _nextButton != null) 1338_nextButton.IsEnabled = (this.Owner.DisplayDateEndInternal.Year > decadeEnd);