title: How to programatcally add a button to a single TreeViewItem
body: <p>I generate the contents of a TreeView(TV) dynamically and, according to certain properties of the items i'm using to source the tree, would like to attach buttons to some of the TreeViewItems(TVIs). </p>
  
  <p>It just so happens that all the TVIs of one specific TV in my application needs this functionality. Something that might simplify the task is the fact that all root items in that tree need buttons. To paraphrase, every TVI inside the specific TV needs a button except those TVIs that are inside TVIs.</p>
  
  <p>I was thinking template thoughts but I can only see how to add buttons to all the TVIs in the TV. Another option (i think... I haven't tried this yet but it sounds ok in my head) would be to just add buttons to everything in the TV and bind the relevant property of the source items to the visability of the buttons but this seems like a complete hack and i'm mostly convinced that there has to be a more elegant solution. </p>
  
  <p>Any ideas about how to pull this off?</p>