title: How to dynamically change itemtemplate in UWP?
body: <p>In WPF you can modify controls using Styles and Templates dynamically with Binding.  I see how to do this in UWP directly in the control but I want to apply a template that will change itself based on the binding.  </p>
  
  <p>An example would be a button.  I have a button that turns on and off a light in this project.  The project is already created and running in WPF but needs to be converted to UWP.  In the WPF version we have a LightStyle for the button, depending on what type of light it is, we change the Template to look and perform for that light.  (For example: we can change the color of some lights, the dimness for some lights, and some lights just turn on and off; but we use the same LightStyle for them all.  Very generic, dynamic, and extremely useful.)  </p>
  
  <p>How do you do this in UWP?  I've searched a minute and figured I would stop here and check while I continue to dig.  Keep in mind that this project is pure MVVM and no code behind is used.  I don't mind a code behind explanation as long as it's not the only way.</p>
  
  <p>Thanks in advance :)</p>