Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ShowViewStrategyBase.ShowMessage(String, InformationType, Int32, InformationPosition) Method

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public void ShowMessage(
    string message,
    InformationType type = InformationType.Success,
    int displayInterval = 3000,
    InformationPosition position = InformationPosition.Bottom
)

Parameters

Name Type Description
message String

A string which is a notification message.

Optional Parameters

Name Type Default Description
type InformationType 3

An InformationType value which determines the type of the notification.

displayInterval Int32 3000

An integer which specifies the duration of the notification displaying. The value indicates milliseconds.

position InformationPosition 2

An InformationPosition value which determines the position of the notification window in an ASP.NET application. In a WinForms application, this parameter is ignored.

Remarks

In a WinForms application, the ShowMessage method displays a Toast Notification. In an ASP.NET application, the dxToast widget is displayed at the specified position.

It is recommended to use another ShowMessage overload which takes the MessageOptions parameter. That overload provides more configuration options.

See Also