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
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