DropShadow Extender (demo)
DropShadow is an extender that applies drop shadow to an ASP.NET Panel control.
||The opacity of the shadow, from 0 (transparent - no shadow rendered) to 1.0, which is fully opaque black.
Remarks: The default is .5.
||Specifies the radius of rounded corners in pixels.
||A Boolean value that specifies whether or not corners of the target and drop shadow should be rounded.
||Determines whether or not the DropShadow tracks position or size changes of the panel it is targeting.
Remarks: This is false by default. If true, DropShadowBehavior uses a timer to poll for the position of its target, so don't turn it on unless it's needed.
||The shadow width on each side in pixels. Remarks: The default is 5.
A number that represents the opacity of the drop shadow from 0 (fully transparent) to 1.0 (fully opaque).
An integer that specifies the radius of rounded corners in pixels.
A Boolean value that specifies whether or not corners of the target and drop shadow should be rounded.
A Boolean value that specifies whether the drop shadow should track the position of the panel to which it is attached.
A number that specifies the length of the timer interval that is used when tracking the targer position.
An integer that specifies the drop shadow width in pixels.
Draws shadow around the control.
This function does most part of work when positioning and sizing the shadow. It caches values to avoid extra work. It's called on a timer so we need to keep its weight light.
- Type: Boolean
- Description: Whether to force the bounds change.
- Type: Boolean
- Description: Whether to recurse if we need to recreate the shadow div