I've some issues:
I've a web browser from cefSharp
on which I'm trying to trigger a command on load:
My command is currently empty:
LoadedCommand = new RelayCommand(() =>
{
});
The issue is that when the event is triggered, before even entering in my command, I get an InvalidOperationException
about a cross thread exception.
For what I see here it seems that this event is triggered from a thread that is not the UI thread.
I've the feeling that the EventToCommand
class tries to get some UI stuff which cause the application to crash.
How would you address this issue?