I have a form with two text boxes, what event and how can I use to get an action when I click the Layout, exept this textboxes? So when I click on the textboxes this event should not be work. It should work when I click on the other parts of the layout,exept the textboxes that I have on the form
Share
You can set a MouseLeftButtonUp-event on the main Grid in your Page. Something like this:
And the event looks like this:
I tested this on a page with two TextBoxes and a Checkbox and this works. Everywhere I click except for the TextBoxes and the CheckBox the event is raised. Hope this helps!