1 write to _templateContentControl
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
123_templateContentControl = GetTemplateChild(TemplateContentControlTemplatePartName) as ContentControl;
7 references to _templateContentControl
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (7)
1152_templateContentControl?.Visibility = (itemsPresenterVisibility == Visibility.Visible ? Visibility.Collapsed : Visibility.Visible); 1251if (contentTemplate != null && _templateContentControl != null) 1253_templateContentControl.ContentTemplate = contentTemplate; 1256_templateContentControl.Measure(_templateContentControl.DesiredSize); 1257RibbonHelper.FixMeasureInvalidationPaths(_templateContentControl); 1258TreeHelper.InvalidateMeasureForVisualAncestorPath<RibbonGroup>(_templateContentControl);