Listbox with Custom Listitem — Prevent Selection?

Make sure you mark the event as handled when the user clicks the Image.

Make sure you mark the event as handled when the user clicks the Image: private void ImageClicked(object sender, RoutedEventArgs e) { //send out event to remove UserControl //ensure the event doesn't bubble up further to the ListBoxItem e. Handled = true; }.

I do , but I handle the "click" OnMouseButtonUp and apparently the Listbox handles selections OnMouseButtonDown. I've tried using the tTest framework but thus far had no luck. – Bill Sep 18 '09 at 14:47 Handled the MouseLeftButtonDown event and fixed!

I feel silly for asking now =) – Bill Sep 18 '09 at 15:46.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions