Table of Contents

Class MessageBoxOptions

Namespace
MudBlazor
Assembly
MudBlazor.dll

Represents options which are used during calls to show a simple MudDialog.

public class MessageBoxOptions
Inheritance
MessageBoxOptions
Inherited Members
Extension Methods

Constructors

MessageBoxOptions()

public MessageBoxOptions()

Properties

CancelText

The default label of the cancel button.

public string? CancelText { get; set; }

Property Value

string

Remarks

Defaults to null. When null, this button will be hidden.

MarkupMessage

The main HTML content of the message box.

public MarkupString MarkupMessage { get; set; }

Property Value

MarkupString

Message

The main content of the message box.

public string? Message { get; set; }

Property Value

string

NoText

The default label of the No button.

public string? NoText { get; set; }

Property Value

string

Remarks

Defaults to null. When null, this button will be hidden.

Title

The text at the top of the message box.

public string? Title { get; set; }

Property Value

string

YesText

The default label of the Yes button.

public string YesText { get; set; }

Property Value

string

Remarks

Defaults to OK. When null, this button will be hidden.