-
Notifications
You must be signed in to change notification settings - Fork 1
DropShadowExtender
DropShadow is an extender that applies drop shadow to an ASP.NET Panel control.
Name | Description |
---|---|
Opacity | The opacity of the shadow, from 0 (transparent - no shadow rendered) to 1.0, which is fully opaque black. Remarks: The default is .5. |
Radius | Specifies the radius of rounded corners in pixels. |
Rounded | A Boolean value that specifies whether or not corners of the target and drop shadow should be rounded. |
TrackPosition | 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. |
Width | The shadow width on each side in pixels. Remarks: The default is 5. |
Name | Description |
---|---|
opacity | A number that represents the opacity of the drop shadow from 0 (fully transparent) to 1.0 (fully opaque). |
radius | An integer that specifies the radius of rounded corners in pixels. |
rounded | A Boolean value that specifies whether or not corners of the target and drop shadow should be rounded. |
trackPosition | A Boolean value that specifies whether the drop shadow should track the position of the panel to which it is attached. |
trackPositionDelay | A number that specifies the length of the timer interval that is used when tracking the targer position. |
width | An integer that specifies the drop shadow width in pixels. |
Name | Description |
---|---|
setShadow(force, norecurse) | Draws shadow around the control. |
A number that represents the opacity of the drop shadow from 0 (fully transparent) to 1.0 (fully opaque).
Remarks: The default is .5.
Getter name: get_opacity()
Setter name: set_opacity(value)
A Boolean value that specifies whether or not corners of the target and drop shadow should be rounded.
Getter name: get_rounded()
Setter name: set_rounded(value)
An integer that specifies the radius of rounded corners in pixels.
Getter name: get_radius()
Setter name: set_radius(value)
An integer that specifies the drop shadow width in pixels.
Remarks: The default is 5.
Getter name: get_width()
Setter name: set_width(value)
A number that specifies the length of the timer interval that is used when tracking the targer position.
Getter name: get_trackPositionDelay()
Setter name: set_trackPositionDelay(value)
A Boolean value that specifies whether the drop shadow should track the position of the panel to which it is attached.
Remarks: Set this property to true if the panel is absolutely positioned or if it might move at runtime. The default is false.
Getter name: get_trackPosition()
Setter name: set_trackPosition(value)
Draws shadow around the control.
Remarks: 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.
Params:
-
force
- Type: Boolean
- Description: Whether to force the bounds change.
-
norecurse
- Type: Boolean
- Description: Whether to recurse if we need to recreate the shadow div
This content was moved from https://ajaxcontroltoolkit.codeplex.com/documentation to this Documentation wiki. This is now the authoritative location of the AJAX Control Toolkit documentation.
- Step-by-Step Installation Guide
- Upgrading from v7.x and below
- Uninstalling the AJAX Control Toolkit
- Troubleshooting Installer Issues
- Updating the Project from CI Builds
Reference v16.1.1
Controls:
- Accordion
- AjaxFileUpload
- AreaChart
- AsyncFileUpload
- BarChart
- BubbleChart
- ComboBox
- Editor (deprecated)
- Gravatar
- LineChart
- NoBot
- PieChart
- Rating
- ReorderList
- Seadragon
- TabContainer
- TabPanel
Extenders:
- AlwaysVisibleControl
- Animation
- AutoComplete
- BalloonPopup
- Calendar
- CascadingDropDown
- CollapsiblePanel
- ColorPicker
- ConfirmButton
- DragPanel
- DropDown
- DropShadow
- DynamicPopulate
- FilteredTextBox
- HoverMenu
- HtmlEditor
- ListSearch
- MaskedEdit
- MaskedEditValidator
- ModalPopup
- MultiHandleSlider
- MutuallyExclusiveCheckBox
- NumericUpDown
- PagingBulletedList
- PasswordStrength
- PopupControl
- ResizableControl
- RoundedCorners
- Slider
- SlideShow
- TextBoxWatermark
- ToggleButton
- UpdatePanelAnimation
- ValidatorCallout