wpf - Why are my TreeViewItems acting like RadioButtons? -
i have wpf treeview i've implemented small model class behind scenes. bind list of them treeview's itemssource when creating control. (i've pared code here down bit sake of simplicity, should reproducable.) public class treeviewitemmodel { public observablecollection<treeviewitemmodel> children { get; set; } public string name { get; set; } public bool isselected { get; set; } public treeviewitemmodel() { children = new observablecollection<treeviewitemmodel>(); isselected = false; } } public partial class mainwindow : window { public observablecollection<treeviewitemmodel> mytree { get; set; } public mainwindow() { initializecomponent(); // add dummy values list<treeviewitemmodel> items = new list<treeviewitemmodel>(); (int = 0; < 10; i++) items.add(new treeviewitemmodel() { name = ("node" + i) }); mytree = new observablecoll...