I have a wpf app and need to apply a control template to a thumb at runtime,
but I can't do it the same way I would apply a style. this is what I want
to do:
Thumb thm = new Thumb();
thm.Template = TryFindResource ("myThumbTempla te") as Template;
but of course, this doesn't work.
Any advise?
Thanks.
--
moondaddy@newsg roup.nospam
but I can't do it the same way I would apply a style. this is what I want
to do:
Thumb thm = new Thumb();
thm.Template = TryFindResource ("myThumbTempla te") as Template;
but of course, this doesn't work.
Any advise?
Thanks.
--
moondaddy@newsg roup.nospam
Comment