18 writes to VisualTree
PresentationFramework (17)
MS\Internal\Data\DisplayMemberTemplateSelector.cs (2)
51_xmlNodeContentTemplate.VisualTree = text; 66_clrNodeContentTemplate.VisualTree = text;
System\Windows\Controls\ContentPresenter.cs (6)
57template.VisualTree = text; 65template.VisualTree = text; 75template.VisualTree = text; 718template.VisualTree = text; 741template.VisualTree = text; 765template.VisualTree = text;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1163template.VisualTree = border;
System\Windows\Controls\ItemsPanelTemplate.cs (1)
43VisualTree = root;
System\Windows\Controls\ScrollViewer.cs (1)
2743template.VisualTree = grid;
System\Windows\Controls\Validation.cs (1)
617defaultTemplate.VisualTree = border;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (5)
4361bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.ControlTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4378bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.DataTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4649bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.FrameworkTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4789bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.HierarchicalDataTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4977bamlMember.SetDelegate = 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)
65template.VisualTree = text;
24 references to VisualTree
PresentationFramework (24)
System\Windows\BroadcastEventHelper.cs (1)
516FrameworkElementFactory fefTree = templatedParentTemplate.VisualTree;
System\Windows\Controls\ItemsPanelTemplate.cs (1)
127else if ((root = this.VisualTree) != null)
System\Windows\Controls\ItemsPresenter.cs (2)
316if( Template.VisualTree != null ) 318type = Template.VisualTree.Type;
System\Windows\Controls\PasswordBox.cs (2)
474if (oldTemplate!=null && newTemplate!= null && oldTemplate.VisualTree != newTemplate.VisualTree)
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1034if (oldTemplate!=null && newTemplate!= null && oldTemplate.VisualTree != newTemplate.VisualTree)
System\Windows\FrameworkContentElement.cs (1)
673frameworkTemplate.VisualTree,
System\Windows\FrameworkElement.cs (1)
1950frameworkTemplate.VisualTree,
System\Windows\FrameworkTemplate.cs (4)
124return HasContent || VisualTree != null; 554if (VisualTree != null) 556FrameworkObject frameworkObject = VisualTree.InstantiateUnoptimizedTree(); 1188child, templateChildIndex, ref this.ChildRecordFromChildIndex, false, this.VisualTree);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (5)
4362bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.ControlTemplate)target).VisualTree; }; 4379bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.DataTemplate)target).VisualTree; }; 4650bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.FrameworkTemplate)target).VisualTree; }; 4790bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.HierarchicalDataTemplate)target).VisualTree; }; 4978bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.ItemsPanelTemplate)target).VisualTree; };
System\Windows\StyleHelper.cs (5)
2297oldFrameworkTemplate.VisualTree); 3386oldFactory = (oldFrameworkTemplate != null) ? oldFrameworkTemplate.VisualTree : null; 3387newFactory = (newFrameworkTemplate != null) ? newFrameworkTemplate.VisualTree : null; 3429&& newFrameworkTemplate.VisualTree == null 3935template.VisualTree);