1.需要实现的效果如图

 

2.解决方案

1).给treeviewitem中添加children,children为包含一个stackpanel,在stackpanel中包含image和textblock两个控件。