1 write to _nextButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
174_nextButton = GetTemplateChild(ElementNextButton) as Button;
14 references to _nextButton
PresentationFramework (14)
System\Windows\Controls\Primitives\CalendarItem.cs (14)
124return this._nextButton; 161if (this._nextButton != null) 163this._nextButton.Click -= new RoutedEventHandler(NextButton_Click); 197if (this._nextButton != null) 201if (this._nextButton.Content == null) 203this._nextButton.Content = SR.Calendar_NextButtonName; 206this._nextButton.Click += new RoutedEventHandler(NextButton_Click); 1209if (this.Owner != null && _nextButton != null) 1216_nextButton.IsEnabled = false; 1223_nextButton.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1); 1335if (this.Owner != null && _nextButton != null) 1337_nextButton.IsEnabled = (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year); 1364if (this.Owner != null && _nextButton != null) 1366_nextButton.IsEnabled = (this.Owner.DisplayDateEndInternal.Year > decadeEnd);