Back to Devexpress

ASPxPopupControlBase.PopupAnimationType Property

aspnet-devexpress-dot-web-dot-aspxpopupcontrolbase-00dc78b6.md

latest2.5 KB
Original Source

ASPxPopupControlBase.PopupAnimationType Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
AnimationTypeAuto

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 PopupAnimationType property to specify the type of animation used to show popup windows. If the PopupAnimationType property is set to Auto , a popup window is shown with a fade effect if the ASPxPopupControl.PopupHorizontalAlign and ASPxPopupControl.PopupVerticalAlign properties are set to WindowCenter ; otherwise, the window is shown with the slide effect.

You can specify the animation type used to close popup windows with the ASPxPopupControlBase.CloseAnimationType property.

Fade Animation

Slide Animation

No Animation

See Also

CloseAnimationType

ASPxPopupControlBase Class

ASPxPopupControlBase Members

DevExpress.Web Namespace