Skip to main content
All docs
V24.2

MessageBoxOptions Members

Defines options for a message box.

Constructors

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

Properties

Name Description
CancelButtonText Specifies the Cancel button text.
CloseOnEscape Specifies whether the message box should be closed when a user presses Escape.
CloseOnOutsideClick Specifies whether the message box should be closed when a user clicks outside the box’s boundaries.
CssClass Assigns a CSS class to the message box.
Height Specifies the message box height.
OkButtonText Specifies the OK button text.
RenderStyle Specifies the component’s predefined style.
ShowCloseButton Specifies whether the message box displays the Close button.
ShowIcon Specifies whether to show an icon in the message box.
SizeMode Specifies the size of the message box and its content.
Text Specifies the message box text.
ThemeMode Specifies the message box’s predefined theme mode.
Title Specifies the message box title.
Width Specifies the message box width.

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