Skip to main content
Tab

ASPxPopupControlBase.CloseAnimationType Property

Gets or sets a value specifying the animation type used to close popup windows.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

[DefaultValue(AnimationType.None)]
public AnimationType CloseAnimationType { get; set; }

#Property Value

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.

#Remarks

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