16 references to ParentInstance
System.Xaml (16)
System\Xaml\Context\ServiceProviderContext.cs (3)
229
get { return _xamlContext.
ParentInstance
; }
329
token.Target.Instance = _xamlContext.
ParentInstance
;
339
token.Target.Instance = _xamlContext.
ParentInstance
;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (13)
235
if (ctx.
ParentInstance
is null && ctx.ParentProperty != XamlLanguage.Arguments)
294
object parentInstance = _context.
ParentInstance
;
1349
ctx.
ParentInstance
);
1353
declaringType.SetTypeConverterHandler(ctx.
ParentInstance
, eventArgs);
1565
object inst = onParent ? ctx.
ParentInstance
: ctx.CurrentInstance;
1603
Debug.Assert(inst == ctx.
ParentInstance
);
1615
if (ctx.
ParentInstance
is not null)
1617
Runtime.SetUriBase(ctx.ParentType, ctx.
ParentInstance
, ctx.BaseUri);
1650
object parentInstance = ctx.
ParentInstance
;
1971
object parentInstance = ctx.
ParentInstance
;
2103
RegisterName(ctx, name, ctx.
ParentInstance
, ctx.ParentType,
2198
if (property is not null && property.IsDirective && ctx.
ParentInstance
is null && property != XamlLanguage.Key)
2211
token.Target.Instance = ctx.
ParentInstance
;