Back to Devexpress

ASPxPopupControlBase.CloseAnimationType Property

aspnet-devexpress-dot-web-dot-aspxpopupcontrolbase-7e3429e4.md

latest2.2 KB
Original Source

ASPxPopupControlBase.CloseAnimationType Property

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

Declaration

csharp
[DefaultValue(AnimationType.None)]
public AnimationType CloseAnimationType { get; set; }
vb
<DefaultValue(AnimationType.None)>
Public Property CloseAnimationType As AnimationType

Property Value

TypeDefaultDescription
AnimationTypeNone

One of the AnimationType enumeration values.

|

Available values:

NameDescription
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

PopupAnimationType

ASPxPopupControlBase Class

ASPxPopupControlBase Members

DevExpress.Web Namespace