1 write to _nextButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
168_nextButton = GetTemplateChild(ElementNextButton) as Button;
14 references to _nextButton
PresentationFramework (14)
System\Windows\Controls\Primitives\CalendarItem.cs (14)
118return this._nextButton; 155if (this._nextButton != null) 157this._nextButton.Click -= new RoutedEventHandler(NextButton_Click); 191if (this._nextButton != null) 195if (this._nextButton.Content == null) 197this._nextButton.Content = SR.Calendar_NextButtonName; 200this._nextButton.Click += new RoutedEventHandler(NextButton_Click); 1195if (this.Owner != null && _nextButton != null) 1202_nextButton.IsEnabled = false; 1209_nextButton.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1); 1321if (this.Owner != null && _nextButton != null) 1323_nextButton.IsEnabled = (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year); 1350if (this.Owner != null && _nextButton != null) 1352_nextButton.IsEnabled = (this.Owner.DisplayDateEndInternal.Year > decadeEnd);