WPF DropShadowEffect in ListBox

Posted by Andrew on Stack Overflow See other posts from Stack Overflow or by Andrew
Published on 2010-12-30T07:10:40Z Indexed on 2010/12/30 10:54 UTC
Read the original article Hit count: 158

Filed under:

Hi,

Basically, I have a listbox which contains a set of listboxitem (stacked horizontally). On selected listboxitem, there will be dropshadoweffect applied to the border of the listboxitem.

The problem i am having at the moment is the dropshadopeffect on the left hand side is covering (on top of) the left listboxitem. This is fine for me, however the dropshadoweffect on the right hand side of the listboxitem is covered by (below) the right listboxitem.

Is there a way to make them consistent? so that both sides' dropshadoweffect will appear on top of the left and right listboxitems.

Please let me know if you need more information.

Any help would be appreciated.

© Stack Overflow or respective owner

Related posts about wpf