30 references to Depth
System.Web (30)
UI\WebControls\Adapters\MenuAdapter.cs (6)
193if (_titleItem.Depth + 1 >= owner.MaximumDepth) { 258if (item.Depth < owner.StaticDisplayLevels) { 279if (item.Depth < owner.StaticDisplayLevels && 287else if (item.Depth >= owner.StaticDisplayLevels && 306int depth = item.Depth; 628if (parentItem != null && item.Depth + 1 > Control.StaticDisplayLevels) {
UI\WebControls\Menu.cs (8)
1427int depth = node.Depth + 1; 1753int depth = item.Depth; 1817if (item.Depth >= StaticDisplayLevels) { 1964int depth = item.Depth; 2010int nextDepth = item.Depth + 1; 2040int nextDepth = item.Depth + 1; 2180mi.Depth + 1 >= StaticDisplayLevels) { 2479if (node.Depth >= MaximumDepth) {
UI\WebControls\MenuItem.cs (13)
201_depth = Parent.Depth + 1; 238if (_owner.StaticItemFormatString.Length > 0 && Depth < _owner.StaticDisplayLevels) { 241else if (_owner.DynamicItemFormatString.Length > 0 && Depth >= _owner.StaticDisplayLevels) { 570_valuePath = ((parentPath.Length == 0) && (_parent.Depth == -1)) ? 602if (Depth < _owner.StaticDisplayLevels) { 624return ((_owner.StaticItemTemplate == null || Depth >= _owner.StaticDisplayLevels) && 625(_owner.DynamicItemTemplate == null || Depth < _owner.StaticDisplayLevels)); 661int nextDepth = Depth + 1; 800int depth = Depth; 803int depthPlusOne = Depth + 1; 1018if (((Depth + 1) < _owner.StaticDisplayLevels) && (ChildItems.Count != 0)) { 1145((_owner.StaticItemTemplate != null && Depth < _owner.StaticDisplayLevels) || 1146(_owner.DynamicItemTemplate != null && Depth >= _owner.StaticDisplayLevels))) {
UI\WebControls\MenuRendererStandards.cs (3)
338return (item.Depth + 1 >= Menu.MaximumDepth); 342return (item.Depth + 1 >= Menu.StaticDisplayLevels); 351return (item.Depth >= Menu.StaticDisplayLevels);