1 write to _previousButton
PresentationFramework (1)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
174
_previousButton
= GetTemplateChild(ElementPreviousButton) as Button;
13 references to _previousButton
PresentationFramework (13)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (13)
133
return this.
_previousButton
;
157
if (this.
_previousButton
!= null)
159
this.
_previousButton
.Click -= new RoutedEventHandler(PreviousButton_Click);
186
if (this.
_previousButton
!= null)
190
if (this.
_previousButton
.Content == null)
192
this.
_previousButton
.Content = SR.Get(SRID.Calendar_PreviousButtonName);
195
this.
_previousButton
.Click += new RoutedEventHandler(PreviousButton_Click);
1233
if (this.Owner != null &&
_previousButton
!= null)
1236
_previousButton
.IsEnabled = (DateTimeHelper.CompareDays(this.Owner.DisplayDateStartInternal, firstDayOfMonth) < 0);
1347
if (this.Owner != null &&
_previousButton
!= null)
1349
_previousButton
.IsEnabled = (this.Owner.DisplayDateStartInternal.Year != DisplayDate.Year);
1376
if (this.Owner != null &&
_previousButton
!= null)
1378
_previousButton
.IsEnabled = (decade > this.Owner.DisplayDateStartInternal.Year);