20 writes to VisualTree
Microsoft.AspNetCore.Components.WebView.Wpf (1)
BlazorWebView.cs (1)
118 VisualTree = new FrameworkElementFactory(typeof(WebView2Control), WebViewTemplateChildName)
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
89Template = new ControlTemplate { VisualTree = templateBorder };
PresentationFramework (17)
MS\Internal\Data\DisplayMemberTemplateSelector.cs (2)
49_xmlNodeContentTemplate.VisualTree = text; 66_clrNodeContentTemplate.VisualTree = text;
System\Windows\Controls\ContentPresenter.cs (6)
47template.VisualTree = text; 55template.VisualTree = text; 67template.VisualTree = text; 713VisualTree = text 740VisualTree = text 768VisualTree = text
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1163VisualTree = border
System\Windows\Controls\ItemsPanelTemplate.cs (1)
37VisualTree = root;
System\Windows\Controls\ScrollViewer.cs (1)
2737VisualTree = grid
System\Windows\Controls\Validation.cs (1)
602defaultTemplate.VisualTree = border;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (5)
4603SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.ControlTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }, 4622SetDelegate = delegate (object target, object value) { ((System.Windows.DataTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }, 4921SetDelegate = delegate (object target, object value) { ((System.Windows.FrameworkTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }, 5077SetDelegate = delegate (object target, object value) { ((System.Windows.HierarchicalDataTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }, 5287SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.ItemsPanelTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; },
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
62template.VisualTree = text;
24 references to VisualTree
PresentationFramework (24)
System\Windows\BroadcastEventHelper.cs (1)
509FrameworkElementFactory fefTree = templatedParentTemplate.VisualTree;
System\Windows\Controls\ItemsPanelTemplate.cs (1)
121else if ((root = this.VisualTree) != null)
System\Windows\Controls\ItemsPresenter.cs (2)
308if( Template.VisualTree != null ) 310type = Template.VisualTree.Type;
System\Windows\Controls\PasswordBox.cs (2)
458if (oldTemplate!=null && newTemplate!= null && oldTemplate.VisualTree != newTemplate.VisualTree)
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1026if (oldTemplate!=null && newTemplate!= null && oldTemplate.VisualTree != newTemplate.VisualTree)
System\Windows\FrameworkContentElement.cs (1)
648frameworkTemplate.VisualTree,
System\Windows\FrameworkElement.cs (1)
1935frameworkTemplate.VisualTree,
System\Windows\FrameworkTemplate.cs (4)
114return HasContent || VisualTree != null; 541if (VisualTree != null) 543FrameworkObject frameworkObject = VisualTree.InstantiateUnoptimizedTree(); 1173child, templateChildIndex, ref this.ChildRecordFromChildIndex, false, this.VisualTree);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (5)
4604GetDelegate = delegate (object target) { return ((System.Windows.Controls.ControlTemplate)target).VisualTree; } 4623GetDelegate = delegate (object target) { return ((System.Windows.DataTemplate)target).VisualTree; } 4922GetDelegate = delegate (object target) { return ((System.Windows.FrameworkTemplate)target).VisualTree; } 5078GetDelegate = delegate (object target) { return ((System.Windows.HierarchicalDataTemplate)target).VisualTree; } 5288GetDelegate = delegate (object target) { return ((System.Windows.Controls.ItemsPanelTemplate)target).VisualTree; }
System\Windows\StyleHelper.cs (5)
2285oldFrameworkTemplate.VisualTree); 3371oldFactory = oldFrameworkTemplate?.VisualTree; 3372newFactory = newFrameworkTemplate?.VisualTree; 3414&& newFrameworkTemplate.VisualTree == null 3924template.VisualTree);