Represents a request to display a message box with various customizable options.
Name | Type | Description |
---|---|---|
AdditionalAttributes | Dictionary<string, object> |
Additional attributes to be splatted onto an underlying UI component (Bootstrap: HxMessageBox -> HxModal). |
BodyTemplate | RenderFragment |
Body (content) template. |
Buttons | MessageBoxButtons |
Buttons to show. |
CustomButtonText | string |
Text for the MessageBoxButtons.Custom button. |
HeaderTemplate | RenderFragment |
Template for the header. |
PrimaryButton | MessageBoxButtons? |
Primary button (if you want to override the default). |
Settings | MessageBoxSettings |
Settings for the message box. |
ShowCloseButton | bool? |
Indicates whether to show the close button. |
Text | string |
Content (body) text. |
Title | string |
Title in the header. |