Using the NotifyIcon project to show balloons in my c# app.
I want a trigger from the program to be displayed as a popup/balloon when it occurs. The problem is that I can only see how to show a balloon using the .ShowCustomBalloon method in code-behind of the .xaml.cs file, which doesn't have context in my ViewModel. The examples in the project work because they use code-behind to show the balloon contents.
What I need is a way to have an event listener on the .xaml file that can trigger this show balloon, that is bound to a property of the viewModel. Problem is my experience in c# app dev. is not great and I am wondering how to go about this.