1 write to _textBlock2
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (1)
261
_textBlock2
= this.GetTemplateChild("PART_TextBlock2") as TextBlock;
11 references to _textBlock2
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (11)
267
if (_textBlock1 != null &&
_textBlock2
!= null && _path != null)
277
_textBlock2
.Text = this.Text;
278
_textBlock2
.Visibility = Visibility.Visible;
281
TreeHelper.InvalidateMeasureForVisualAncestorPath<RibbonTwoLineText>(
_textBlock2
);
310
_textBlock2
.Text = secondLineText;
311
_textBlock2
.Visibility = Visibility.Visible;
314
TreeHelper.InvalidateMeasureForVisualAncestorPath<RibbonTwoLineText>(
_textBlock2
);
323
_textBlock2
.Text = null;
324
_textBlock2
.Visibility = Visibility.Collapsed;
338
Debug.Assert(_textBlock1 != null &&
_textBlock2
!= null);
372
Debug.Assert(_textBlock1 != null &&
_textBlock2
!= null);