1 write to _headerButton
PresentationFramework (1)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
176
_headerButton
= GetTemplateChild(ElementHeaderButton) as Button;
14 references to _headerButton
PresentationFramework (14)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (14)
117
return this.
_headerButton
;
167
if (this.
_headerButton
!= null)
169
this.
_headerButton
.Click -= new RoutedEventHandler(HeaderButton_Click);
210
if (this.
_headerButton
!= null)
212
this.
_headerButton
.Click += new RoutedEventHandler(HeaderButton_Click);
1199
if (this.
_headerButton
!= null)
1201
this.
_headerButton
.Content = DateTimeHelper.ToYearMonthPatternString(DisplayDate, DateTimeHelper.GetCulture(this));
1205
this.
_headerButton
.IsEnabled = true;
1330
if (this.
_headerButton
!= null)
1332
this.
_headerButton
.IsEnabled = true;
1333
this.
_headerButton
.Content = DateTimeHelper.ToYearString(DisplayDate, DateTimeHelper.GetCulture(this));
1359
if (this.
_headerButton
!= null)
1361
this.
_headerButton
.Content = DateTimeHelper.ToDecadeRangeString(decade, this);
1362
this.
_headerButton
.IsEnabled = false;