1 write to _previousButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
173
_previousButton
= GetTemplateChild(ElementPreviousButton) as Button;
13 references to _previousButton
PresentationFramework (13)
System\Windows\Controls\Primitives\CalendarItem.cs (13)
132
return this.
_previousButton
;
156
if (this.
_previousButton
!= null)
158
this.
_previousButton
.Click -= new RoutedEventHandler(PreviousButton_Click);
185
if (this.
_previousButton
!= null)
189
if (this.
_previousButton
.Content == null)
191
this.
_previousButton
.Content = SR.Calendar_PreviousButtonName;
194
this.
_previousButton
.Click += new RoutedEventHandler(PreviousButton_Click);
1230
if (this.Owner != null &&
_previousButton
!= null)
1233
_previousButton
.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateStartInternal, firstDayOfMonth) < 0);
1343
if (this.Owner != null &&
_previousButton
!= null)
1345
_previousButton
.IsEnabled = (this.Owner.DisplayDateStartInternal.Year != DisplayDate.Year);
1372
if (this.Owner != null &&
_previousButton
!= null)
1374
_previousButton
.IsEnabled = (decade > this.Owner.DisplayDateStartInternal.Year);