Fish eye panel

Excellent article on CodeProject by Paul Tallett on custom layout panels. Indeed one of the more interesting things in WPF in the context of data visualization; you can embed the diagram layout algorithm inside a panel which can be reused as-is.

FishEye demo

One interesting thing Paul noted was:

“…Another really wonderful property is setting IsHitTestVisible = false. This means that for all mouse hit testing, it is invisible, and all the events go to the parent as if it wasn’t there. This is especially useful when implementing drag and drop, if you are moving an item, so it tracks under the mouse. You can set this property and the mouse moves go to the underlying parent. That took two days of screwing around to discover!…”

Quite typical :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

top