Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Selecting a file using double click in FileOpenDialog

$
0
0

Hi,

I have observed a weird behavior of double click on FileOpenDialog is actually handing over the 2nd click to the control that is behind the dialog. I have checked the forums and it is said that we have to handle MouseUp and MouseDown events to identify whether the event actually happened on the control. In my case the mouse up event gets fired after the click event. The control that have behind the FileOpenDialog is TreeView.

I am wondering is there any better solution to this ?

Thanks,

Prasad.



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>