469,928 Members | 1,840 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,928 developers. It's quick & easy.

TreeView Missing SelectedItemChanged Event?

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, http://msdn2.microsoft.com/en-us/lib...41(VS.80).aspx
Nov 15 '07 #1
0 1110

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Ivan Rakyta | last post: by
1 post views Thread by Ziver MALHASOGLU | last post: by
2 posts views Thread by John Bowman | last post: by
2 posts views Thread by Andrew Ducker | last post: by
3 posts views Thread by sianan | last post: by
1 post views Thread by kvicky | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.