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