Drop shadows on a Panel inside a Part, not the Part itself

How do I add a drop shadow to just a Panel inside my Part?
From the documentation, it looks like I can only add it to a Part.

You need to set Part.isShadowed in order to turn on any shadowing. If the results are not what you want, you can set GraphObject.shadowVisible on individual objects.

1 Like

Thanks a lot @walter! That made my day :)

I have similar issue. I need to give drop shadow to panel inside of Part. And Part has drop shadow too.
I already gave drop shadow to Part. And I need to give different shadow to Panel inside of Part.
How should I do that?
Regards

is it possible configure drop shadow value? like regular css
box-shadow: 0px 1px 5px rgba(0, 0, 0, .3);

You can set or bind properties on the Part: shadowOffset, shadowBlur, shadowColor.
Starting at: Part | GoJS API

A post was split to a new topic: Different hover effects