If I have a list box is it possible that when I click on item first time it will select it and if I click on it second time it will unselect?
If yes how can I do it?
If I have a list box is it possible that when I click on item first time it will select it and if I click on it second time it will unselect?
If yes how can I do it?
Naturally it is not possible to ordinarily click again to deselect, but their is a way around it. listen to the SelecttionChanged event of the listBox, always get the selectedindex, upon another select set selectedindex to -1