4 instantiations of TreeNode
System.Web (4)
UI\WebControls\TreeNode.cs (1)
1800
TreeNode newNode = new
TreeNode
();
UI\WebControls\TreeNodeCollection.cs (1)
287
AddAt(index, new
TreeNode
());
UI\WebControls\TreeView.cs (2)
978
_rootNode = new
TreeNode
(this, true);
1377
return new
TreeNode
(this, false);
71 references to TreeNode
System.Web (71)
UI\WebControls\TreeNode.cs (9)
31
private
TreeNode
_parent;
346
TreeNode
parent = _parent;
404
public
TreeNode
Parent {
731
internal
TreeNode
GetParentInternal() {
1554
TreeNode
node = ChildNodes[i];
1580
foreach (
TreeNode
child in ChildNodes) {
1675
foreach (
TreeNode
node in ChildNodes) {
1684
internal void SetParent(
TreeNode
parent) {
1800
TreeNode
newNode = new TreeNode();
UI\WebControls\TreeNodeCollection.cs (25)
11
private List<
TreeNode
> _list;
12
private
TreeNode
_owner;
25
public TreeNodeCollection(
TreeNode
owner) : this(owner, true) {
28
internal TreeNodeCollection(
TreeNode
owner, bool updateParent) {
30
_list = new List<
TreeNode
>();
65
public
TreeNode
this[int index] {
72
public void Add(
TreeNode
child) {
77
public void AddAt(int index,
TreeNode
child) {
115
TreeNode
current = owner.SelectedNode;
126
foreach (
TreeNode
node in _list) {
140
public void CopyTo(
TreeNode
[] nodeArray, int index) {
145
public bool Contains(
TreeNode
c) {
149
internal
TreeNode
FindNode(string[] path, int pos) {
156
TreeNode
node = this[i];
171
public int IndexOf(
TreeNode
value) {
176
public void Remove(
TreeNode
value) {
189
TreeNode
node = _list[index];
203
TreeNode
current = owner.SelectedNode;
231
private static void UnCheckUnSelectRecursive(
TreeNode
node) {
236
TreeNode
selectedNode = node.Owner.SelectedNode;
243
foreach (
TreeNode
child in node.ChildNodes) {
252
if (!(array is
TreeNode
[])) {
255
_list.CopyTo((
TreeNode
[])array, index);
410
private
TreeNode
currentElement;
438
public
TreeNode
Current {
UI\WebControls\TreeNodeEventArgs.cs (3)
14
private
TreeNode
_node;
20
public TreeNodeEventArgs(
TreeNode
node) {
28
public
TreeNode
Node {
UI\WebControls\TreeView.cs (34)
103
private
TreeNode
_rootNode;
104
private
TreeNode
_selectedNode;
918
foreach (
TreeNode
node in Nodes) {
974
internal
TreeNode
RootNode {
1034
public
TreeNode
SelectedNode {
1363
foreach (
TreeNode
node in Nodes) {
1376
protected virtual internal
TreeNode
CreateNode() {
1408
private void DataBindNode(
TreeNode
node) {
1451
private void DataBindRecursive(
TreeNode
node, IHierarchicalEnumerable enumerable, bool ignorePopulateOnDemand) {
1651
TreeNode
newNode = null;
1699
TreeNode
newNodeParent = newNode.Parent;
1800
foreach (
TreeNode
node in Nodes) {
1809
foreach (
TreeNode
node in nodes) {
1822
public
TreeNode
FindNode(string valuePath) {
1829
internal string GetCssClassName(
TreeNode
node, bool hyperLink) {
1834
internal string GetCssClassName(
TreeNode
node, bool hyperLink, out bool containsClassName) {
2265
internal TreeNodeStyle GetStyle(
TreeNode
node) {
2403
private void LoadNodeState(
TreeNode
node, ref int index, string expandState, IDictionary populatedNodes, int selectedNodeIndex) {
2605
TreeNode
node = SelectedNode;
2789
internal void PopulateNode(
TreeNode
node) {
2805
internal void RaiseTreeNodeCollapsed(
TreeNode
node) {
2810
internal void RaiseTreeNodeExpanded(
TreeNode
node) {
2853
TreeNode
node = Nodes[i];
2921
private void SaveNodeState(
TreeNode
node, ref int index, StringBuilder expandState, bool rendered) {
3044
protected void SetNodeDataBound(
TreeNode
node, bool dataBound) {
3052
protected void SetNodeDataItem(
TreeNode
node, object dataItem) {
3060
protected void SetNodeDataPath(
TreeNode
node, string dataPath) {
3064
internal void SetSelectedNode(
TreeNode
node) {
3152
TreeNode
node = Nodes.FindNode(nodePath.Split(InternalPathSeparator), 0);
3278
TreeNode
node = CreateNode();
3356
Dictionary<int,
TreeNode
> populatedNodes = null;
3366
populatedNodes = new Dictionary<int,
TreeNode
>(Math.Min(logLength, 16)); // don't eagerly allocate the maximum dictionary size
3404
TreeNode
node = populatedNodes[index];
3438
foreach (
TreeNode
node in _checkedChangedNodes) {