WPF event binding
-
how to bind a event to my data context class Is this correct
-
how to bind a event to my data context class Is this correct
-
I think u want to have some value in label when mouse is down. If so then call a method on MouseDown event and assign the value to the label as LABE.Text=value
Gomathi R
i am asking about binding with an function I am writing an function mouse_down in a class and i have to bind the function with this xAML code can i do this
-
i am asking about binding with an function I am writing an function mouse_down in a class and i have to bind the function with this xAML code can i do this
-
how to bind a event to my data context class Is this correct
Actually, it's easier than that. No need for binding here. To make it even easier, once you enter the name of the event handler, you can right-click on it and pick "Navigate to Event Handler". It'll automatically create the function if it doesn't already exist.