1 write to _nextButton
PresentationFramework (1)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
175
_nextButton
= GetTemplateChild(ElementNextButton) as Button;
14 references to _nextButton
PresentationFramework (14)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (14)
125
return this.
_nextButton
;
162
if (this.
_nextButton
!= null)
164
this.
_nextButton
.Click -= new RoutedEventHandler(NextButton_Click);
198
if (this.
_nextButton
!= null)
202
if (this.
_nextButton
.Content == null)
204
this.
_nextButton
.Content = SR.Get(SRID.Calendar_NextButtonName);
207
this.
_nextButton
.Click += new RoutedEventHandler(NextButton_Click);
1212
if (this.Owner != null &&
_nextButton
!= null)
1219
_nextButton
.IsEnabled = false;
1226
_nextButton
.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1);
1339
if (this.Owner != null &&
_nextButton
!= null)
1341
_nextButton
.IsEnabled = (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year);
1368
if (this.Owner != null &&
_nextButton
!= null)
1370
_nextButton
.IsEnabled = (this.Owner.DisplayDateEndInternal.Year > decadeEnd);