5 types derived from TreeNode
System.Web.Mobile (4)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (1)
1005
internal class ChoiceTreeNode :
TreeNode
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (1)
712
private class DeviceFilterTreeNode :
TreeNode
, ICloneable
UI\MobileControls\Design\ListComponentEditorPage.cs (1)
301
protected class ListTreeNode :
TreeNode
UI\MobileControls\Design\StylesEditorDialog.cs (1)
1167
private class StyleNode :
TreeNode
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DocumentOutline.cs (1)
450
public class WorkflowOutlineNode :
TreeNode
21 instantiations of TreeNode
System.Windows.Forms (15)
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
250
selector.Nodes.Add(new
TreeNode
(title, n, n));
winforms\Managed\System\WinForms\TreeNode.cs (1)
1267
node = new
TreeNode
(text, ImageIndexer.Index, SelectedImageIndexer.Index);
winforms\Managed\System\WinForms\TreeNodeCollection.cs (12)
168
TreeNode tn = new
TreeNode
(text);
180
TreeNode tn = new
TreeNode
(text);
191
TreeNode tn = new
TreeNode
(text);
203
TreeNode tn = new
TreeNode
(text);
215
TreeNode tn = new
TreeNode
(text, imageIndex, selectedImageIndex);
226
TreeNode tn = new
TreeNode
(text);
493
TreeNode tn = new
TreeNode
(text);
503
TreeNode tn = new
TreeNode
(text);
514
TreeNode tn = new
TreeNode
(text);
526
TreeNode tn = new
TreeNode
(text);
538
TreeNode tn = new
TreeNode
(text, imageIndex, selectedImageIndex);
549
TreeNode tn = new
TreeNode
(text);
winforms\Managed\System\WinForms\TreeView.cs (1)
182
root = new
TreeNode
(this);
System.Workflow.ComponentModel (6)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (4)
678
TreeNode workflowNode = new
TreeNode
(DR.GetString(DR.WorkflowDesc));
745
TreeNode nodeToInsert = (imageIndex >= 0) ? new
TreeNode
(ActivityToolboxItem.GetToolboxDisplayName(type), imageIndex, imageIndex) : new
TreeNode
(ActivityToolboxItem.GetToolboxDisplayName(type));
817
catagoryNode = new
TreeNode
(designerCatagoryAttribute.Category);
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
460
node = new
TreeNode
(type.Assembly.GetName().Name, 3, 3);
485
TreeNode nsNode = new
TreeNode
(namespaceName, 49, 49);
236 references to TreeNode
System.Messaging (8)
System\Messaging\Design\QueuePathDialog.cs (8)
110
TreeNode
node = (
TreeNode
)e.Node;
127
TreeNode
node = e.Node;
241
this.enterprise.Nodes.AddRange(new System.Windows.Forms.
TreeNode
[] { new System.Windows.Forms.TreeNode(Res.GetString(Res.PleaseWait)) });
403
TreeNode
machineNode = null;
405
machineNode = (
TreeNode
)machinesTable[machineName];
440
TreeNode
machine = machines[index];
449
TreeNode
queueNode = queues[index2];
System.Web.Mobile (17)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (4)
939
private
TreeNode
[] _cachedTreeView = null;
944
_cachedTreeView = new
TreeNode
[treeView.Nodes.Count];
948
internal
TreeNode
[] AppliedFilters
959
TreeNode
selectedNode = treeView.SelectedNode;
UI\MobileControls\Design\StylesEditorDialog.cs (3)
66
private
TreeNode
_editCandidateNode = null;
935
_editCandidateNode = (
TreeNode
)_tvDefinedStyles.GetNodeAt (e.X, e.Y);
944
_editCandidateNode = (
TreeNode
)_tvDefinedStyles.GetNodeAt (e.X, e.Y);
UI\MobileControls\Design\Util\EditableTreeList.cs (10)
35
internal
TreeNode
LastNodeChanged = null;
36
internal
TreeNode
EditCandidateNode = null;
159
TreeNode
selectedNode = TvList.SelectedNode;
171
internal
TreeNode
SelectedNode
179
private
TreeNode
SelectedNodeChecked
183
TreeNode
node = TvList.SelectedNode;
236
TreeNode
selectedNode = TvList.SelectedNode;
278
EditCandidateNode = (
TreeNode
)TvList.GetNodeAt (e.X, e.Y);
287
EditCandidateNode = (
TreeNode
)TvList.GetNodeAt (e.X, e.Y);
328
foreach(
TreeNode
node in TvList.Nodes)
System.Windows.Forms (166)
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (2)
796
TreeNode
itemNode =
TreeNode
.FromHandle(this, (IntPtr)nmtvcd.nmcd.dwItemSpec);
winforms\Managed\System\WinForms\DrawTreeNodeEventArgs.cs (3)
25
private readonly
TreeNode
node;
34
public DrawTreeNodeEventArgs(Graphics graphics,
TreeNode
node, Rectangle bounds,
74
public
TreeNode
Node
winforms\Managed\System\WinForms\NodeLabelEditEvent.cs (4)
26
private readonly
TreeNode
node;
33
public NodeLabelEditEventArgs(
TreeNode
node) {
42
public NodeLabelEditEventArgs(
TreeNode
node, string label) {
74
public
TreeNode
Node {
winforms\Managed\System\WinForms\TreeNode.cs (37)
81
private
TreeNode
owner;
93
public TreeNodeImageIndexer(
TreeNode
node, ImageListType imageListType) {
155
internal
TreeNode
[] children;
156
internal
TreeNode
parent;
192
public TreeNode(string text,
TreeNode
[] children) : this() {
211
public TreeNode(string text, int imageIndex, int selectedImageIndex,
TreeNode
[] children) : this() {
431
public
TreeNode
FirstNode {
438
private
TreeNode
FirstVisibleParent {
440
TreeNode
node = this;
651
public
TreeNode
LastNode {
682
public
TreeNode
NextNode {
699
public
TreeNode
NextVisibleNode {
709
TreeNode
node = FirstVisibleParent;
785
public
TreeNode
Parent {
803
public
TreeNode
PrevNode {
828
public
TreeNode
PrevVisibleNode {
833
TreeNode
node = FirstVisibleParent;
1081
internal int AddSorted(
TreeNode
node) {
1132
public static
TreeNode
FromHandle(TreeView tree, IntPtr handle) {
1142
TreeNode
[] newOrder = new
TreeNode
[childCount];
1264
TreeNode
node = null;
1266
if (clonedType == typeof(
TreeNode
)){
1272
node = (
TreeNode
)Activator.CreateInstance(clonedType);
1301
node.children = new
TreeNode
[childCount];
1303
node.Nodes.Add((
TreeNode
)children[i].Clone());
1474
TreeNode
[] childNodes = new
TreeNode
[childCount];
1478
childNodes[i] = (
TreeNode
)serializationInfo.GetValue("children" + i, typeof(
TreeNode
));
1508
children = new
TreeNode
[size];
1515
TreeNode
[] bigger = new
TreeNode
[newSize];
1594
TreeNode
node = this;
1631
internal void InsertNodeAt(int index,
TreeNode
node) {
1673
TreeNode
prev = PrevNode;
1878
si.AddValue("children" + i, children[i], typeof(
TreeNode
));
winforms\Managed\System\WinForms\TreeNodeClickEventArgs.cs (3)
26
private
TreeNode
node;
33
public TreeNodeMouseClickEventArgs(
TreeNode
node, MouseButtons button, int clicks, int x, int y)
42
public
TreeNode
Node {
winforms\Managed\System\WinForms\TreeNodeCollection.cs (52)
28
private
TreeNode
owner;
41
internal TreeNodeCollection(
TreeNode
owner) {
62
public virtual
TreeNode
this[int index] {
86
if (value is
TreeNode
) {
87
this[index] = (
TreeNode
)value;
99
public virtual
TreeNode
this[string key] {
167
public virtual
TreeNode
Add(string text) {
168
TreeNode
tn = new TreeNode(text);
179
public virtual
TreeNode
Add(string key, string text) {
180
TreeNode
tn = new TreeNode(text);
190
public virtual
TreeNode
Add(string key, string text, int imageIndex) {
191
TreeNode
tn = new TreeNode(text);
202
public virtual
TreeNode
Add(string key, string text, string imageKey) {
203
TreeNode
tn = new TreeNode(text);
214
public virtual
TreeNode
Add(string key, string text, int imageIndex, int selectedImageIndex) {
215
TreeNode
tn = new TreeNode(text, imageIndex, selectedImageIndex);
225
public virtual
TreeNode
Add(string key, string text, string imageKey, string selectedImageKey) {
226
TreeNode
tn = new TreeNode(text);
240
public virtual void AddRange(
TreeNode
[] nodes) {
247
if (tv != null && nodes.Length >
TreeNode
.MAX_TREENODES_OPS) {
256
if (tv != null && nodes.Length >
TreeNode
.MAX_TREENODES_OPS) {
265
public
TreeNode
[] Find (string key, bool searchAllChildren) {
269
TreeNode
[] stronglyTypedFoundNodes = new
TreeNode
[foundNodes.Count];
313
public virtual int Add(
TreeNode
node) {
318
private int AddInternal(
TreeNode
node, int delta) {
361
else if (node is
TreeNode
) {
362
return Add((
TreeNode
)node);
374
public bool Contains(
TreeNode
node) {
390
if (node is
TreeNode
) {
391
return Contains((
TreeNode
)node);
402
public int IndexOf(
TreeNode
node) {
414
if (node is
TreeNode
) {
415
return IndexOf((
TreeNode
)node);
459
public virtual void Insert(int index,
TreeNode
node) {
478
if (node is
TreeNode
) {
479
Insert(index, (
TreeNode
)node);
492
public virtual
TreeNode
Insert(int index, string text) {
493
TreeNode
tn = new TreeNode(text);
502
public virtual
TreeNode
Insert(int index, string key, string text) {
503
TreeNode
tn = new TreeNode(text);
513
public virtual
TreeNode
Insert(int index, string key, string text, int imageIndex) {
514
TreeNode
tn = new TreeNode(text);
525
public virtual
TreeNode
Insert(int index, string key, string text, string imageKey) {
526
TreeNode
tn = new TreeNode(text);
537
public virtual
TreeNode
Insert(int index, string key, string text, int imageIndex, int selectedImageIndex) {
538
TreeNode
tn = new TreeNode(text, imageIndex, selectedImageIndex);
548
public virtual
TreeNode
Insert(int index, string key, string text, string imageKey, string selectedImageKey) {
549
TreeNode
tn = new TreeNode(text);
590
public void Remove(
TreeNode
node) {
597
if (node is
TreeNode
) {
598
Remove((
TreeNode
)node);
winforms\Managed\System\WinForms\TreeNodeConverter.cs (13)
56
if (destinationType == typeof(InstanceDescriptor) && value is
TreeNode
) {
57
TreeNode
node = (
TreeNode
)value;
63
info = typeof(
TreeNode
).GetConstructor(new Type[] {typeof(string)});
67
info = typeof(
TreeNode
).GetConstructor(new Type[] {typeof(string), typeof(
TreeNode
[])});
69
TreeNode
[] nodesArray = new
TreeNode
[node.Nodes.Count];
77
info = typeof(
TreeNode
).GetConstructor(new Type[] {
87
info = typeof(
TreeNode
).GetConstructor(new Type[] {
91
typeof(
TreeNode
[])});
93
TreeNode
[] nodesArray = new
TreeNode
[node.Nodes.Count];
winforms\Managed\System\WinForms\TreeNodeMouseHoverEvent.cs (3)
24
readonly
TreeNode
node;
30
public TreeNodeMouseHoverEventArgs(
TreeNode
node) {
38
public
TreeNode
Node {
winforms\Managed\System\WinForms\TreeView.cs (39)
69
internal
TreeNode
selectedNode = null;
73
private
TreeNode
prevHoveredNode = null;
147
internal
TreeNode
editNode;
148
internal
TreeNode
root;
156
private
TreeNode
topNode;
1120
public
TreeNode
SelectedNode {
1332
public
TreeNode
TopNode {
1697
foreach (
TreeNode
node in Nodes) {
1788
TreeNode
node = (hnode == IntPtr.Zero ? null : NodeFromHandle(hnode));
1800
internal bool TreeViewBeforeCheck(
TreeNode
node, TreeViewAction actionTaken) {
1806
internal void TreeViewAfterCheck(
TreeNode
node, TreeViewAction actionTaken) {
1823
public
TreeNode
GetNodeAt(Point pt) {
1831
public
TreeNode
GetNodeAt(int x, int y) {
1849
private void UpdateImagesRecursive (
TreeNode
node )
1856
foreach (
TreeNode
child in node.Nodes) {
1864
foreach (
TreeNode
node in Nodes) {
1952
internal
TreeNode
NodeFromHandle(IntPtr handle) {
1953
TreeNode
node = (
TreeNode
)nodeTable[handle];
1972
TreeNode
savedSelectedNode = this.selectedNode;
2170
TreeNode
tn = NodeFromHandle(hnode);
2323
TreeNode
node = this.SelectedNode;
2389
TreeNode
[] nodes = new
TreeNode
[Nodes.Count];
2481
TreeNode
node = NodeFromHandle(item.hItem);
2515
TreeNode
node = NodeFromHandle(item.hItem);
2538
TreeNode
node = NodeFromHandle(nmtv->itemNew.hItem);
2592
TreeNode
editingNode = NodeFromHandle(nmtvdi.item.hItem);
2608
TreeNode
node = NodeFromHandle(nmtvdi.item.hItem);
2636
private void UpdateCheckedState(
TreeNode
node, bool update) {
2695
TreeNode
node = NodeFromHandle((IntPtr)nmcd.nmcd.dwItemSpec);
2884
protected OwnerDrawPropertyBag GetItemRenderStyles(
TreeNode
node, int state) {
2912
TreeNode
tn = NodeFromHandle(hnode);
2945
TreeNode
tn = NodeFromHandle(hnode);
3042
TreeNode
treeNode = NodeFromHandle(hnode);
3075
private void ShowContextMenu(
TreeNode
treeNode) {
3196
TreeNode
node = NodeFromHandle(item.hItem);
3268
TreeNode
node = NodeFromHandle(hNodeMouseDown);
3389
TreeNode
treeNode = SelectedNode;
winforms\Managed\System\WinForms\TreeViewCancelEvent.cs (3)
31
private
TreeNode
node;
38
public TreeViewCancelEventArgs(
TreeNode
node, bool cancel, TreeViewAction action)
48
public
TreeNode
Node {
winforms\Managed\System\WinForms\TreeViewEvent.cs (4)
27
TreeNode
node;
34
public TreeViewEventArgs(
TreeNode
node) {
42
public TreeViewEventArgs(
TreeNode
node, TreeViewAction action) {
51
public
TreeNode
Node {
winforms\Managed\System\WinForms\TreeViewHitTestInfo.cs (3)
21
private
TreeNode
node;
27
public TreeViewHitTestInfo(
TreeNode
hitNode, TreeViewHitTestLocations hitLocation) {
47
public
TreeNode
Node {
System.Workflow.ComponentModel (45)
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (4)
1042
List<
TreeNode
> nodes = new List<
TreeNode
>();
1164
foreach (
TreeNode
childNode in node.Nodes)
1259
TreeNode
node = base.RootNode;
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (23)
678
TreeNode
workflowNode = new TreeNode(DR.GetString(DR.WorkflowDesc));
741
TreeNode
parentNode = ThemeConfigHelpers.GetCatagoryNodeForDesigner(designerType, ThemeConfigHelpers.GetAllTreeNodes(treeView));
745
TreeNode
nodeToInsert = (imageIndex >= 0) ? new TreeNode(ActivityToolboxItem.GetToolboxDisplayName(type), imageIndex, imageIndex) : new TreeNode(ActivityToolboxItem.GetToolboxDisplayName(type));
764
internal static
TreeNode
GetCatagoryNodeForDesigner(Type designerType,
TreeNode
[] treeNodes)
793
TreeNode
catagoryNode = null;
794
TreeNode
parentCatagoryTreeNode = treeNodes[0];
796
foreach (
TreeNode
item in treeNodes)
825
internal static DesignerTheme[] GetDesignerThemes(IServiceProvider serviceProvider, WorkflowTheme workflowTheme,
TreeNode
selectedNode)
828
Queue<
TreeNode
> nodes = new Queue<
TreeNode
>();
832
TreeNode
treeNode = nodes.Dequeue();
847
foreach (
TreeNode
childNode in treeNode.Nodes)
855
internal static
TreeNode
[] GetAllTreeNodes(TreeView treeView)
857
List<
TreeNode
> items = new List<
TreeNode
>();
863
foreach (
TreeNode
treeNode in nodeCollection)
874
internal static void EnsureDesignerThemes(IServiceProvider serviceProvider, WorkflowTheme workflowTheme,
TreeNode
[] items)
877
foreach (
TreeNode
item in items)
899
TreeNode
treeNode1 = x as
TreeNode
;
900
TreeNode
treeNode2 = y as
TreeNode
;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (16)
394
TreeNode
currentProjectNode = null;
399
TreeNode
assembliesNode = this.artifactTreeView.Nodes.Add(SR.ReferencedAssemblies, SR.GetString(SR.ReferencedAssemblies), 2, 2);
408
TreeNode
selectNode = (currentProjectNode == null) ? assembliesNode : currentProjectNode;
441
TreeNode
assembliesNode = this.artifactTreeView.Nodes[SR.ReferencedAssemblies];
454
TreeNode
node = null;
457
node = assemblyNodes[type.Assembly] as
TreeNode
;
475
foreach (
TreeNode
nsNode in node.Nodes)
485
TreeNode
nsNode = new TreeNode(namespaceName, 49, 49);
829
private void TreeSelectionChanged(
TreeNode
treeNode)
850
foreach (
TreeNode
treeNode2 in treeNode.Nodes)
929
TreeNode
selectedAssemblyNode = null;
936
TreeNode
assembliesNode = this.artifactTreeView.Nodes[SR.ReferencedAssemblies];
937
foreach (
TreeNode
assemblyNode in assembliesNode.Nodes)
949
TreeNode
selectedNsNode = null;
959
foreach (
TreeNode
nsNode in selectedAssemblyNode.Nodes)
970
TreeNode
selectedNode = selectedNsNode;
AuthoringOM\Design\DocumentOutline.cs (2)
120
internal protected
TreeNode
RootNode
277
foreach (
TreeNode
childNode in node.Nodes)