We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

NotifyIcon Binding

Can anyone show me the correct method for Binding to a NotifyIcon. I currently have a viewModel that wraps exceptions into a custom viewmodel. This is then binded by properties of the view. If there is an error the Event is raised and the NotifyIcon should get the refreshed set of values.

Is there another method for implementing this approach?

XAML


ViewModel
..
try
' do something crazy
Catch ex As Exception
Me.ErrorString = ex.Message
Me.ErrorTime = 2000
callPropertyChanged(Me, New PropertyChangedEventArgs("ErrorString"))
callPropertyChanged(Me, New PropertyChangedEventArgs("ErrorTime"))
End Try

This is updating the notifyIcon however it's not displaying.

any ideas welcome





1 Reply

SN Surya Narayanan G Syncfusion Team September 28, 2011 06:39 PM UTC

Hi Garry,

Thanks for using Syncfusion products.

We have created a simple sample to show NotifyIcon with Binding and can be downloaded under the below location.In this sample through a button click we call ShowBalloonTip method to display the Notify Icon with binding values.

Please let me know in case of any queries.

Regards
Surya Narayana



F101022_NotifyIcon_939fe966.zip

Loader.
Live Chat Icon For mobile
Up arrow icon