1 write to _previousButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
168
_previousButton
= GetTemplateChild(ElementPreviousButton) as Button;
13 references to _previousButton
PresentationFramework (13)
System\Windows\Controls\Primitives\CalendarItem.cs (13)
127
return this.
_previousButton
;
151
if (this.
_previousButton
!= null)
153
this.
_previousButton
.Click -= new RoutedEventHandler(PreviousButton_Click);
180
if (this.
_previousButton
!= null)
184
if (this.
_previousButton
.Content == null)
186
this.
_previousButton
.Content = SR.Calendar_PreviousButtonName;
189
this.
_previousButton
.Click += new RoutedEventHandler(PreviousButton_Click);
1225
if (this.Owner != null &&
_previousButton
!= null)
1228
_previousButton
.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateStartInternal, firstDayOfMonth) < 0);
1338
if (this.Owner != null &&
_previousButton
!= null)
1340
_previousButton
.IsEnabled = (this.Owner.DisplayDateStartInternal.Year != DisplayDate.Year);
1367
if (this.Owner != null &&
_previousButton
!= null)
1369
_previousButton
.IsEnabled = (decade > this.Owner.DisplayDateStartInternal.Year);