34 references to Key
PresentationFramework (6)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (4)
947if (property == XamlLanguage.Key) 1208_xamlNodesWriter.WriteStartMember(XamlLanguage.Key); 1243_xamlNodesWriter.WriteStartMember(XamlLanguage.Key); 2699if (reader.Member == XamlLanguage.Key)
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
124else if (directive == XamlLanguage.Key && _dictionaryKeyPropertyName != null)
System\Windows\Markup\RestrictiveXamlXmlReader.cs (1)
168directive.Name == XamlLanguage.Key.Name ||
System.Xaml (28)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (18)
773if (property.IsDirective && property == XamlLanguage.Key && !Logic_ShouldConvertKey(_context)) 1045XamlMember keyProperty = instanceType.GetAliasedProperty(XamlLanguage.Key); 1091if (xamlMember == XamlLanguage.Key) 1334property == XamlLanguage.Key && 1392Debug.Assert(ctx.ParentProperty == XamlLanguage.Key); 1461if (ctx.LiveDepth > 2 && ctx.ParentProperty == XamlLanguage.Key && 1465XamlLanguage.Key, deferredMarkupExtensionContext); 1586if (prop != XamlLanguage.Key && propertyForDirective is not null) 1866ctx.CurrentProperty = XamlLanguage.Key; 1993if (parentProperty != XamlLanguage.Key) 2020if (parentProperty == XamlLanguage.Key) 2045if (parentProperty != XamlLanguage.Key) 2054else if (parentProperty == XamlLanguage.Key) 2074Debug.Assert(token.Target.Property == XamlLanguage.Key); 2198if (property is not null && property.IsDirective && ctx.ParentInstance is null && property != XamlLanguage.Key) 2440if (token.Target.Property == XamlLanguage.Key) 2497if (token.Target.Property == XamlLanguage.Key) 2528if (token.Target.Property == XamlLanguage.Key || token.Target.Property == XamlLanguage.Items)
System\Xaml\Parser\NodeStreamSorter.cs (2)
409else if (!(prop.IsDirective && prop == XamlLanguage.Key)) 441if (member.IsDirective && member == XamlLanguage.Key)
System\Xaml\Parser\XamlScanner.cs (1)
667if (attr.Property == XamlLanguage.Key)
System\Xaml\Schema\TypeReflector.cs (2)
316if (directive == XamlLanguage.Key) 346if (directive == XamlLanguage.Key)
System\Xaml\XamlLanguage.cs (2)
287return Key; 418Key, Initialization, Items, Members, ClassAttributes, Name, PositionalParameters, Shared, Subclass,
System\Xaml\XamlObjectReader.cs (2)
461XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Key), 477XamlMember dkp = typeOfValue.GetAliasedProperty(XamlLanguage.Key);
System\Xaml\XamlType.cs (1)
644if (directive == XamlLanguage.Key)