ShowViewStrategyBase.ShowMessage(String, InformationType, Int32, InformationPosition) Method
Shows a Text Notification.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v25.1.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| message | String | A notification message. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| type | InformationType | Success | An InformationType value that determines the type of the notification. |
| displayInterval | Int32 | 3000 | An integer that specifies the duration of notification display in milliseconds. |
| position | InformationPosition | Bottom | An InformationPosition value that determines the position of the notification window in an ASP.NET Web Forms application. In Windows Forms and ASP.NET Core Blazor applications, this parameter is ignored. |
Remarks
Depending on the platform, the ShowMessage method displays text notifications in different ways:
- ASP.NET Core Blazor
A custom Alert component.

- Windows Forms
-

- ASP.NET Web Forms
A dxToast widget displayed at the specified position.

Tip
We recommend that you use the ShowMessage(MessageOptions) method, because it provides more configuration options.