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)
124
return this.
_nextButton
;
161
if (this.
_nextButton
!= null)
163
this.
_nextButton
.Click -= new RoutedEventHandler(NextButton_Click);
197
if (this.
_nextButton
!= null)
201
if (this.
_nextButton
.Content == null)
203
this.
_nextButton
.Content = SR.Calendar_NextButtonName;
206
this.
_nextButton
.Click += new RoutedEventHandler(NextButton_Click);
1209
if (this.Owner != null &&
_nextButton
!= null)
1216
_nextButton
.IsEnabled = false;
1223
_nextButton
.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1);
1335
if (this.Owner != null &&
_nextButton
!= null)
1337
_nextButton
.IsEnabled = (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year);
1364
if (this.Owner != null &&
_nextButton
!= null)
1366
_nextButton
.IsEnabled = (this.Owner.DisplayDateEndInternal.Year > decadeEnd);