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)
50_xmlNodeContentTemplate.VisualTree = text; 67_clrNodeContentTemplate.VisualTree = text;
System\Windows\Controls\ContentPresenter.cs (6)
48template.VisualTree = text; 56template.VisualTree = text; 68template.VisualTree = text; 714VisualTree = text 741VisualTree = text 769VisualTree = text
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1164VisualTree = border
System\Windows\Controls\ItemsPanelTemplate.cs (1)
38VisualTree = root;
System\Windows\Controls\ScrollViewer.cs (1)
2738VisualTree = grid
System\Windows\Controls\Validation.cs (1)
603defaultTemplate.VisualTree = border;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (5)
4604SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.ControlTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }, 4623SetDelegate = delegate (object target, object value) { ((System.Windows.DataTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }, 4922SetDelegate = delegate (object target, object value) { ((System.Windows.FrameworkTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }, 5078SetDelegate = delegate (object target, object value) { ((System.Windows.HierarchicalDataTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }, 5288SetDelegate = 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)
63template.VisualTree = text;
24 references to VisualTree
PresentationFramework (24)
System\Windows\BroadcastEventHelper.cs (1)
510FrameworkElementFactory fefTree = templatedParentTemplate.VisualTree;
System\Windows\Controls\ItemsPanelTemplate.cs (1)
122else if ((root = this.VisualTree) != null)
System\Windows\Controls\ItemsPresenter.cs (2)
309if( Template.VisualTree != null ) 311type = Template.VisualTree.Type;
System\Windows\Controls\PasswordBox.cs (2)
459if (oldTemplate!=null && newTemplate!= null && oldTemplate.VisualTree != newTemplate.VisualTree)
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1027if (oldTemplate!=null && newTemplate!= null && oldTemplate.VisualTree != newTemplate.VisualTree)
System\Windows\FrameworkContentElement.cs (1)
649frameworkTemplate.VisualTree,
System\Windows\FrameworkElement.cs (1)
1936frameworkTemplate.VisualTree,
System\Windows\FrameworkTemplate.cs (4)
115return HasContent || VisualTree != null; 543if (VisualTree != null) 545FrameworkObject frameworkObject = VisualTree.InstantiateUnoptimizedTree(); 1175child, templateChildIndex, ref this.ChildRecordFromChildIndex, false, this.VisualTree);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (5)
4605GetDelegate = delegate (object target) { return ((System.Windows.Controls.ControlTemplate)target).VisualTree; } 4624GetDelegate = delegate (object target) { return ((System.Windows.DataTemplate)target).VisualTree; } 4923GetDelegate = delegate (object target) { return ((System.Windows.FrameworkTemplate)target).VisualTree; } 5079GetDelegate = delegate (object target) { return ((System.Windows.HierarchicalDataTemplate)target).VisualTree; } 5289GetDelegate = delegate (object target) { return ((System.Windows.Controls.ItemsPanelTemplate)target).VisualTree; }
System\Windows\StyleHelper.cs (5)
2286oldFrameworkTemplate.VisualTree); 3372oldFactory = oldFrameworkTemplate?.VisualTree; 3373newFactory = newFrameworkTemplate?.VisualTree; 3415&& newFrameworkTemplate.VisualTree == null 3925template.VisualTree);