By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,783 Members | 1,293 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,783 IT Pros & Developers. It's quick & easy.

TreeView Missing SelectedItemChanged Event?

P: n/a
Hi All,

Sorry about this beginner question (I'm coming up from Visual C++ or
Down from VB)... Also, pickings are slim for this topic on MSDN [1,
2]. [2] does not really apply, but it was a keyword hit
("SelectedItemChanged"). Does any one know how to receive this
notification? I'm not receiving it.

What I done so far: Hightlight the TreeView in Design Mode, and then
switching to Properties->Events: SelectedItemChanged is not an
available event. I tried the following (TreeView control name is

private void ObjectTree_SelectedItemChanged(object sender, EventArgs

I have no idea what to do with (from [1]):

public static readonly RoutedEvent SelectedItemChangedEvent

Pasting it into the code resulted in compile errors. The Microsoft
Wiki [3] is looking more appealing every day. Sorry about another
beginner question.


[1] TreeView.SelectedItemChangedEvent Field,
[2] DomainUpDown.SelectedItemChanged Event,
[3] Microsoft Wiki,
Nov 15 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.