38 references to ChildNodes
System.Web (38)
UI\WebControls\TreeNode.cs (19)
258
else if ((value == false) && (oldValue == true) && (
ChildNodes
.Count > 0)) {
813
Debug.Assert(
ChildNodes
.Count > 0, "No nodes for expansion, why are we rendering an expander?");
838
if ((Depth == 0) && (
ChildNodes
.Count > 0)) {
841
else if ((
ChildNodes
.Count > 0) || PopulateOnDemand) {
870
if (!Populated && (
ChildNodes
.Count == 0)) {
960
bool canExpand = (PopulateOnDemand || (
ChildNodes
.Count > 0)) && _owner.ShowExpandCollapse;
1178
if (
ChildNodes
.Count != 0) {
1507
if (
ChildNodes
.Count > 0) {
1553
for (int i = 0; i <
ChildNodes
.Count; i++) {
1554
TreeNode node =
ChildNodes
[i];
1555
isLast[depth + 1] = (i ==
ChildNodes
.Count - 1);
1580
foreach (TreeNode child in
ChildNodes
) {
1608
if (
ChildNodes
.Count > 0) {
1609
for (int i = 0; i <
ChildNodes
.Count; i++) {
1610
ChildNodes
[i].SetExpandedRecursive(value);
1633
if (
ChildNodes
.Count > 0) {
1634
ChildNodes
.SetDirty();
1675
foreach (TreeNode node in
ChildNodes
) {
1745
((IStateManager)
ChildNodes
).LoadViewState(nodeState[1]);
UI\WebControls\TreeNodeCollection.cs (3)
87
child.Parent.
ChildNodes
.Remove(child);
158
return node.
ChildNodes
.FindNode(path, pos + 1);
243
foreach (TreeNode child in node.
ChildNodes
) {
UI\WebControls\TreeView.cs (16)
844
return RootNode.
ChildNodes
;
1423
node.
ChildNodes
.Clear();
1692
node.
ChildNodes
.Add(newNode);
1816
ExpandToDepth(node.
ChildNodes
, depth);
1841
bool parent = node.
ChildNodes
.Count != 0 || node.PopulateOnDemand;
2270
bool parent = node.
ChildNodes
.Count != 0 || node.PopulateOnDemand;
2491
TreeNodeCollection nodes = node.
ChildNodes
;
2937
if ((node.
ChildNodes
.Count == 0) || (node.Expanded != true)) {
2947
else if (node.
ChildNodes
.Count == 0) {
2966
if (node.
ChildNodes
.Count > 0) {
2967
TreeNodeCollection nodes = node.
ChildNodes
;
3293
if (node.
ChildNodes
.Count > 0) {
3296
for (int i = 0; i < node.
ChildNodes
.Count; i++) {
3297
SaveNodeState(node.
ChildNodes
[i], ref lastIndex, expandState, true);
3411
if ((node.
ChildNodes
.Count > 0) && (lastIndex != -1)) {
3412
TreeNodeCollection nodes = node.
ChildNodes
;