Event Actions Not Working #267
matiascozzani
started this conversation in
General
Replies: 1 comment 11 replies
|
My guess is that it is invoking your method, but you're not observing it correctly.
Can you reduce this down to a minimal sample you can share?
…On 23 June 2021 21:50:59 BST, matiascozzani ***@***.***> wrote:
Hi!
I'm having problems when it comes to triggering actions from events
using this framework.
It used to work, but after some changes to namespaces the framework
just stopped working.
For example, attaching "Click" event of a button in a view to a "Test"
method in a viewmodel wont call "Test", however if i put an incorrect
signature in the method "Test" stylet WILL let me know that it can only
be Method(), Method(EventArgs e)... etc
In addition to this, it clearly states "Test method in TestViewModel",
so it can correctly attach any particular view to its corresponding
viewmodel

I also tried with other events as MouseDown on a window calling
sender.DragMove but it doesn't work either.
Hoping anyone can help me!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#267
|
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi!
I'm having problems when it comes to triggering actions from events using this framework.
It used to work, but after some changes to namespaces the framework just stopped working.
For example, attaching "Click" event of a button in a view to a "Test" method in a viewmodel wont call "Test", however if i put an incorrect signature in the method "Test" stylet WILL let me know that it can only be Method(), Method(EventArgs e)... etc
In addition to this, it clearly states "Test method in TestViewModel", so it can correctly attach any particular view to its corresponding viewmodel

I also tried with other events as MouseDown on a window calling sender.DragMove but it doesn't work either.
Hoping anyone can help me!
All reactions