1 write to _previousButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
156
_previousButton
= GetTemplateChild(ElementPreviousButton) as Button;
12 references to _previousButton
PresentationFramework (12)
System\Windows\Controls\Primitives\CalendarItem.cs (12)
126
return this.
_previousButton
;
150
this.
_previousButton
?.Click -= new RoutedEventHandler(PreviousButton_Click);
168
if (this.
_previousButton
!= null)
172
if (this.
_previousButton
.Content == null)
174
this.
_previousButton
.Content = SR.Calendar_PreviousButtonName;
177
this.
_previousButton
.Click += new RoutedEventHandler(PreviousButton_Click);
1202
if (this.Owner != null &&
_previousButton
!= null)
1205
_previousButton
.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateStartInternal, firstDayOfMonth) < 0);
1315
if (this.Owner != null &&
_previousButton
!= null)
1317
_previousButton
.IsEnabled = (this.Owner.DisplayDateStartInternal.Year != DisplayDate.Year);
1344
if (this.Owner != null &&
_previousButton
!= null)
1346
_previousButton
.IsEnabled = (decade > this.Owner.DisplayDateStartInternal.Year);