The requested page is not available for the requested platform. You are viewing the content for Default platform.

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public void ShowMessage(
    string message,
    InformationType type = InformationType.Success,
    int displayInterval = 3000,
    InformationPosition position = InformationPosition.Bottom
)
Public Sub ShowMessage(
    message As String,
    type As InformationType = InformationType.Success,
    displayInterval As Integer = 3000,
    position As InformationPosition = 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