AjaxOptions.LoadingElementDuration Property

Gets or sets a value, in milliseconds, that controls the duration of the animation when showing or hiding the loading element.

Namespace:  System.Web.Mvc.Ajax
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Property LoadingElementDuration As Integer
'Usage
Dim instance As AjaxOptions
Dim value As Integer

value = instance.LoadingElementDuration

instance.LoadingElementDuration = value
public int LoadingElementDuration { get; set; }
public:
property int LoadingElementDuration {
    int get ();
    void set (int value);
}
function get LoadingElementDuration () : int
function set LoadingElementDuration (value : int)

Property Value

Type: System.Int32
A value, in milliseconds, that controls the duration of the animation when showing or hiding the loading element.

Remarks

By default, the animation fades in and fades out.

See Also

Reference

AjaxOptions Class

System.Web.Mvc.Ajax Namespace