89 references to CurrentFrame
PresentationFramework (89)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (88)
230
get { return _context.
CurrentFrame
!= null; }
250
_context.
CurrentFrame
.IsDeferredContent = true;
374
Baml2006ReaderFrame baseFrame = _context.
CurrentFrame
;
377
while (baseFrame != _context.
CurrentFrame
)
736
bool shouldInjectContentProperty = _context.
CurrentFrame
.Member == null;
740
if (_context.
CurrentFrame
.XamlType.ContentProperty != null)
744
_xamlNodesWriter.WriteStartMember(_context.
CurrentFrame
.XamlType.ContentProperty);
780
bool shouldDropProperty = _context.
CurrentFrame
.Member == null;
823
_context.
CurrentFrame
.XamlType = type;
935
_context.
CurrentFrame
.IsDeferredContent = true;
949
_context.
CurrentFrame
.Key = new KeyRecord(false, false, 0, value);
971
if (_context.
CurrentFrame
.IsDeferredContent)
977
_context.
CurrentFrame
.Key = key;
995
if (_context.
CurrentFrame
.IsDeferredContent)
1001
_context.
CurrentFrame
.Key = key;
1046
_context.
CurrentFrame
.Member != XamlLanguage.PositionalParameters)
1048
if (_context.
CurrentFrame
.XamlType != null && _context.
CurrentFrame
.XamlType.IsCollection)
1050
if (!_context.
CurrentFrame
.XamlType.IsWhitespaceSignificantCollection)
1057
if (_context.
CurrentFrame
.Member.Type != null &&
1058
!_context.
CurrentFrame
.Member.Type.UnderlyingType.IsAssignableFrom(typeof(String)))
1069
_context.
CurrentFrame
.Member = null;
1077
_context.
CurrentFrame
.Member = XamlLanguage.PositionalParameters;
1129
if (_root != null && _context.
CurrentFrame
.Depth == 0)
1148
_context.
CurrentFrame
.XamlType = type;
1187
_xamlNodesWriter.WriteStartObject(_context.
CurrentFrame
.XamlType);
1191
if (_context.
CurrentFrame
.Depth == 1)
1241
if (_context.
CurrentFrame
.Key != null)
1245
KeyRecord keyRecord = _context.
CurrentFrame
.Key;
1272
_context.
CurrentFrame
.Key = null;
1275
if (_context.
CurrentFrame
.DelayedConnectionId != -1)
1280
_xamlNodesWriter.WriteValue(_context.
CurrentFrame
.DelayedConnectionId);
1284
_xamlNodesWriter.WriteValue(_context.
CurrentFrame
.DelayedConnectionId.ToString(System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS));
1291
if (_context.
CurrentFrame
.IsDeferredContent)
1309
_context.
CurrentFrame
.XamlType = type;
1366
if (_context.
CurrentFrame
.XamlType.UnderlyingType == typeof(EventSetter))
1392
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1409
if (_context.
CurrentFrame
.XamlType == null)
1415
if (_context.
CurrentFrame
.Member != null)
1417
throw new XamlParseException(SR.Format(SR.PropertyOutOfOrder, _context.
CurrentFrame
.Member));
1492
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1509
serializerTypeId, property, _context.
CurrentFrame
.XamlType));
1525
converter = new EnumConverter(_context.
CurrentFrame
.XamlType.UnderlyingType);
1571
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1633
XamlMember property = GetProperty(propertyId, _context.
CurrentFrame
.XamlType);
1848
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1878
XamlMember property = _context.SchemaContext.GetProperty(propertyId, _context.
CurrentFrame
.XamlType);
1968
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1970
_context.
CurrentFrame
.Member = property;
1979
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1981
_context.
CurrentFrame
.Member = property;
1989
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1991
_context.
CurrentFrame
.Member = property;
1999
_context.
CurrentFrame
.Member = null;
2007
if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.
CurrentFrame
.Depth)
2014
_context.
CurrentFrame
.Member = null;
2026
Baml2006ReaderFrame currentFrame = _context.
CurrentFrame
;
2110
Debug.Assert(_context.
CurrentFrame
.XamlType != null, "BAML Xmlns record is only legal between ElementStart and ElementEnd");
2118
_context.
CurrentFrame
.AddNamespace(prefix, xamlNs);
2245
_context.
CurrentFrame
.ContentProperty = contentProperty;
2253
if (_context.
CurrentFrame
.Member != null)
2258
Baml2006ReaderFrame frame = _context.
CurrentFrame
;
2315
if (_context.
CurrentFrame
.Flags == Baml2006ReaderFrameFlags.IsImplict)
2323
if (_context.
CurrentFrame
.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty)
2326
if (_context.
CurrentFrame
.Depth == _context.TemplateStartDepth)
2339
_context.
CurrentFrame
.Member = null;
2340
_context.
CurrentFrame
.Flags = Baml2006ReaderFrameFlags.None;
2348
if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.
CurrentFrame
.Depth)
2353
XamlType parentType = _context.
CurrentFrame
.XamlType;
2354
XamlMember parentProperty = _context.
CurrentFrame
.Member;
2362
if (_context.
CurrentFrame
.ContentProperty != null)
2364
_context.
CurrentFrame
.Member = parentProperty = _context.
CurrentFrame
.ContentProperty;
2368
_context.
CurrentFrame
.Member = parentProperty = parentType.ContentProperty;
2374
_context.
CurrentFrame
.Member = parentProperty = XamlLanguage.Items;
2378
_context.
CurrentFrame
.Member = parentProperty = XamlLanguage.Initialization;
2385
_context.
CurrentFrame
.Flags = Baml2006ReaderFrameFlags.HasImplicitProperty;
2394
_context.TemplateStartDepth = _context.
CurrentFrame
.Depth;
2437
else if (_context.
CurrentFrame
.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty)
2465
_lookingForAKeyOnAMarkupExtensionInADictionaryDepth = _context.
CurrentFrame
.Depth;
2480
EmitGoItemsPreamble(_context.
CurrentFrame
.Member.Type);
2492
_context.
CurrentFrame
.XamlType = parentPropertyType;
2494
_context.
CurrentFrame
.Flags = Baml2006ReaderFrameFlags.IsImplict;
2496
_context.
CurrentFrame
.Member = XamlLanguage.Items;
2497
_xamlNodesWriter.WriteStartMember(_context.
CurrentFrame
.Member);
2719
get { return _context.
CurrentFrame
.FreezeFreezables; }
2720
set { _context.
CurrentFrame
.FreezeFreezables = value; }
2728
get { return _context.
CurrentFrame
.FreezeFreezables; }
System\Windows\Markup\Baml2006\Baml2006ReaderContext.cs (1)
26
CurrentFrame
.FreezeFreezables = PreviousFrame.FreezeFreezables;