Last post Apr 09, 2008 11:35 AM by johnwsaunders3
Apr 09, 2008 11:35 AM|johnwsaunders3|LINK
I'm working on a proof of concept of a custom resource provider. It's working at runtime and design time for explicitly localized properties, both local and global. However, for implicitly localized properties, my custom resource provider's GetObject method
is not being called.
I looked into this and found that
ControlBuilder.ProcessImplicitResources adds a bound property for each implicit resource key I tell it about, but adds them with the "generated" parameter being true, which causes ExpressionBinding.Generated to be true, which causes
ControlDesigner.UpdateExpressionValues to skip over the property, as binding.Generated will be true.
[Thank you, Reflector!]
So the question becomes, if I can see my explicit resources at design time, why not the implicit ones, especially
since VS already knows about them all?