1 write to _nextButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
169
_nextButton
= GetTemplateChild(ElementNextButton) as Button;
14 references to _nextButton
PresentationFramework (14)
System\Windows\Controls\Primitives\CalendarItem.cs (14)
119
return this.
_nextButton
;
156
if (this.
_nextButton
!= null)
158
this.
_nextButton
.Click -= new RoutedEventHandler(NextButton_Click);
192
if (this.
_nextButton
!= null)
196
if (this.
_nextButton
.Content == null)
198
this.
_nextButton
.Content = SR.Calendar_NextButtonName;
201
this.
_nextButton
.Click += new RoutedEventHandler(NextButton_Click);
1205
if (this.Owner != null &&
_nextButton
!= null)
1212
_nextButton
.IsEnabled = false;
1219
_nextButton
.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1);
1331
if (this.Owner != null &&
_nextButton
!= null)
1333
_nextButton
.IsEnabled = (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year);
1360
if (this.Owner != null &&
_nextButton
!= null)
1362
_nextButton
.IsEnabled = (this.Owner.DisplayDateEndInternal.Year > decadeEnd);