.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.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.
Duration Specifies the duration of the WinForms Alert and ASP.NET notification display in milliseconds.
Message Specifies the notification text.
OkDelegate Specifies the delegate that is executed when a user clicks the message (or, if the WinMessageOptions.Type property is set to Flyout in a WinForms application, when the OK button is clicked).
Type Specifies the type of a notification window.
Web Specifies the set of the ASP.NET-specific notification options.
Win Specifies the set of WinForms-specific notification options.
See Also