is there any way to get the value of the list item being clicked? I need to send the value to a textbox for editing... help?
Printable View
is there any way to get the value of the list item being clicked? I need to send the value to a textbox for editing... help?
I think you want to use 'SelectedItem' property to get the value
That's good for single clicks only. If you want to have an item resond to a double click, you'll need to use the HitTest method. It returns an item based on the (x, y) coordinats of the mouse. To get these, set a couple of variable in the MouseDown event and call the HitTest method from the DoubleClick event with the variables.