Back to Devexpress

PopupControlSettingsBase.CloseAnimationType Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-popupcontrolsettingsbase-24743642.md

latest2.2 KB
Original Source

PopupControlSettingsBase.CloseAnimationType Property

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

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public AnimationType CloseAnimationType { get; set; }
vb
Public Property CloseAnimationType As AnimationType

Property Value

TypeDescription
AnimationType

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.

For PopupControl only:

If the CloseAnimationType property is set to Auto , a window is shown with a fade effect if the PopupControlSettings.PopupHorizontalAlign and PopupControlSettings.PopupVerticalAlign properties are set to WindowCenter ; otherwise, the window is closed with the slide effect.

See Also

Popup Control

PopupAnimationType

PopupControlSettingsBase Class

PopupControlSettingsBase Members

DevExpress.Web.Mvc Namespace