I would like to define a ControlTemplate at runtime. Is this possible? I have noticed the VisualTree property on the ControlTemplate class. I have also noticed that it uses
WPF Control class has a 'Template' property to which you can set a at run time.