Why realize all deferred elements at OnApplyTemplate
?
#7565
Unanswered
nxtn-staged
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Take
PersonPicture
as an example. I noticed thatx:DeferLoadStrategy="Lazy"
is extensively used in XAML but all deferred elements are loaded byGetTemplateChildT
atOnApplyTemplate
. I assumex:DeferLoadStrategy="Lazy"
doesn't make too much sense then.According to x:DeferLoadStrategy attribute, calling
GetTemplateChild
realizes deferred elements.Beta Was this translation helpful? Give feedback.
All reactions