26 references to ParentProperty
System.Xaml (26)
System\Xaml\Context\ContextServices.cs (3)
18Debug.Assert(xamlContext.ParentProperty is not null); 20if (xamlContext.ParentProperty is IProvideValueTarget ipvt) 25XamlMember parentProperty = xamlContext.ParentProperty;
System\Xaml\Context\ServiceProviderContext.cs (3)
305if (_xamlContext.ParentProperty == XamlLanguage.Initialization) 336token.Target.Property = _xamlContext.ParentProperty; 346token.Target.Property = _xamlContext.ParentProperty;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (20)
241if (ctx.ParentInstance is null && ctx.ParentProperty != XamlLanguage.Arguments) 270? _context.ParentProperty 522_context.ParentProperty, 704property = _context.ParentProperty; 1335XamlMember property = ctx.ParentProperty; 1430Debug.Assert(ctx.ParentProperty == XamlLanguage.Key); 1503if (ctx.LiveDepth > 2 && ctx.ParentProperty == XamlLanguage.Key && 1680if (!handled && ctx.ParentProperty is not null) 1692XamlMember parentProperty = ctx.ParentProperty; 1740if (ctx.ParentProperty is not null) 1749else if (ctx.ParentProperty == XamlLanguage.Items) 1755ctx.CurrentType = ctx.ParentProperty.Type; 1783bool inDictionary = ((ctx.ParentProperty == XamlLanguage.Items) && ctx.ParentType.IsDictionary); 2003XamlMember parentProperty = ctx.ParentProperty; 2042ctx.ParentProperty, 2259XamlMember property = ctx.ParentProperty; 2550value = Logic_CreateFromValue(owc, owc.ParentProperty.TypeConverter, owc.CurrentInstance, 2551owc.ParentProperty, owc.ParentProperty.Name, token); 2567if(token.Target.Property != token.TargetContext.ParentProperty)