42 references to TreeView
System.Windows.Forms (42)
winforms\Managed\System\WinForms\TreeNode.cs (29)
101
if (owner.
TreeView
!= null) {
103
return owner.
TreeView
.StateImageList;
106
return owner.
TreeView
.ImageList;
277
TreeView tv = this.
TreeView
;
300
TreeView tv = this.
TreeView
;
336
TreeView tv = this.
TreeView
;
376
TreeView tv =
TreeView
;
493
TreeView tv =
TreeView
;
513
TreeView
.CreateControl(); // force handle creation
586
TreeView tv =
TreeView
;
629
TreeView tv = this.
TreeView
;
704
TreeView tv = this.
TreeView
;
787
TreeView tv =
TreeView
;
834
TreeView tv = this.
TreeView
;
912
TreeView tv = this.
TreeView
;
1085
TreeView parentTreeView =
TreeView
;
1203
TreeView tv =
TreeView
;
1223
TreeView tv =
TreeView
;
1319
TreeView tv =
TreeView
;
1489
TreeView tv = this.
TreeView
;
1550
TreeView tv = this.
TreeView
;
1562
TreeView tv =
TreeView
;
1642
if (
TreeView
!= null && node ==
TreeView
.selectedNode)
1643
TreeView
.SelectedNode = node; // communicate this to the handle
1660
TreeView tv = this.
TreeView
;
1799
TreeView tv = this.
TreeView
;
1919
TreeView tv =
TreeView
;
1954
TreeView tv = this.
TreeView
;
winforms\Managed\System\WinForms\TreeNodeCollection.cs (3)
246
TreeView tv = owner.
TreeView
;
326
TreeView tv = owner.
TreeView
;
464
TreeView tv = owner.
TreeView
;
winforms\Managed\System\WinForms\TreeView.cs (10)
1123
Debug.Assert(selectedNode == null || selectedNode.
TreeView
!= this, "handle is created, but we're still caching selectedNode");
1129
else if (selectedNode != null && selectedNode.
TreeView
== this) {
1137
if (IsHandleCreated && (value == null || value.
TreeView
== this)) {
1141
Debug.Assert(selectedNode == null || selectedNode.
TreeView
!= this, "handle is created, but we're still caching selectedNode");
1341
if (IsHandleCreated && (value == null || value.
TreeView
== this)) {
1345
Debug.Assert(topNode == null || topNode.
TreeView
!= this, "handle is created, but we're still caching selectedNode");
2826
Size textSize = TextRenderer.MeasureText(node.Text, node.
TreeView
.Font);
2837
Font font = (node.NodeFont != null) ? node.NodeFont : node.
TreeView
.Font;
2838
Color color = (((curState & TreeNodeStates.Selected) == TreeNodeStates.Selected) && node.
TreeView
.Focused) ? SystemColors.HighlightText : (node.ForeColor != Color.Empty) ? node.ForeColor : node.
TreeView
.ForeColor;