1 write to _textBlock2
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (1)
264
_textBlock2
= this.GetTemplateChild("PART_TextBlock2") as TextBlock;
11 references to _textBlock2
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (11)
270
if (_textBlock1 != null &&
_textBlock2
!= null && _path != null)
280
_textBlock2
.Text = this.Text;
281
_textBlock2
.Visibility = Visibility.Visible;
284
TreeHelper.InvalidateMeasureForVisualAncestorPath<RibbonTwoLineText>(
_textBlock2
);
313
_textBlock2
.Text = secondLineText;
314
_textBlock2
.Visibility = Visibility.Visible;
317
TreeHelper.InvalidateMeasureForVisualAncestorPath<RibbonTwoLineText>(
_textBlock2
);
326
_textBlock2
.Text = null;
327
_textBlock2
.Visibility = Visibility.Collapsed;
341
Debug.Assert(_textBlock1 != null &&
_textBlock2
!= null);
375
Debug.Assert(_textBlock1 != null &&
_textBlock2
!= null);