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)
266
if (_textBlock1 != null &&
_textBlock2
!= null && _path != null)
276
_textBlock2
.Text = this.Text;
277
_textBlock2
.Visibility = Visibility.Visible;
280
TreeHelper.InvalidateMeasureForVisualAncestorPath<RibbonTwoLineText>(
_textBlock2
);
309
_textBlock2
.Text = secondLineText;
310
_textBlock2
.Visibility = Visibility.Visible;
313
TreeHelper.InvalidateMeasureForVisualAncestorPath<RibbonTwoLineText>(
_textBlock2
);
322
_textBlock2
.Text = null;
323
_textBlock2
.Visibility = Visibility.Collapsed;
337
Debug.Assert(_textBlock1 != null &&
_textBlock2
!= null);
371
Debug.Assert(_textBlock1 != null &&
_textBlock2
!= null);