Class DialogAnimationSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DialogAnimationSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Popups
Assembly: Syncfusion.AspNetMvc.Popups.dll
Syntax
public class DialogAnimationSettingsBuilder : ControlBuilder
Constructors
DialogAnimationSettingsBuilder()
Declaration
public DialogAnimationSettingsBuilder()
DialogAnimationSettingsBuilder(DialogAnimationSettings)
Declaration
public DialogAnimationSettingsBuilder(DialogAnimationSettings model)
Parameters
| Type | Name | Description |
|---|---|---|
| DialogAnimationSettings | model |
Methods
Delay(Double)
Specifies the delay in milliseconds to start animation.
Declaration
public DialogAnimationSettingsBuilder Delay(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |
Returns
| Type |
|---|
| DialogAnimationSettingsBuilder |
Duration(Double)
Specifies the duration in milliseconds that the animation takes to open or close the dialog.
Declaration
public DialogAnimationSettingsBuilder Duration(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |
Returns
| Type |
|---|
| DialogAnimationSettingsBuilder |
Effect(DialogEffect)
Specifies the animation name that should be applied on open and close the dialog.
If user sets Fade animation, the dialog will open with FadeIn effect and close with FadeOut effect.
The following are the list of animation effects available to configure to the dialog:
- Fade
- FadeZoom
- FlipLeftDown
- FlipLeftUp
- FlipRightDown
- FlipRightUp
- FlipXDown
- FlipXUp
- FlipYLeft
- FlipYRight
- SlideBottom
- SlideLeft
- SlideRight
- SlideTop
- Zoom
- None
Declaration
public DialogAnimationSettingsBuilder Effect(DialogEffect value)
Parameters
| Type | Name | Description |
|---|---|---|
| DialogEffect | value |
Returns
| Type |
|---|
| DialogAnimationSettingsBuilder |