1 write to _previousButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
167
_previousButton
= GetTemplateChild(ElementPreviousButton) as Button;
13 references to _previousButton
PresentationFramework (13)
System\Windows\Controls\Primitives\CalendarItem.cs (13)
126
return this.
_previousButton
;
150
if (this.
_previousButton
!= null)
152
this.
_previousButton
.Click -= new RoutedEventHandler(PreviousButton_Click);
179
if (this.
_previousButton
!= null)
183
if (this.
_previousButton
.Content == null)
185
this.
_previousButton
.Content = SR.Calendar_PreviousButtonName;
188
this.
_previousButton
.Click += new RoutedEventHandler(PreviousButton_Click);
1216
if (this.Owner != null &&
_previousButton
!= null)
1219
_previousButton
.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateStartInternal, firstDayOfMonth) < 0);
1329
if (this.Owner != null &&
_previousButton
!= null)
1331
_previousButton
.IsEnabled = (this.Owner.DisplayDateStartInternal.Year != DisplayDate.Year);
1358
if (this.Owner != null &&
_previousButton
!= null)
1360
_previousButton
.IsEnabled = (decade > this.Owner.DisplayDateStartInternal.Year);