Performance impact ItemTemplate resources #27493
Unanswered
johan-broekhof
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have been using a couple of components as some kind of templates. In some of these components we needed to use converters and custom styles, which we defined in a resource dictionary inside the component. Does this have any performance impact? Should I move the contents of the component to the page and define the converters in the resource dictionary of the page? Does it even matter?
I have added a code example to illustrate the way we used the
DataTemplate
and our "component". Sometimes we would bind a couple of view model properties to the template as well.I tried searching online but I couldn't find any source about this, or maybe I just didn't look hard enough.
Beta Was this translation helpful? Give feedback.
All reactions