public class TreeViewItemExt : TreeViewItem
{
}
public class TreeViewItemExt : TreeViewItem
{
public TreeViewItemExt()
: base()
{
this.Selected += new RoutedEventHandler(msg);
}
public void msg(object sender, RoutedEventArgs e)
{
MessageBox.Show("TreeViewItemExt Works!");
}
}