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.
Unfortunately, activation email could not send to your email. Please try again.

NotifyIcon Binding

Thread ID:

Created:

Updated:

Platform:

Replies:

101022 Sep 20,2011 12:04 PM Sep 28,2011 02:39 PM WPF 1
loading
Tags: Tools
Garry Taylor
Asked On September 20, 2011 12:04 PM

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





Surya Narayanan G [Syncfusion]
Replied On September 28, 2011 02:39 PM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;