31 references to Depth
PresentationBuildTasks (31)
Framework\System\Windows\Markup\StyleModeStack.cs (4)
47Debug.Assert(Depth >= 0, "StyleModeStack's depth was " + Depth + ", should be >= 0"); 64Debug.Assert(Depth >= 0, "StyleMode::Pop() with depth of " + Depth + ", should be >= 0");
Framework\System\Windows\Markup\StyleXamlParser.cs (9)
125if (_styleModeStack.Depth == 0) 639int depth = _styleModeStack.Depth; 837if (_styleModeStack.Depth != 1 && 847if (_styleModeStack.Depth == 3) 927_styleModeStack.Depth > 2) 953if (_styleModeStack.Depth == 1) 1008_styleModeStack.Depth > 2) 1033int depth = _styleModeStack.Depth; 1124if (_styleModeStack.Depth == 1 && mode == StyleMode.Base)
Framework\System\Windows\Markup\TemplateXamlParser.cs (18)
112if (_styleModeStack.Depth == 0) 131if (_dataTypePropertyNode != null && _dataTypePropertyNodeDepth == _styleModeStack.Depth) 659if (mode == StyleMode.Base && _styleModeStack.Depth == 0) 701if (mode == StyleMode.Base && _styleModeStack.Depth > 0) 723_styleModeStack.Depth >= 2 && 730if (_styleModeStack.Depth == 2) 753if (xamlElementStartNode.SerializerType != null && _styleModeStack.Depth > 0) 839if (mode == StyleMode.Base && _styleModeStack.Depth > 0 ) 905if (_styleModeStack.Depth == 2) 993_styleModeStack.Depth > 2) 1019if (_styleModeStack.Depth == 1) 1096_styleModeStack.Depth > 2) 1106if (_styleModeStack.Depth <= 2) 1126if (_styleModeStack.Depth == 1) 1143_styleModeStack.Depth == 2) 1148_styleModeStack.Depth == 3 && 1236else if (_styleModeStack.Depth == 1 && mode == StyleMode.Base) 1618_dataTypePropertyNodeDepth = _styleModeStack.Depth;