1 write to _headerButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
170
_headerButton
= GetTemplateChild(ElementHeaderButton) as Button;
14 references to _headerButton
PresentationFramework (14)
System\Windows\Controls\Primitives\CalendarItem.cs (14)
111
return this.
_headerButton
;
161
if (this.
_headerButton
!= null)
163
this.
_headerButton
.Click -= new RoutedEventHandler(HeaderButton_Click);
204
if (this.
_headerButton
!= null)
206
this.
_headerButton
.Click += new RoutedEventHandler(HeaderButton_Click);
1191
if (this.
_headerButton
!= null)
1193
this.
_headerButton
.Content = DateTimeHelper.ToYearMonthPatternString(DisplayDate, DateTimeHelper.GetCulture(this));
1197
this.
_headerButton
.IsEnabled = true;
1321
if (this.
_headerButton
!= null)
1323
this.
_headerButton
.IsEnabled = true;
1324
this.
_headerButton
.Content = DateTimeHelper.ToYearString(DisplayDate, DateTimeHelper.GetCulture(this));
1350
if (this.
_headerButton
!= null)
1352
this.
_headerButton
.Content = DateTimeHelper.ToDecadeRangeString(decade, this);
1353
this.
_headerButton
.IsEnabled = false;