1 write to _nextButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
157
_nextButton
= GetTemplateChild(ElementNextButton) as Button;
13 references to _nextButton
PresentationFramework (13)
System\Windows\Controls\Primitives\CalendarItem.cs (13)
118
return this.
_nextButton
;
151
this.
_nextButton
?.Click -= new RoutedEventHandler(NextButton_Click);
180
if (this.
_nextButton
!= null)
184
if (this.
_nextButton
.Content == null)
186
this.
_nextButton
.Content = SR.Calendar_NextButtonName;
189
this.
_nextButton
.Click += new RoutedEventHandler(NextButton_Click);
1181
if (this.Owner != null &&
_nextButton
!= null)
1188
_nextButton
.IsEnabled = false;
1195
_nextButton
.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1);
1307
if (this.Owner != null &&
_nextButton
!= null)
1309
_nextButton
.IsEnabled = (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year);
1336
if (this.Owner != null &&
_nextButton
!= null)
1338
_nextButton
.IsEnabled = (this.Owner.DisplayDateEndInternal.Year > decadeEnd);