1 write to _textBlock2
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (1)
260_textBlock2 = this.GetTemplateChild("PART_TextBlock2") as TextBlock;
11 references to _textBlock2
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (11)
266if (_textBlock1 != null && _textBlock2 != null && _path != null) 276_textBlock2.Text = this.Text; 277_textBlock2.Visibility = Visibility.Visible; 280TreeHelper.InvalidateMeasureForVisualAncestorPath<RibbonTwoLineText>(_textBlock2); 309_textBlock2.Text = secondLineText; 310_textBlock2.Visibility = Visibility.Visible; 313TreeHelper.InvalidateMeasureForVisualAncestorPath<RibbonTwoLineText>(_textBlock2); 322_textBlock2.Text = null; 323_textBlock2.Visibility = Visibility.Collapsed; 337Debug.Assert(_textBlock1 != null && _textBlock2 != null); 371Debug.Assert(_textBlock1 != null && _textBlock2 != null);