Skip to main content
All docs
V25.1
  • DxMessageBox Members

    A message box intended for use as an alert or confirmation dialog.

    Constructors

    Name Description
    DxMessageBox() Initializes a new instance of the DxMessageBox 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 component and its content.
    Text Specifies the message box text.
    ThemeMode Specifies the message box’s predefined theme mode.
    Title Specifies the message box title.
    Type Specifies whether the component displays an alert or confirmation dialog.
    Visible Specifies whether the message box is visible.
    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.

    Events

    Name Description
    Closed Fires after the message box is closed.
    OutsideClick Fires when a message box is closed as a result of clicking outside the box’s boundaries.
    Shown Fires after the message box is displayed.
    VisibleChanged Fires when the message box changes its Visible property value.
    See Also