26 references to ParentProperty
System.Xaml (26)
System\Xaml\Context\ContextServices.cs (3)
17Debug.Assert(xamlContext.ParentProperty is not null); 19if (xamlContext.ParentProperty is IProvideValueTarget ipvt) 24XamlMember parentProperty = xamlContext.ParentProperty;
System\Xaml\Context\ServiceProviderContext.cs (3)
304if (_xamlContext.ParentProperty == XamlLanguage.Initialization) 335token.Target.Property = _xamlContext.ParentProperty; 345token.Target.Property = _xamlContext.ParentProperty;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (20)
240if (ctx.ParentInstance is null && ctx.ParentProperty != XamlLanguage.Arguments) 269? _context.ParentProperty 521_context.ParentProperty, 703property = _context.ParentProperty; 1334XamlMember property = ctx.ParentProperty; 1429Debug.Assert(ctx.ParentProperty == XamlLanguage.Key); 1502if (ctx.LiveDepth > 2 && ctx.ParentProperty == XamlLanguage.Key && 1679if (!handled && ctx.ParentProperty is not null) 1691XamlMember parentProperty = ctx.ParentProperty; 1739if (ctx.ParentProperty is not null) 1748else if (ctx.ParentProperty == XamlLanguage.Items) 1754ctx.CurrentType = ctx.ParentProperty.Type; 1782bool inDictionary = ((ctx.ParentProperty == XamlLanguage.Items) && ctx.ParentType.IsDictionary); 2002XamlMember parentProperty = ctx.ParentProperty; 2041ctx.ParentProperty, 2258XamlMember property = ctx.ParentProperty; 2549value = Logic_CreateFromValue(owc, owc.ParentProperty.TypeConverter, owc.CurrentInstance, 2550owc.ParentProperty, owc.ParentProperty.Name, token); 2566if (token.Target.Property != token.TargetContext.ParentProperty)