aspnet-devexpress-dot-web-dot-aspxpopupcontrolbase-7e3429e4.md
Gets or sets a value specifying the animation type used to close popup windows.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(AnimationType.None)]
public AnimationType CloseAnimationType { get; set; }
<DefaultValue(AnimationType.None)>
Public Property CloseAnimationType As AnimationType
| Type | Default | Description |
|---|---|---|
| AnimationType | None |
One of the AnimationType enumeration values.
|
Available values:
| Name | Description |
|---|---|
| Slide |
A control uses a slide animation effect.
| | Fade |
A control uses a fade-in animation effect.
| | None |
A control does not use animation effects.
| | Auto |
The type of animation is determined by the control.
|
Use the CloseAnimationType property to specify the type of animation used to close popup windows. If the CloseAnimationType property is set to Auto , a popup window is closed with a fade effect if the ASPxPopupControl.PopupHorizontalAlign and ASPxPopupControl.PopupVerticalAlign properties are set to WindowCenter ; otherwise, the window is closed with the slide effect.
You can specify the animation type used to show popup windows with the ASPxPopupControlBase.PopupAnimationType property.
See Also