Related to an earlier question I asked, I’ve seen that there’s both LoadComponent() and XamlReader.Load(). They’re similar enough that I’m not quite sure which one I should use in what case.
So, in essence, what’s the difference between the two?
Thanks!
MSDN:
Speculation
I would guess that LoadComponent calls
XamlReader.Load(). LoadComponent looks more like an application level service and is probably used by the application itself to load all of the xaml resources. XamlReader is the specific library call for what you want.Think about it as LoadComponent is an Application Service where XamlReader is the library containing the functionality.