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