Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Web.Mvc5

#Declaration

public AnimationType CloseAnimationType { get; set; }

#Property Value

Type Description
AnimationType

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.

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