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)
167if (directive.Name == XamlLanguage.Items.Name ||
System.Xaml (25)
System\Xaml\Context\XamlParserContext.cs (1)
263get { return _stack.CurrentFrame.Member == XamlLanguage.Items; }
System\Xaml\InfosetObjects\XamlObjectWriter.cs (8)
670if (property.IsDirective && property != XamlLanguage.Items && property != XamlLanguage.PositionalParameters) 737else if (property == XamlLanguage.Items) 1749else if (ctx.ParentProperty == XamlLanguage.Items) 1783bool inDictionary = ((ctx.ParentProperty == XamlLanguage.Items) && ctx.ParentType.IsDictionary); 2012if (value is NameFixupToken && parentProperty != XamlLanguage.Items) 2517else if (token.Target.Property == XamlLanguage.Items) 2576else if (token.Target.Property == XamlLanguage.Items) 2602if (token.Target.Property == XamlLanguage.Key || token.Target.Property == XamlLanguage.Items)
System\Xaml\Parser\XamlPullParser.cs (3)
969_context.CurrentMember = XamlLanguage.Items; 972var startProperty = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items); 1140XamlType collectionType = _context.CurrentMember == XamlLanguage.Items ? _context.CurrentType : _context.CurrentMember.Type;
System\Xaml\XamlLanguage.cs (2)
287return Items; 423Key, Initialization, Items, Members, ClassAttributes, Name, PositionalParameters, Shared, Subclass,
System\Xaml\XamlObjectReader.cs (7)
417MemberMarkupInfo itemsInfo = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) }; 676if (objectInfo.Properties[0].XamlNode.Member == XamlLanguage.Items) 724var itemsInfo = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) }; 1307XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) 1814var items = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) }; 2216bool xIsContentOrItemsProperty = xInfo.IsContent || (xProperty == XamlLanguage.Items); 2217bool yIsContentOrItemsProperty = yInfo.IsContent || (yProperty == XamlLanguage.Items);
System\Xaml\XamlXmlWriter.cs (4)
285(xamlMember == XamlLanguage.Items || 353&& enumerator.Current.Member != XamlLanguage.Items) 1037if ((property == XamlLanguage.Items && parentType is not null && parentType.IsWhitespaceSignificantCollection) || 1142if ((property == XamlLanguage.Items && parentType is not null && parentType.IsWhitespaceSignificantCollection) ||
System.Xaml.Tests (4)
System\Xaml\XamlLanguageTests.cs (3)
374XamlDirective directive = XamlLanguage.Items; 375Assert.Same(directive, XamlLanguage.Items); 584Assert.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)
403yield return new object?[] { XamlNamespace, "_Items", XamlLanguage.Items };