J
Jeffrey Walton
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
ObjectTree):
private void ObjectTree_SelectedItemChanged(object sender, EventArgs
e)
{...}
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.
Jeff
[1] TreeView.SelectedItemChangedEvent Field,
http://msdn2.microsoft.com/en-us/li...ntrols.treeview.selecteditemchangedevent.aspx
[2] DomainUpDown.SelectedItemChanged Event,
http://msdn2.microsoft.com/en-us/library/system.windows.forms.domainupdown.selecteditemchanged.aspx
[3] Microsoft Wiki, http://msdn2.microsoft.com/en-us/library/bb166441(VS.80).aspx
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
ObjectTree):
private void ObjectTree_SelectedItemChanged(object sender, EventArgs
e)
{...}
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.
Jeff
[1] TreeView.SelectedItemChangedEvent Field,
http://msdn2.microsoft.com/en-us/li...ntrols.treeview.selecteditemchangedevent.aspx
[2] DomainUpDown.SelectedItemChanged Event,
http://msdn2.microsoft.com/en-us/library/system.windows.forms.domainupdown.selecteditemchanged.aspx
[3] Microsoft Wiki, http://msdn2.microsoft.com/en-us/library/bb166441(VS.80).aspx