16 references to ParentInstance
System.Xaml (16)
System\Xaml\Context\ServiceProviderContext.cs (3)
229
get { return _xamlContext.
ParentInstance
; }
333
token.Target.Instance = _xamlContext.
ParentInstance
;
343
token.Target.Instance = _xamlContext.
ParentInstance
;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (13)
241
if (ctx.
ParentInstance
is null && ctx.ParentProperty != XamlLanguage.Arguments)
301
object parentInstance = _context.
ParentInstance
;
1385
ctx.
ParentInstance
)
1390
declaringType.SetTypeConverterHandler(ctx.
ParentInstance
, eventArgs);
1606
object inst = onParent ? ctx.
ParentInstance
: ctx.CurrentInstance;
1644
Debug.Assert(inst == ctx.
ParentInstance
);
1656
if (ctx.
ParentInstance
is not null)
1658
Runtime.SetUriBase(ctx.ParentType, ctx.
ParentInstance
, ctx.BaseUri);
1691
object parentInstance = ctx.
ParentInstance
;
2030
object parentInstance = ctx.
ParentInstance
;
2164
RegisterName(ctx, name, ctx.
ParentInstance
, ctx.ParentType,
2261
if (property is not null && property.IsDirective && ctx.
ParentInstance
is null && property != XamlLanguage.Key)
2274
token.Target.Instance = ctx.
ParentInstance
;