Is there a way to load the style at design time (in visual studio)?
Hi Gilles,
There is no way to apply a style library at design-time. It can only be done at run-time.
well, I think I don't know how to use your code to apply style at design time.
if you got a small demo or more explanations about how to use the code you proposed it will be perfect, otherwise it doesn't mother. I will see the style at runtime.
Thanks
Gilles
what sort of problem are you seeing? What compiler are you using? I originally used that on vs 2005. Are you sure it can find the style?
Hi Jaimi,
I have created a control as you proposed but the control always return an error on the form.
Do you have any complete demo about it?!? Or more code, and how to do whit it?
Thanks in advance.
Well, to be honest it is quite handy and I do not know why you don't include the functionality. But still, it is quite simple, here is a control that can load a style at design time. It will also load it at runtime, so you don't have to bother putting something to load it in your app main. This is edited for brevity.