During big files loading I want to disable mouse buttons to unable user to click on UI elements and triggers events.
Edit When I am loading big size file in my WPF Caliburn Micro application I changed IsEnabled property of Listbox to false, because I want to disable a button during this process. Next when file is loaded I changed IsEnabled property of Listbox to true. After that every click on disabled button raised events and I did not want that. I don't know how to remove this events, and where there are stored, so i thought that the easier way to solve this problem is to disable mouse buttons during file loading process. But it is also not easy... Thank You in advance!