Skip to main content
.NET 8.0+

MessageOptions Properties

Contains Text Notifications options passed to the ShowViewStrategyBase.ShowMessage method.
Name Description
CancelDelegate Specifies a delegate that is executed on a Cancel button click in WinForms applications or close button click in ASP.NET Core Blazor applications.
Duration Specifies the duration of the WinForms Alert, and ASP.NET Web Forms and ASP.NET Core Blazor notification in milliseconds.
Message Specifies the notification text.
OkDelegate Specifies a delegate that is executed when a user clicks a notification message (or if the WinMessageOptions.Type property is set to Flyout in a WinForms application and the OK button is clicked).
Type Specifies the type of a notification window.
Web Specifies the set of the ASP.NET Web Forms-specific notification options.
Win Specifies the set of WinForms-specific notification options.
See Also