1 write to _nextButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
168
_nextButton
= GetTemplateChild(ElementNextButton) as Button;
14 references to _nextButton
PresentationFramework (14)
System\Windows\Controls\Primitives\CalendarItem.cs (14)
118
return this.
_nextButton
;
155
if (this.
_nextButton
!= null)
157
this.
_nextButton
.Click -= new RoutedEventHandler(NextButton_Click);
191
if (this.
_nextButton
!= null)
195
if (this.
_nextButton
.Content == null)
197
this.
_nextButton
.Content = SR.Calendar_NextButtonName;
200
this.
_nextButton
.Click += new RoutedEventHandler(NextButton_Click);
1195
if (this.Owner != null &&
_nextButton
!= null)
1202
_nextButton
.IsEnabled = false;
1209
_nextButton
.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateEndInternal, firstDayOfNextMonth) > -1);
1321
if (this.Owner != null &&
_nextButton
!= null)
1323
_nextButton
.IsEnabled = (this.Owner.DisplayDateEndInternal.Year != DisplayDate.Year);
1350
if (this.Owner != null &&
_nextButton
!= null)
1352
_nextButton
.IsEnabled = (this.Owner.DisplayDateEndInternal.Year > decadeEnd);