Using Image in ListBox as "thumbnail"

Sep 29, 2009 at 2:53 PM

We are using XAML in WPF, using a display of a "map" as a thumbnail. 

 

 

<font size="2" color="#a31515"><font size="2" color="#a31515">

 

</font></font><font size="2" color="#a31515">

 

</font>

<ListBox Name="DataThumbnailList" SelectionChanged="DataThumbnailList_SelectionChanged">  </ListBox>

 

The image is created using D3ColorMap,

 

As you can see we have set "SelectionChanged" to "DataThumbnailList_SelectionChanged", the problem is that the image we are using is the D3ColorMap and not a static image so "clicking" on this "image" doesn't fire the SelectionChanged Event, only on the border area.  I'm sure we could just use a static image in place of this, but we like the way this image truly represents what we are displaying on our main view.  SO, is there a way to bubble up the selectionchanged event in the WPF so we can support this?

Editor
Oct 14, 2009 at 4:13 PM

Hi!

Actually I didn't understand your question. Can you please write in more details how are you using D3ColorMap (are you speaking about NaiveColorMap?)? Maybe some more details or screenshots can help me. Also you can send me a part of your application that doesn't work as you like - my e-mail is thecentury+d3@gmail.com.

 

Regards,

Mikhail.