What is an event when user changes items of combobox in WPF 2010

I have a populated combobox. I would like to show MessageBox if a focus changes from one item to another item of a ComboBox. But ComboBox must not be closed, that is user just goes through items in ComboBox, but user does not push a left button its mouse:).

For example, a combobox has three items - "x1", "x2" and "x3". If user selects "x1" then I want to show MessageBox.Show("x1") and if user selects "x2" then I want to show MessageBox.Show("It is amazing!")

How to do it? Any suggestions will be appreciated


I use event of Combobox named "DropDownClosed" so I can catch the latest choice of user and read its choise.

Need Your Help

Cancel an HTTP POST request server side

php perl http post

I am trying to write a script for uploading large files (>500MB). I would like to do some authentication before the upload is processed, eg:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.