ShowViewStrategyBase.ShowMessage(String, InformationType, Int32, InformationPosition) Method
Shows a Text Notification.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public void ShowMessage(
string message,
InformationType type = InformationType.Success,
int displayInterval = 3000,
InformationPosition position = InformationPosition.Bottom
)
#Parameters
Name | Type | Description |
---|---|---|
message | String | A notification message. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
type | Information |
Success | An Information |
display |
Int32 | 3000 | An integer that specifies the duration of notification display in milliseconds. |
position | Information |
Bottom | An Information |
#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 Show