Skip to main content
.NET 6.0+

MessageOptions Members

Contains Text Notifications options passed to the ShowViewStrategyBase.ShowMessage method.

Constructors

Name Description
MessageOptions() Initializes a new instance of the MessageOptions class.

Properties

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.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also