62 references to _styleModeStack
PresentationBuildTasks (62)
Framework\System\Windows\Markup\TemplateXamlParser.cs (62)
112if (_styleModeStack.Depth == 0) 131if (_dataTypePropertyNode != null && _dataTypePropertyNodeDepth == _styleModeStack.Depth) 164StyleMode mode = _styleModeStack.Mode; 170_styleModeStack.Push(mode); 233_styleModeStack.Push(StyleMode.Key); 243_styleModeStack.Pop(); 280_styleModeStack.Pop(); 376if (_styleModeStack.Mode == StyleMode.VisualTree && !xamlEndAttributesNode.IsCompact) 381if (_styleModeStack.Mode == StyleMode.TriggerBase && !xamlEndAttributesNode.IsCompact) 511if (_inSetterDepth < 0 && _styleModeStack.Mode == StyleMode.TriggerBase) 620_styleModeStack.Mode == StyleMode.Base) 638if (_styleModeStack.Mode == StyleMode.Base) 656StyleMode mode = _styleModeStack.Mode; 659if (mode == StyleMode.Base && _styleModeStack.Depth == 0) 701if (mode == StyleMode.Base && _styleModeStack.Depth > 0) 721else if (_styleModeStack.Mode == StyleMode.DataTypeProperty && 723_styleModeStack.Depth >= 2 && 730if (_styleModeStack.Depth == 2) 753if (xamlElementStartNode.SerializerType != null && _styleModeStack.Depth > 0) 820_styleModeStack.Push(mode); 839if (mode == StyleMode.Base && _styleModeStack.Depth > 0 ) 883if (_styleModeStack.Mode == StyleMode.TriggerBase && 896if (_styleModeStack.Mode == StyleMode.DataTypeProperty && 905if (_styleModeStack.Depth == 2) 922_styleModeStack.Pop(); 949if (_styleModeStack.Mode == StyleMode.DataTypeProperty && 968if (_styleModeStack.Mode == StyleMode.DataTypeProperty && 980_styleModeStack.Push(); 990if (_styleModeStack.Mode == StyleMode.DataTypeProperty && 993_styleModeStack.Depth > 2) 1005_styleModeStack.Pop(); 1017StyleMode mode = _styleModeStack.Mode; 1019if (_styleModeStack.Depth == 1) 1069_styleModeStack.Push(mode); 1082StyleMode mode = _styleModeStack.Mode; 1096_styleModeStack.Depth > 2) 1106if (_styleModeStack.Depth <= 2) 1111_styleModeStack.Pop(); 1124StyleMode mode = _styleModeStack.Mode; 1126if (_styleModeStack.Depth == 1) 1143_styleModeStack.Depth == 2) 1148_styleModeStack.Depth == 3 && 1158_styleModeStack.Push(mode); 1172if (_styleModeStack.Mode == StyleMode.VisualTree) 1176else if (_styleModeStack.Mode == StyleMode.TriggerBase) 1182_styleModeStack.Pop(); 1190if (_styleModeStack.Mode == StyleMode.VisualTree) 1194else if (_styleModeStack.Mode == StyleMode.TriggerBase) 1200_styleModeStack.Push(); 1209if (_styleModeStack.Mode == StyleMode.VisualTree) 1213else if (_styleModeStack.Mode == StyleMode.TriggerBase) 1218_styleModeStack.Pop(); 1226StyleMode mode = _styleModeStack.Mode; 1236else if (_styleModeStack.Depth == 1 && mode == StyleMode.Base) 1250_styleModeStack.Push(mode); 1259StyleMode mode = _styleModeStack.Mode; 1271_styleModeStack.Pop(); 1279StyleMode mode = _styleModeStack.Mode; 1343Debug.Assert(_styleModeStack.Mode == StyleMode.VisualTree); 1421StyleMode mode = _styleModeStack.Mode; 1598StyleMode mode = _styleModeStack.Mode; 1618_dataTypePropertyNodeDepth = _styleModeStack.Depth;