13 types derived from TreeView
System.Windows.Forms (1)
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
12internal sealed class PageSelector : TreeView
System.Windows.Forms.Design (2)
System\ComponentModel\Design\ObjectSelectorEditor.Selector.cs (1)
11public class Selector : TreeView
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1902internal class BindingPickerTree : TreeView
System.Windows.Forms.Tests (10)
System\Windows\Forms\OwnerDrawPropertyBagTests.cs (1)
130private class SubTreeView : TreeView
System\Windows\Forms\TreeNodeTests.cs (7)
2385private class CustomGetNextItemTreeView : TreeView 2778private class CustomGetPreviousItemTreeView : TreeView 4855private class InvalidSetItemTreeView : TreeView 4871private class CustomGetItemTreeView : TreeView 4890private class InvalidGetItemTreeView : TreeView 4911private class CustomGetItemRectTreeView : TreeView 4930private class InvalidGetItemRectTreeView : TreeView
System\Windows\Forms\TreeViewTests.cs (2)
1702private class CustomGetVersionTreeView : TreeView 7570private class SubTreeView : TreeView
449 instantiations of TreeView
Accessibility_Core_App (2)
CommonControl2.Designer.cs (1)
55this.treeView1 = new System.Windows.Forms.TreeView();
DataBindingExample.Designer.cs (1)
42this.treeView1 = new System.Windows.Forms.TreeView();
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
221_treeView1 = new TreeView();
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\TreeViewDesignerTests.cs (1)
20using TreeView treeView = new();
System.Windows.Forms.Tests (443)
System\Windows\Forms\AccessibleObjects\TreeNode.TreeNodeAccessibleObjectTests.cs (40)
15using TreeView control = new(); 29using TreeView control = new(); 46using TreeView control = new() { CheckBoxes = false }; 57using TreeView control = new() { CheckBoxes = false }; 75using TreeView control = new() { CheckBoxes = true }; 88using TreeView control = new() { CheckBoxes = true }; 103using TreeView control = new(); 122using TreeView control = new(); 132using TreeView control = new(); 144using TreeView control = new(); 158using TreeView control = new(); 177using TreeView control = new(); 195using TreeView control = new(); 211using TreeView control = new(); 229using TreeView control = new() { CheckBoxes = checkBoxes }; 246using TreeView control = new(); 261using TreeView control = new() { CheckBoxes = true }; 276using TreeView control = new() { LabelEdit = true }; 286using TreeView control = new(); 302using TreeView control = new(); 313using TreeView control = new(); 323using TreeView control = new(); 335using TreeView control = new(); 345using TreeView control = new() { CheckBoxes = true }; 355using TreeView control = new(); 371using TreeView control = new(); 387using TreeView control = new(); 404using TreeView control = new(); 415using TreeView control = new(); 436using TreeView control = new(); 447using TreeView control = new() { CheckBoxes = true }; 462using TreeView control = new() { CheckBoxes = true }; 474using TreeView control = new(); 495using TreeView control = new() { LabelEdit = true }; 506using TreeView control = new(); 518using TreeView control = new(); 538using TreeView control = new(); 555using TreeView control = new(); 575using TreeView control = new(); 597using TreeView treeView = new();
System\Windows\Forms\AccessibleObjects\TreeView.TreeViewAccessibleObjectTests.cs (22)
15using TreeView control = new(); 31using TreeView control = new(); 43using TreeView control = new(); 56using TreeView control = new(); 67using TreeView control = new(); 80using TreeView control = new(); 99using TreeView control = new(); 113using TreeView control = new(); 126using TreeView control = new() { Enabled = isEnabled }; 135using TreeView control = new(); 145using TreeView control = new() { Enabled = false }; 155using TreeView control = new(); 168using TreeView control = new(); 177using TreeView control = new(); 187using TreeView control = new(); 196using TreeView control = new(); 205using TreeView control = new(); 215using TreeView control = new(); 229using TreeView control = new() { Size = new Size(300, 100) }; 243using TreeView control = new() { Size = new Size(300, 100) }; 258using TreeView control = new() { Size = new Size(300, 100) }; 276using TreeView control = new();
System\Windows\Forms\AccessibleObjects\TreeViewLabelEditAccessibleObjectTests.cs (1)
153TreeView treeView = new()
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (19)
18using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 38using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 59using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 80using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 102using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 120using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 136using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 153using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 169using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 188using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 207using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 226using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 247using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 266using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 287using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 317using TreeView treeView = new(); 340using TreeView treeView = new() { RightToLeft = rightToLeft }; 373using TreeView treeView = new() { Size = new Size(50, 50) }; 407using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips };
System\Windows\Forms\TreeNodeCollectionTests.cs (22)
14using TreeView treeView = new(); 62using TreeView treeView = new(); 73using TreeView treeView = new(); 82using TreeView treeView = new(); 92using TreeView treeView = new(); 103using TreeView treeView = new(); 114using TreeView anotherTreeView = new(); 117using TreeView treeView = new(); 127using TreeView treeView = new(); 141using TreeView treeView = new(); 195using TreeView treeView = new(); 220using TreeView treeView = new(); 301using TreeView treeView2 = new(); 317using TreeView treeView3 = new(); 336using TreeView treeView = new(); 344using TreeView treeView = new(); 375using TreeView treeView = new(); 386using TreeView treeView = new(); 411using TreeView treeView = new(); 426using TreeView treeView = new(); 445using TreeView treeView = new(); 487using TreeView treeView = new();
System\Windows\Forms\TreeNodeTests.cs (134)
280using TreeView control = new(); 304using TreeView control = new(); 359using TreeView control = new(); 387using TreeView control = new(); 452using TreeView control = new(); 467using TreeView control = new(); 542using TreeView control = new(); 578using TreeView control = new() 607using TreeView control = new() 652using TreeView control = new() 681using TreeView control = new(); 721using TreeView control = new(); 745using TreeView control = new(); 800using TreeView control = new(); 828using TreeView control = new(); 902using TreeView control = new(); 918using TreeView control = new() 948using TreeView control = new(); 986using TreeView control = new(); 1025using TreeView control = new(); 1050using TreeView control = new(); 1085using TreeView control = new() 1124using TreeView control = new() 1147using TreeView control = new(); 1203using TreeView control = new(); 1227using TreeView control = new() 1258using TreeView control = new() 1283using TreeView control = new(); 1361using TreeView control = new(); 1382using TreeView control = new() 1415using TreeView control = new() 1438using TreeView control = new(); 1476using TreeView control = new(); 1503using TreeView control = new() 1535using TreeView control = new() 1557using TreeView control = new(); 1589using TreeView control = new(); 1600using TreeView control = new(); 1639using TreeView control = new(); 1661using TreeView control = new(); 1693using TreeView control = new(); 1704using TreeView control = new(); 1725using TreeView control = new(); 1738using TreeView control = new(); 1749using TreeView control = new(); 1809using TreeView control = new(); 1822using TreeView control = new(); 1833using TreeView control = new(); 1891using TreeView control = new(); 1904using TreeView control = new(); 1915using TreeView control = new(); 1986using TreeView control = new(); 1999using TreeView control = new(); 2010using TreeView control = new(); 2049using TreeView control = new(); 2071using TreeView control = new(); 2118using TreeView control = new(); 2129using TreeView control = new(); 2168using TreeView control = new(); 2190using TreeView control = new(); 2222using TreeView control = new(); 2233using TreeView control = new(); 2254using TreeView control = new(); 2285using TreeView control = new(); 2307using TreeView control = new(); 2407using TreeView control = new(); 2418using TreeView control = new(); 2457using TreeView control = new(); 2479using TreeView control = new(); 2511using TreeView control = new(); 2522using TreeView control = new(); 2561using TreeView control = new(); 2583using TreeView control = new(); 2615using TreeView control = new(); 2626using TreeView control = new(); 2647using TreeView control = new(); 2678using TreeView control = new(); 2700using TreeView control = new(); 2816using TreeView control = new(); 2840using TreeView control = new(); 2889using TreeView control = new(); 2917using TreeView control = new(); 2968using TreeView control = new(); 3007using TreeView control = new(); 3032using TreeView control = new(); 3067using TreeView control = new() 3106using TreeView control = new() 3129using TreeView control = new(); 3185using TreeView control = new(); 3211using TreeView control = new() 3242using TreeView control = new() 3267using TreeView control = new(); 3345using TreeView control = new(); 3366using TreeView control = new() 3399using TreeView control = new() 3422using TreeView control = new(); 3460using TreeView control = new(); 3487using TreeView control = new() 3519using TreeView control = new() 3541using TreeView control = new(); 3591using TreeView control = new(); 3634using TreeView control = new(); 3671using TreeView control = new() 3709using TreeView control = new() 3757using TreeView control = new() 3793using TreeView control = new() 3846using TreeView control = new() 3876using TreeView control = new() 3908using TreeView control = new() 3938using TreeView control = new() 4017using TreeView control = new(); 4049using TreeView control = new(); 4075using TreeView control = new() 4105using TreeView control = new() 4147using TreeView control = new() 4171using TreeView control = new() 4212using TreeView control = new(); 4246using TreeView control = new() 4286using TreeView control = new() 4310using TreeView control = new() 4386using TreeView control = new() 4407using TreeView control = new() 4443using TreeView control = new() 4468using TreeView control = new() 4505using TreeView control = new(); 4516using TreeView control = new(); 4555using TreeView control = new(); 4577using TreeView control = new(); 4641using TreeView treeView = new(); 4675using TreeView treeView = new(); 4693using TreeView treeView = new(); 4738using TreeView treeView = new(); 4763using TreeView treeView = new(); 4843using TreeView treeView = new();
System\Windows\Forms\TreeViewTests.cs (205)
706using TreeView control = new() 729using TreeView control = new(); 757using TreeView control = new(); 793using TreeView control = new() 809using TreeView control = new(); 852using TreeView control = new() 868using TreeView control = new(); 904using TreeView control = new(); 912using TreeView treeView = new() 926using TreeView treeView = new() 977using TreeView treeView = new() 1030using TreeView treeView = new(); 1038using TreeView treeView = new() 1057using TreeView treeView = new(); 1075using TreeView treeView = new() 1126using TreeView treeView = new() 1320using TreeView control = new() 1335using TreeView treeView = new(); 1453using TreeView treeView = new(); 1470using TreeView control = new() 1485using TreeView control = new(); 1499using TreeView control = new(); 1535using TreeView treeView = new() 1554using TreeView treeView = new(); 1572using TreeView treeView = new() 1623using TreeView treeView = new() 1675using TreeView control = new(); 1732using TreeView treeView = new() 1751using TreeView treeView = new(); 1769using TreeView treeView = new() 1820using TreeView treeView = new() 1873using TreeView treeView = new() 1892using TreeView treeView = new(); 1910using TreeView treeView = new() 1961using TreeView treeView = new() 2016using TreeView treeView = new() 2035using TreeView treeView = new() 2057using TreeView treeView = new() 2079using TreeView treeView = new() 2104using TreeView treeView = new() 2128using TreeView treeView = new() 2149using TreeView treeView = new(); 2170using TreeView treeView = new() 2196using TreeView treeView = new() 2215using TreeView treeView = new(); 2224using TreeView treeView = new() 2242using TreeView treeView = new() 2271using TreeView treeView = new() 2290using TreeView treeView = new() 2312using TreeView treeView = new() 2338using TreeView treeView = new() 2358using TreeView treeView = new(); 2376using TreeView treeView = new() 2399using TreeView treeView = new() 2429using TreeView treeView = new() 2444using TreeView treeView = new() 2461using TreeView treeView = new() 2478using TreeView treeView = new() 2494using TreeView treeView = new(); 2509using TreeView treeView = new() 2528using TreeView treeView = new() 2546using TreeView treeView = new() 2565using TreeView treeView = new() 2584using TreeView treeView = new() 2596using TreeView treeView = new() 2609using TreeView treeView = new() 2624using TreeView treeView = new() 2646using TreeView treeView = new() 2667using TreeView treeView = new(); 2683using TreeView treeView = new(); 2693using TreeView treeView = new() 2723using TreeView treeView = new() 2744using TreeView control = new() 2764using TreeView control = new(); 2795using TreeView control = new(); 2806using TreeView control = new() 2817using TreeView treeView = new() 2836using TreeView treeView = new(); 2854using TreeView treeView = new() 2905using TreeView treeView = new() 2958using TreeView treeView = new() 2973using TreeView treeView = new() 2988using TreeView control = new() 3005using TreeView control = new(); 3033using TreeView control = new(); 3076using TreeView control = new() 3233using TreeView treeView = new() 3252using TreeView treeView = new(); 3270using TreeView treeView = new() 3321using TreeView treeView = new() 3376using TreeView treeView = new() 3395using TreeView treeView = new() 3417using TreeView treeView = new() 3439using TreeView treeView = new() 3464using TreeView treeView = new() 3488using TreeView treeView = new() 3509using TreeView treeView = new(); 3530using TreeView treeView = new() 3556using TreeView treeView = new() 3575using TreeView treeView = new(); 3584using TreeView treeView = new() 3602using TreeView treeView = new() 3621using TreeView treeView = new() 3640using TreeView treeView = new() 3662using TreeView treeView = new() 3688using TreeView treeView = new() 3708using TreeView treeView = new(); 3726using TreeView treeView = new() 3749using TreeView treeView = new() 3769using TreeView treeView = new() 3788using TreeView treeView = new(); 3806using TreeView treeView = new() 3857using TreeView treeView = new() 3910using TreeView treeView = new() 3929using TreeView treeView = new(); 3947using TreeView treeView = new() 3998using TreeView treeView = new() 4051using TreeView treeView = new() 4070using TreeView treeView = new(); 4088using TreeView treeView = new() 4139using TreeView treeView = new() 4192using TreeView treeView = new() 4211using TreeView treeView = new(); 4229using TreeView treeView = new() 4280using TreeView treeView = new() 4333using TreeView treeView = new() 4352using TreeView treeView = new(); 4370using TreeView treeView = new() 4421using TreeView treeView = new() 4474using TreeView treeView = new() 4490using TreeView treeView = new() 4507using TreeView treeView = new(); 4523using TreeView treeView = new() 4542using TreeView treeView = new() 4561using TreeView treeView = new() 4573using TreeView treeView = new() 4586using TreeView treeView = new() 4601using TreeView treeView = new() 4617using TreeView control = new() 4634using TreeView control = new(); 4662using TreeView control = new(); 4714using TreeView treeView = new() 4728using TreeView treeView = new() 4741using TreeView treeView = new(); 4774using TreeView control = new(); 4793using TreeView control = new(); 4819using TreeView control = new(); 4834using TreeView control = new(); 4861using TreeView control = new(); 4890using TreeView control = new(); 4919using TreeView control = new(); 4932using TreeView control = new(); 4947using TreeView control = new(); 4962using TreeView control = new(); 4989using TreeView control = new(); 5018using TreeView control = new(); 5099using TreeView control = new(); 5121using TreeView control = new(); 5151using TreeView control = new(); 5170using TreeView control = new(); 5201using TreeView control = new(); 5234using TreeView control = new(); 5267using TreeView control = new(); 5284using TreeView control = new(); 5303using TreeView control = new(); 5322using TreeView control = new(); 5353using TreeView control = new(); 5386using TreeView control = new(); 6624using TreeView treeView = new(); 6637using TreeView treeView = new(); 6653using TreeView treeView = new(); 6667using TreeView treeView = new(); 6686using TreeView treeView = new(); 6707using TreeView treeView = new(); 6728using TreeView treeView = new(); 6746using TreeView treeView = new(); 6772using TreeView treeView = new(); 6786using TreeView treeView = new(); 6810using TreeView treeView = new(); 6831using TreeView treeView = new(); 6857using TreeView treeView = new(); 6891using TreeView treeView = new(); 6920using TreeView treeView = new(); 6957using TreeView treeView = new(); 6983using TreeView treeView = new() { CheckBoxes = checkBoxes }; 7008using TreeView treeView = new() { CheckBoxes = checkBoxes }; 7033using TreeView treeView = new() { CheckBoxes = checkBoxes }; 7061using TreeView treeView = new() { CheckBoxes = checkBoxes }; 7089using TreeView treeView = new() { CheckBoxes = checkBoxes }; 7115using TreeView treeView = new(); 7144using TreeView treeView = new(); 7167using TreeView treeView = new(); 7188using TreeView treeView = new(); 7223using TreeView treeView = new(); 7271using TreeView treeView = new(); 7312using TreeView treeView = new(); 7373using TreeView treeView = new(); 7395using TreeView treeView = new(); 7406TreeView treeView = new(); 7468using TreeView treeView = new(); 7480using TreeView treeView = new(); 7492using TreeView treeView = new(); 7508using TreeView treeView = new(); 7524using TreeView treeView = new(); 7558using TreeView treeView = new();
WinFormsControlsTest (2)
ScrollableControls.Designer.cs (1)
74treeView1 = new TreeView();
TreeViewTest.Designer.cs (1)
36this.treeView1 = new System.Windows.Forms.TreeView();
574 references to TreeView
Accessibility_Core_App (2)
CommonControl2.Designer.cs (1)
301private System.Windows.Forms.TreeView treeView1;
DataBindingExample.Designer.cs (1)
306private System.Windows.Forms.TreeView treeView1;
DesignSurface (2)
MainForm.cs (2)
207TreeView tv1 = surface.CreateControl<TreeView>(new Size(200, 160), new Point(10, 220));
System.Windows.Forms (86)
System\Windows\Forms\Controls\TreeView\NodeLabelEditEventArgs.cs (2)
7/// Provides data for the <see cref="TreeView.OnBeforeLabelEdit"/> 8/// or <see cref="TreeView.OnAfterLabelEdit"/> event.
System\Windows\Forms\Controls\TreeView\NodeLabelEditEventHandler.cs (3)
7/// Represents a method that will handle the <see cref="TreeView.OnBeforeLabelEdit"/> 8/// or <see cref="TreeView.OnAfterLabelEdit"/> event of 9/// a <see cref="TreeView"/>.
System\Windows\Forms\Controls\TreeView\TreeNode.cs (33)
99internal TreeView? _treeView; 118internal TreeNode(TreeView treeView) 231TreeView? tv = TreeView; 259TreeView? tv = TreeView; 299TreeView? tv = TreeView; 347TreeView? tv = TreeView; 458TreeView? tv = TreeView; 509TreeView? tv = TreeView; 579TreeView? tv = TreeView; 618TreeView tv = TreeView!; 692TreeView? tv = TreeView; 794TreeView? tv = TreeView; 851TreeView? tv = TreeView; 892TreeView? tv = TreeView; 959TreeView? tv = TreeView; 1019TreeView? tv = TreeView; 1105public TreeView? TreeView 1123internal int AddSorted(TreeView parentTreeView, TreeNode node) 1191public static TreeNode? FromHandle(TreeView tree, IntPtr handle) => tree.NodeFromHandle(handle); 1193private void SortChildren(TreeView? parentTreeView) 1279TreeView tv = TreeView!; 1303TreeView? tv = TreeView; 1403TreeView? tv = TreeView; 1468private void DoCollapse(TreeView tv) 1589TreeView? tv = TreeView; 1658TreeView? tv = TreeView; 1672TreeView? tv = TreeView; 1705internal TreeView? FindTreeView() 1820TreeView? tv = TreeView; 1975TreeView? tv = TreeView; 2023private unsafe void ResetExpandedState(TreeView tv) 2135TreeView tv = TreeView!; 2203TreeView tv = TreeView!;
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (2)
15private readonly TreeView _owningTreeView; 17public TreeNodeAccessibleObject(TreeNode owningTreeNode, TreeView owningTreeView)
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (4)
46TreeView tv = _owner._treeView!; 217TreeView? tv = _owner.TreeView; 310TreeView? tv = _owner.TreeView; 446TreeView? tv = _owner.TreeView;
System\Windows\Forms\Controls\TreeView\TreeNodeMouseClickEventArgs.cs (2)
7/// Provides data for the <see cref="TreeView.OnNodeMouseClick"/> or 8/// <see cref="TreeView.OnNodeMouseDoubleClick"/> event.
System\Windows\Forms\Controls\TreeView\TreeNodeMouseClickEventHandler.cs (2)
7/// Represents a method that will handle the <see cref="TreeView.OnNodeMouseClick"/> or 8/// <see cref="TreeView.OnNodeMouseDoubleClick"/> event.
System\Windows\Forms\Controls\TreeView\TreeNodeMouseHoverEventArgs.cs (1)
7/// Provides data for the <see cref="TreeView.OnNodeMouseHover"/> event.
System\Windows\Forms\Controls\TreeView\TreeNodeMouseHoverEventHandler.cs (1)
7/// Represents a method that will handle the <see cref="TreeView.NodeMouseHover"/> event.
System\Windows\Forms\Controls\TreeView\TreeView.TreeViewAccessibleObject.cs (9)
15public TreeViewAccessibleObject(TreeView owningTreeView) : base(owningTreeView) { } 34=> index >= 0 && index < GetChildCount() && this.TryGetOwnerAs(out TreeView? owningTreeView) 41this.TryGetOwnerAs(out TreeView? owningTreeView) ? owningTreeView.Nodes.Count : base.GetChildCount(); 50UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId => (VARIANT)(this.TryGetOwnerAs(out TreeView? owningTreeView) 52UIA_PROPERTY_ID.UIA_IsEnabledPropertyId => (VARIANT)(this.TryGetOwnerAs(out TreeView? owningTreeView) && owningTreeView.Enabled), 59if (!this.IsOwnerHandleCreated(out TreeView? owningTreeView)) 81if (!this.TryGetOwnerAs(out TreeView? owningTreeView)) 110internal override bool IsSelectionRequired => this.TryGetOwnerAs(out TreeView? owningTreeView) && 114=> this.IsOwnerHandleCreated(out TreeView? _) && GetSelected() is IRawElementProviderSimple.Interface selected
System\Windows\Forms\Controls\TreeView\TreeViewCancelEventArgs.cs (4)
9/// Provides data for the <see cref="TreeView.OnBeforeCheck"/>, 10/// <see cref="TreeView.OnBeforeCollapse"/>, 11/// <see cref="TreeView.OnBeforeExpand"/>, 12/// or <see cref="TreeView.OnBeforeSelect"/> event.
System\Windows\Forms\Controls\TreeView\TreeViewCancelEventHandler.cs (4)
7/// Represents a method that will handle the <see cref="TreeView.OnBeforeCheck"/>, 8/// <see cref="TreeView.OnBeforeCollapse"/>, <see cref="TreeView.BeforeExpand"/>, 9/// or <see cref="TreeView.BeforeSelect"/> event.
System\Windows\Forms\Controls\TreeView\TreeViewEventArgs.cs (4)
7/// Provides data for the <see cref="TreeView.OnAfterCheck"/>, 8/// <see cref="TreeView.AfterCollapse"/>, 9/// <see cref="TreeView.AfterExpand"/>, 10/// or <see cref="TreeView.AfterSelect"/> event.
System\Windows\Forms\Controls\TreeView\TreeViewEventHandler.cs (4)
7/// Represents a method that will handle the <see cref="TreeView.OnAfterCheck"/>, 8/// <see cref="TreeView.OnAfterCollapse"/>, <see cref="TreeView.OnAfterExpand"/>, 9/// or <see cref="TreeView.OnAfterSelect"/> event.
System\Windows\Forms\Controls\TreeView\TreeViewLabelEditAccessibleObject.cs (6)
11private readonly WeakReference<TreeView> _owningTreeView; 13public TreeViewLabelEditAccessibleObject(TreeView owningTreeView, TreeViewLabelEditNativeWindow labelEdit) : base(owningTreeView, labelEdit) 20_owningTreeView.TryGetTarget(out TreeView? target) 25_owningTreeView.TryGetTarget(out TreeView? target) 30_owningTreeView.TryGetTarget(out TreeView? target) 39UIA_PROPERTY_ID.UIA_IsEnabledPropertyId => _owningTreeView.TryGetTarget(out TreeView? target) ? (VARIANT)target.Enabled : VARIANT.False,
System\Windows\Forms\Controls\TreeView\TreeViewLabelEditNativeWindow.cs (3)
8private readonly WeakReference<TreeView> _owningTreeView; 10public TreeViewLabelEditNativeWindow(TreeView owningTreeView) : base(owningTreeView) => _owningTreeView = new(owningTreeView); 12public override AccessibleObject? AccessibilityObject => _owningTreeView.TryGetTarget(out TreeView? target) ? new TreeViewLabelEditAccessibleObject(target, this) : null;
System\Windows\Forms\ToolTip\ToolTip.cs (2)
831if ((control is TreeView tv && tv.ShowNodeToolTips) 2163if (window is TreeView treeView && treeView.ShowNodeToolTips)
System.Windows.Forms.Design (13)
System\ComponentModel\Design\ObjectSelectorEditor.cs (1)
60public static void ApplyTreeViewThemeStyles(TreeView treeView)
System\Windows\Forms\Design\DesignerUtils.cs (1)
828public static void ApplyTreeViewThemeStyles(TreeView treeView)
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (5)
43private TreeView _treeView1; 100private TreeView TreeView 104if (Context is not null && Context.Instance is TreeView view) 432TreeView actualTV = TreeView; 454private void SetImageProps(TreeView actualTreeView)
System\Windows\Forms\Design\TreeViewActionList.cs (4)
12private readonly TreeView _treeView; 18_treeView = (TreeView)designer.Component; 21public void InvokeNodesDialog() => EditorServiceContext.EditValue(_designer, Component!, nameof(TreeView.Nodes)); 26set => TypeDescriptor.GetProperties(_treeView)[nameof(TreeView.ImageList)]!.SetValue(Component, value);
System\Windows\Forms\Design\TreeViewDesigner.cs (2)
19private TreeView? _treeView; 61_treeView = component as TreeView;
System.Windows.Forms.Design.Tests (5)
EnsureEditorsTests.cs (4)
143[InlineData(typeof(TreeView), "ImageIndex", typeof(ImageIndexEditor))] 144[InlineData(typeof(TreeView), "ImageKey", typeof(ImageIndexEditor))] 145[InlineData(typeof(TreeView), "SelectedImageIndex", typeof(ImageIndexEditor))] 146[InlineData(typeof(TreeView), "SelectedImageKey", typeof(ImageIndexEditor))]
System\Windows\Forms\Design\TreeViewDesignerTests.cs (1)
20using TreeView treeView = new();
System.Windows.Forms.Tests (463)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
34typeof(TreeView),
System\Windows\Forms\AccessibleObjects\TreeNode.TreeNodeAccessibleObjectTests.cs (41)
15using TreeView control = new(); 29using TreeView control = new(); 46using TreeView control = new() { CheckBoxes = false }; 57using TreeView control = new() { CheckBoxes = false }; 75using TreeView control = new() { CheckBoxes = true }; 88using TreeView control = new() { CheckBoxes = true }; 103using TreeView control = new(); 122using TreeView control = new(); 132using TreeView control = new(); 144using TreeView control = new(); 158using TreeView control = new(); 177using TreeView control = new(); 195using TreeView control = new(); 211using TreeView control = new(); 229using TreeView control = new() { CheckBoxes = checkBoxes }; 246using TreeView control = new(); 261using TreeView control = new() { CheckBoxes = true }; 276using TreeView control = new() { LabelEdit = true }; 286using TreeView control = new(); 302using TreeView control = new(); 313using TreeView control = new(); 323using TreeView control = new(); 335using TreeView control = new(); 345using TreeView control = new() { CheckBoxes = true }; 355using TreeView control = new(); 371using TreeView control = new(); 387using TreeView control = new(); 404using TreeView control = new(); 415using TreeView control = new(); 436using TreeView control = new(); 447using TreeView control = new() { CheckBoxes = true }; 462using TreeView control = new() { CheckBoxes = true }; 474using TreeView control = new(); 495using TreeView control = new() { LabelEdit = true }; 506using TreeView control = new(); 518using TreeView control = new(); 538using TreeView control = new(); 555using TreeView control = new(); 575using TreeView control = new(); 597using TreeView treeView = new(); 624public AccessibilityObjectDisconnectTrackingTreeNode(TreeView treeView) : base(treeView) { }
System\Windows\Forms\AccessibleObjects\TreeView.TreeViewAccessibleObjectTests.cs (23)
6using static System.Windows.Forms.TreeView; 15using TreeView control = new(); 31using TreeView control = new(); 43using TreeView control = new(); 56using TreeView control = new(); 67using TreeView control = new(); 80using TreeView control = new(); 99using TreeView control = new(); 113using TreeView control = new(); 126using TreeView control = new() { Enabled = isEnabled }; 135using TreeView control = new(); 145using TreeView control = new() { Enabled = false }; 155using TreeView control = new(); 168using TreeView control = new(); 177using TreeView control = new(); 187using TreeView control = new(); 196using TreeView control = new(); 205using TreeView control = new(); 215using TreeView control = new(); 229using TreeView control = new() { Size = new Size(300, 100) }; 243using TreeView control = new() { Size = new Size(300, 100) }; 258using TreeView control = new() { Size = new Size(300, 100) }; 276using TreeView control = new();
System\Windows\Forms\AccessibleObjects\TreeViewLabelEditAccessibleObjectTests.cs (12)
15using TreeView treeView = CreateTreeViewAndStartEditing(); 51using TreeView treeView = CreateTreeViewAndStartEditing(); 63using TreeView treeView = CreateTreeViewAndStartEditing(); 77using TreeView treeView = CreateTreeViewAndStartEditing(); 88using TreeView treeView = CreateTreeViewAndStartEditing(); 99using TreeView treeView = CreateTreeViewAndStartEditing(); 110using TreeView treeView = CreateTreeViewAndStartEditing(); 121using TreeView treeView = CreateTreeViewAndStartEditing(); 136using TreeView treeView = CreateTreeViewAndStartEditing(); 145using TreeView treeView = CreateTreeViewAndStartEditing(); 151private TreeView CreateTreeViewAndStartEditing() 153TreeView treeView = new()
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (20)
18using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 38using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 59using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 80using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 102using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 120using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 136using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 153using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 169using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 188using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 207using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 226using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 247using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 266using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 287using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 317using TreeView treeView = new(); 340using TreeView treeView = new() { RightToLeft = rightToLeft }; 373using TreeView treeView = new() { Size = new Size(50, 50) }; 407using TreeView treeView = new() { ShowNodeToolTips = showNodeToolTips }; 438private Rectangle GetRectangle(TreeView treeView, TreeNode treeNode)
System\Windows\Forms\TreeNodeCollectionTests.cs (22)
14using TreeView treeView = new(); 62using TreeView treeView = new(); 73using TreeView treeView = new(); 82using TreeView treeView = new(); 92using TreeView treeView = new(); 103using TreeView treeView = new(); 114using TreeView anotherTreeView = new(); 117using TreeView treeView = new(); 127using TreeView treeView = new(); 141using TreeView treeView = new(); 195using TreeView treeView = new(); 220using TreeView treeView = new(); 301using TreeView treeView2 = new(); 317using TreeView treeView3 = new(); 336using TreeView treeView = new(); 344using TreeView treeView = new(); 375using TreeView treeView = new(); 386using TreeView treeView = new(); 411using TreeView treeView = new(); 426using TreeView treeView = new(); 445using TreeView treeView = new(); 487using TreeView treeView = new();
System\Windows\Forms\TreeNodeTests.cs (134)
280using TreeView control = new(); 304using TreeView control = new(); 359using TreeView control = new(); 387using TreeView control = new(); 452using TreeView control = new(); 467using TreeView control = new(); 542using TreeView control = new(); 578using TreeView control = new() 607using TreeView control = new() 652using TreeView control = new() 681using TreeView control = new(); 721using TreeView control = new(); 745using TreeView control = new(); 800using TreeView control = new(); 828using TreeView control = new(); 902using TreeView control = new(); 918using TreeView control = new() 948using TreeView control = new(); 986using TreeView control = new(); 1025using TreeView control = new(); 1050using TreeView control = new(); 1085using TreeView control = new() 1124using TreeView control = new() 1147using TreeView control = new(); 1203using TreeView control = new(); 1227using TreeView control = new() 1258using TreeView control = new() 1283using TreeView control = new(); 1361using TreeView control = new(); 1382using TreeView control = new() 1415using TreeView control = new() 1438using TreeView control = new(); 1476using TreeView control = new(); 1503using TreeView control = new() 1535using TreeView control = new() 1557using TreeView control = new(); 1589using TreeView control = new(); 1600using TreeView control = new(); 1639using TreeView control = new(); 1661using TreeView control = new(); 1693using TreeView control = new(); 1704using TreeView control = new(); 1725using TreeView control = new(); 1738using TreeView control = new(); 1749using TreeView control = new(); 1809using TreeView control = new(); 1822using TreeView control = new(); 1833using TreeView control = new(); 1891using TreeView control = new(); 1904using TreeView control = new(); 1915using TreeView control = new(); 1986using TreeView control = new(); 1999using TreeView control = new(); 2010using TreeView control = new(); 2049using TreeView control = new(); 2071using TreeView control = new(); 2118using TreeView control = new(); 2129using TreeView control = new(); 2168using TreeView control = new(); 2190using TreeView control = new(); 2222using TreeView control = new(); 2233using TreeView control = new(); 2254using TreeView control = new(); 2285using TreeView control = new(); 2307using TreeView control = new(); 2407using TreeView control = new(); 2418using TreeView control = new(); 2457using TreeView control = new(); 2479using TreeView control = new(); 2511using TreeView control = new(); 2522using TreeView control = new(); 2561using TreeView control = new(); 2583using TreeView control = new(); 2615using TreeView control = new(); 2626using TreeView control = new(); 2647using TreeView control = new(); 2678using TreeView control = new(); 2700using TreeView control = new(); 2816using TreeView control = new(); 2840using TreeView control = new(); 2889using TreeView control = new(); 2917using TreeView control = new(); 2968using TreeView control = new(); 3007using TreeView control = new(); 3032using TreeView control = new(); 3067using TreeView control = new() 3106using TreeView control = new() 3129using TreeView control = new(); 3185using TreeView control = new(); 3211using TreeView control = new() 3242using TreeView control = new() 3267using TreeView control = new(); 3345using TreeView control = new(); 3366using TreeView control = new() 3399using TreeView control = new() 3422using TreeView control = new(); 3460using TreeView control = new(); 3487using TreeView control = new() 3519using TreeView control = new() 3541using TreeView control = new(); 3591using TreeView control = new(); 3634using TreeView control = new(); 3671using TreeView control = new() 3709using TreeView control = new() 3757using TreeView control = new() 3793using TreeView control = new() 3846using TreeView control = new() 3876using TreeView control = new() 3908using TreeView control = new() 3938using TreeView control = new() 4017using TreeView control = new(); 4049using TreeView control = new(); 4075using TreeView control = new() 4105using TreeView control = new() 4147using TreeView control = new() 4171using TreeView control = new() 4212using TreeView control = new(); 4246using TreeView control = new() 4286using TreeView control = new() 4310using TreeView control = new() 4386using TreeView control = new() 4407using TreeView control = new() 4443using TreeView control = new() 4468using TreeView control = new() 4505using TreeView control = new(); 4516using TreeView control = new(); 4555using TreeView control = new(); 4577using TreeView control = new(); 4641using TreeView treeView = new(); 4675using TreeView treeView = new(); 4693using TreeView treeView = new(); 4738using TreeView treeView = new(); 4763using TreeView treeView = new(); 4843using TreeView treeView = new();
System\Windows\Forms\TreeViewTests.cs (210)
706using TreeView control = new() 729using TreeView control = new(); 757using TreeView control = new(); 793using TreeView control = new() 809using TreeView control = new(); 852using TreeView control = new() 868using TreeView control = new(); 904using TreeView control = new(); 912using TreeView treeView = new() 926using TreeView treeView = new() 977using TreeView treeView = new() 1030using TreeView treeView = new(); 1038using TreeView treeView = new() 1057using TreeView treeView = new(); 1075using TreeView treeView = new() 1126using TreeView treeView = new() 1320using TreeView control = new() 1335using TreeView treeView = new(); 1453using TreeView treeView = new(); 1470using TreeView control = new() 1485using TreeView control = new(); 1499using TreeView control = new(); 1535using TreeView treeView = new() 1554using TreeView treeView = new(); 1572using TreeView treeView = new() 1623using TreeView treeView = new() 1675using TreeView control = new(); 1732using TreeView treeView = new() 1751using TreeView treeView = new(); 1769using TreeView treeView = new() 1820using TreeView treeView = new() 1873using TreeView treeView = new() 1892using TreeView treeView = new(); 1910using TreeView treeView = new() 1961using TreeView treeView = new() 2016using TreeView treeView = new() 2035using TreeView treeView = new() 2057using TreeView treeView = new() 2079using TreeView treeView = new() 2104using TreeView treeView = new() 2128using TreeView treeView = new() 2149using TreeView treeView = new(); 2170using TreeView treeView = new() 2196using TreeView treeView = new() 2215using TreeView treeView = new(); 2224using TreeView treeView = new() 2242using TreeView treeView = new() 2271using TreeView treeView = new() 2290using TreeView treeView = new() 2312using TreeView treeView = new() 2338using TreeView treeView = new() 2358using TreeView treeView = new(); 2376using TreeView treeView = new() 2399using TreeView treeView = new() 2429using TreeView treeView = new() 2444using TreeView treeView = new() 2461using TreeView treeView = new() 2478using TreeView treeView = new() 2494using TreeView treeView = new(); 2509using TreeView treeView = new() 2528using TreeView treeView = new() 2546using TreeView treeView = new() 2565using TreeView treeView = new() 2584using TreeView treeView = new() 2596using TreeView treeView = new() 2609using TreeView treeView = new() 2624using TreeView treeView = new() 2646using TreeView treeView = new() 2667using TreeView treeView = new(); 2683using TreeView treeView = new(); 2693using TreeView treeView = new() 2723using TreeView treeView = new() 2744using TreeView control = new() 2764using TreeView control = new(); 2795using TreeView control = new(); 2806using TreeView control = new() 2817using TreeView treeView = new() 2836using TreeView treeView = new(); 2854using TreeView treeView = new() 2905using TreeView treeView = new() 2958using TreeView treeView = new() 2973using TreeView treeView = new() 2988using TreeView control = new() 3005using TreeView control = new(); 3033using TreeView control = new(); 3076using TreeView control = new() 3233using TreeView treeView = new() 3252using TreeView treeView = new(); 3270using TreeView treeView = new() 3321using TreeView treeView = new() 3376using TreeView treeView = new() 3395using TreeView treeView = new() 3417using TreeView treeView = new() 3439using TreeView treeView = new() 3464using TreeView treeView = new() 3488using TreeView treeView = new() 3509using TreeView treeView = new(); 3530using TreeView treeView = new() 3556using TreeView treeView = new() 3575using TreeView treeView = new(); 3584using TreeView treeView = new() 3602using TreeView treeView = new() 3621using TreeView treeView = new() 3640using TreeView treeView = new() 3662using TreeView treeView = new() 3688using TreeView treeView = new() 3708using TreeView treeView = new(); 3726using TreeView treeView = new() 3749using TreeView treeView = new() 3769using TreeView treeView = new() 3788using TreeView treeView = new(); 3806using TreeView treeView = new() 3857using TreeView treeView = new() 3910using TreeView treeView = new() 3929using TreeView treeView = new(); 3947using TreeView treeView = new() 3998using TreeView treeView = new() 4051using TreeView treeView = new() 4070using TreeView treeView = new(); 4088using TreeView treeView = new() 4139using TreeView treeView = new() 4192using TreeView treeView = new() 4211using TreeView treeView = new(); 4229using TreeView treeView = new() 4280using TreeView treeView = new() 4333using TreeView treeView = new() 4352using TreeView treeView = new(); 4370using TreeView treeView = new() 4421using TreeView treeView = new() 4474using TreeView treeView = new() 4490using TreeView treeView = new() 4507using TreeView treeView = new(); 4523using TreeView treeView = new() 4542using TreeView treeView = new() 4561using TreeView treeView = new() 4573using TreeView treeView = new() 4586using TreeView treeView = new() 4601using TreeView treeView = new() 4617using TreeView control = new() 4634using TreeView control = new(); 4662using TreeView control = new(); 4714using TreeView treeView = new() 4728using TreeView treeView = new() 4741using TreeView treeView = new(); 4774using TreeView control = new(); 4793using TreeView control = new(); 4819using TreeView control = new(); 4834using TreeView control = new(); 4861using TreeView control = new(); 4890using TreeView control = new(); 4919using TreeView control = new(); 4932using TreeView control = new(); 4947using TreeView control = new(); 4962using TreeView control = new(); 4989using TreeView control = new(); 5018using TreeView control = new(); 5099using TreeView control = new(); 5121using TreeView control = new(); 5151using TreeView control = new(); 5170using TreeView control = new(); 5201using TreeView control = new(); 5234using TreeView control = new(); 5267using TreeView control = new(); 5284using TreeView control = new(); 5303using TreeView control = new(); 5322using TreeView control = new(); 5353using TreeView control = new(); 5386using TreeView control = new(); 6624using TreeView treeView = new(); 6637using TreeView treeView = new(); 6653using TreeView treeView = new(); 6667using TreeView treeView = new(); 6686using TreeView treeView = new(); 6707using TreeView treeView = new(); 6728using TreeView treeView = new(); 6746using TreeView treeView = new(); 6772using TreeView treeView = new(); 6786using TreeView treeView = new(); 6810using TreeView treeView = new(); 6831using TreeView treeView = new(); 6857using TreeView treeView = new(); 6891using TreeView treeView = new(); 6920using TreeView treeView = new(); 6957using TreeView treeView = new(); 6983using TreeView treeView = new() { CheckBoxes = checkBoxes }; 7008using TreeView treeView = new() { CheckBoxes = checkBoxes }; 7033using TreeView treeView = new() { CheckBoxes = checkBoxes }; 7061using TreeView treeView = new() { CheckBoxes = checkBoxes }; 7089using TreeView treeView = new() { CheckBoxes = checkBoxes }; 7115using TreeView treeView = new(); 7144using TreeView treeView = new(); 7167using TreeView treeView = new(); 7188using TreeView treeView = new(); 7223using TreeView treeView = new(); 7271using TreeView treeView = new(); 7312using TreeView treeView = new(); 7373using TreeView treeView = new(); 7395using TreeView treeView = new(); 7404private TreeView InitializeTreeViewWithNodes() 7406TreeView treeView = new(); 7413private void AddNodes(TreeView treeView, string root, string child = null, string grandChild = null) 7434using TreeView treeView = InitializeTreeViewWithNodes(); 7445using TreeView treeView = InitializeTreeViewWithNodes(); 7456using TreeView treeView = InitializeTreeViewWithNodes(); 7468using TreeView treeView = new(); 7480using TreeView treeView = new(); 7492using TreeView treeView = new(); 7508using TreeView treeView = new(); 7524using TreeView treeView = new(); 7558using TreeView treeView = new();
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
34await RunSingleControlTestAsync<TreeView>(async (form, treeView) =>
WinFormsControlsTest (2)
ScrollableControls.Designer.cs (1)
498private TreeView treeView1;
TreeViewTest.Designer.cs (1)
73private System.Windows.Forms.TreeView treeView1;