57 references to ChildItems
System.Web (57)
UI\WebControls\Adapters\MenuAdapter.cs (6)
200
foreach (MenuItem child in _titleItem.
ChildItems
) {
225
if (owner.StaticDisplayLevels > 1 && child.
ChildItems
.Count > 0) {
233
foreach(MenuItem child in parentItem.
ChildItems
) {
235
if (depth + 1 < maxDepth && child.
ChildItems
.Count > 0) {
313
MenuItemCollection childItems = item.
ChildItems
;
612
if (item.
ChildItems
.Count > 0) {
UI\WebControls\Menu.cs (10)
522
return RootItem.
ChildItems
;
1360
foreach (MenuItem child in item.
ChildItems
) {
1399
item.
ChildItems
.Clear();
1704
node.
ChildItems
.Add(newItem);
1820
for (int i = 0; i < item.
ChildItems
.Count; i++) {
1821
MenuItem result = GetOneDynamicItem(item.
ChildItems
[i]);
1879
dynamicSubMenu.
ChildItems
.Add(newItem);
1881
dynamicSubMenu.
ChildItems
[1].
ChildItems
.Add(new MenuItem());
2179
mi.
ChildItems
.Count > 0 &&
UI\WebControls\MenuItem.cs (34)
597
if (
ChildItems
.Count > 0) {
662
if (
ChildItems
.Count > 0 && nextDepth < _owner.MaximumDepth) {
677
panel.ScrollerClass = _owner.GetCssClassName(
ChildItems
[0], false);
682
panel.ScrollerStyle = _owner.GetMenuItemStyle(
ChildItems
[0]);
703
for (int i = 0; i <
ChildItems
.Count; i++) {
704
ChildItems
[i].RenderItem(writer, i, enabled, Orientation.Vertical);
710
for (int i = 0; i <
ChildItems
.Count; i++) {
711
ChildItems
[i].Render(writer, enabled, false);
737
for (int i = 0; i <
ChildItems
.Count; i++) {
739
&&
ChildItems
[i].
ChildItems
.Count != 0
740
&& ((enabled &&
ChildItems
[i].Enabled) || isNextStatic)
747
ChildItems
[i].RenderItem(writer, i, enabled, _owner.Orientation);
751
ChildItems
[i].Render(writer, enabled, staticOnly);
757
ChildItems
[i].Render(writer, enabled, staticOnly);
762
ChildItems
[i].RenderItem(writer, i, enabled, _owner.Orientation, staticOnly);
766
ChildItems
[i].RenderItem(writer, i, enabled, _owner.Orientation);
775
for (int i = 0; i <
ChildItems
.Count; i++) {
776
if (
ChildItems
[i].
ChildItems
.Count != 0
777
&& ((enabled &&
ChildItems
[i].Enabled))) {
782
ChildItems
[i].Render(writer, enabled, false, true);
837
if ((Selectable && Enabled) ||
ChildItems
.Count != 0) {
849
if ((Selectable && Enabled) ||
ChildItems
.Count != 0) {
951
else if ((
ChildItems
.Count != 0) && (depthPlusOne >= _owner.StaticDisplayLevels)) {
1018
if (((Depth + 1) < _owner.StaticDisplayLevels) && (
ChildItems
.Count != 0)) {
1034
(parent.Parent.
ChildItems
.Count != 0) &&
1035
(parent != parent.Parent.
ChildItems
[parent.Parent.
ChildItems
.Count - 1]))) {
1158
foreach (MenuItem child in
ChildItems
) {
1194
if (
ChildItems
.Count > 0) {
1195
ChildItems
.SetDirty();
1215
foreach (MenuItem item in
ChildItems
) {
1268
((IStateManager)
ChildItems
).LoadViewState(itemState[1]);
UI\WebControls\MenuItemCollection.cs (2)
81
child.Parent.
ChildItems
.Remove(child);
155
return node.
ChildItems
.FindItem(path, pos + 1);
UI\WebControls\MenuRendererClassic.cs (2)
267
if (Menu.Items[i].
ChildItems
.Count != 0) {
281
if (Menu.Items[i].
ChildItems
.Count != 0) {
UI\WebControls\MenuRendererStandards.cs (3)
560
if (item.
ChildItems
.Count > 0 && !IsChildPastMaximumDepth(item) && item.Enabled) {
562
RenderItems(writer, staticOnly, item.
ChildItems
, level + 1, needsAccessKey);
577
return (item.
ChildItems
.Count > 0) && IsChildDepthDynamic(item) && !IsChildPastMaximumDepth(item);