.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

MessageOptions.Duration Property

Specifies the duration of the WinForms Alert and ASP.NET notification display in milliseconds.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.1.dll

Declaration

public int Duration { get; set; }
Public Property Duration As Integer

Property Value

Type Description
Int32

An integer which specifies the duration of the WinForms Alert and ASP.NET notification display in milliseconds.

Remarks

A notification message window is closed when this duration time is up or when a user clicks the message.

This property has no effect in WinForms applications with the Flyout or Toast notifications.

See Also