32 references to Items
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
2375
_context.CurrentFrame.Member = parentProperty = XamlLanguage.
Items
;
2494
_context.CurrentFrame.Member = XamlLanguage.
Items
;
System\Windows\Markup\RestrictiveXamlXmlReader.cs (1)
167
if (directive.Name == XamlLanguage.
Items
.Name ||
System.Xaml (25)
System\Xaml\Context\XamlParserContext.cs (1)
263
get { return _stack.CurrentFrame.Member == XamlLanguage.
Items
; }
System\Xaml\InfosetObjects\XamlObjectWriter.cs (8)
670
if (property.IsDirective && property != XamlLanguage.
Items
&& property != XamlLanguage.PositionalParameters)
737
else if (property == XamlLanguage.
Items
)
1749
else if (ctx.ParentProperty == XamlLanguage.
Items
)
1783
bool inDictionary = ((ctx.ParentProperty == XamlLanguage.
Items
) && ctx.ParentType.IsDictionary);
2012
if (value is NameFixupToken && parentProperty != XamlLanguage.
Items
)
2517
else if (token.Target.Property == XamlLanguage.
Items
)
2576
else if (token.Target.Property == XamlLanguage.
Items
)
2602
if (token.Target.Property == XamlLanguage.Key || token.Target.Property == XamlLanguage.
Items
)
System\Xaml\Parser\XamlPullParser.cs (3)
969
_context.CurrentMember = XamlLanguage.
Items
;
972
var startProperty = new XamlNode(XamlNodeType.StartMember, XamlLanguage.
Items
);
1140
XamlType collectionType = _context.CurrentMember == XamlLanguage.
Items
? _context.CurrentType : _context.CurrentMember.Type;
System\Xaml\XamlLanguage.cs (2)
287
return
Items
;
423
Key, Initialization,
Items
, Members, ClassAttributes, Name, PositionalParameters, Shared, Subclass,
System\Xaml\XamlObjectReader.cs (7)
417
MemberMarkupInfo itemsInfo = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.
Items
) };
676
if (objectInfo.Properties[0].XamlNode.Member == XamlLanguage.
Items
)
724
var itemsInfo = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.
Items
) };
1307
XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.
Items
)
1814
var items = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.
Items
) };
2216
bool xIsContentOrItemsProperty = xInfo.IsContent || (xProperty == XamlLanguage.
Items
);
2217
bool yIsContentOrItemsProperty = yInfo.IsContent || (yProperty == XamlLanguage.
Items
);
System\Xaml\XamlXmlWriter.cs (4)
285
(xamlMember == XamlLanguage.
Items
||
353
&& enumerator.Current.Member != XamlLanguage.
Items
)
1037
if ((property == XamlLanguage.
Items
&& parentType is not null && parentType.IsWhitespaceSignificantCollection) ||
1142
if ((property == XamlLanguage.
Items
&& parentType is not null && parentType.IsWhitespaceSignificantCollection) ||
System.Xaml.Tests (4)
System\Xaml\XamlLanguageTests.cs (3)
374
XamlDirective directive = XamlLanguage.
Items
;
375
Assert.Same(directive, XamlLanguage.
Items
);
584
Assert.Equal(new XamlDirective[] { XamlLanguage.Arguments, XamlLanguage.AsyncRecords, XamlLanguage.Class, XamlLanguage.Code, XamlLanguage.ClassModifier, XamlLanguage.ConnectionId, XamlLanguage.FactoryMethod, XamlLanguage.FieldModifier, XamlLanguage.Key, XamlLanguage.Initialization, XamlLanguage.
Items
, XamlLanguage.Members, XamlLanguage.ClassAttributes, XamlLanguage.Name, XamlLanguage.PositionalParameters, XamlLanguage.Shared, XamlLanguage.Subclass, XamlLanguage. SynchronousMode, XamlLanguage.TypeArguments, XamlLanguage.Uid, XamlLanguage.UnknownContent, XamlLanguage.Base, XamlLanguage.Lang, XamlLanguage.Space }, directives);
System\Xaml\XamlSchemaContextTests.cs (1)
403
yield return new object?[] { XamlNamespace, "_Items", XamlLanguage.
Items
};