Switch to Blazor wasm
Toggle light/dark theme
GitHub repository
Toggle right-to-left/left-to-right

Community Support

Discord

GitHub Discussions

Tools and resources

TryMudBlazor

Templates

Sponsor

Open Collective

Community Support

Discord

GitHub Discussions

Tools and resources

TryMudBlazor

Templates

Sponsor

Open Collective

Binding TwoWay
MudBlazor

Community Support

Discord

GitHub Discussions

Tools and resources

TryMudBlazor

Templates

Sponsor

Open Collective


Switch to Blazor wasm
Toggle light/dark theme
GitHub repository
Toggle right-to-left/left-to-right

Community Support

Discord

GitHub Discussions

Tools and resources

TryMudBlazor

Templates

Sponsor

Open Collective

MudDialog API

Pages

Properties

Name Type Default Description
Class
String

null

User class names, separated by space.
ClassActions
String

null

CSS class that will be applied to the action buttons container
ClassContent
String

null

CSS class that will be applied to the dialog content
ContentStyle
String

null

CSS styles to be applied to the dialog content
DialogActions
RenderFragment

null

Define the action buttons here
DialogContent
RenderFragment

null

Define the dialog body here
DisableSidePadding
Boolean

False

No padding at the sides
IsVisible
Boolean
Binding TwoWay

False

Bind this two-way to show and close an inlined dialog. Has no effect on opened dialogs
Style
String

null

User styles, applied on top of the component's own classes and styles.
Tag
Object

null

Use Tag to attach any user data object to the component for your convenience.
TitleContent
RenderFragment

null

Define the dialog title as a renderfragment (overrides Title)
UserAttributes
Dictionary<String, Object>

UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag.

EventCallbacks

Name Type Description
IsVisibleChanged
EventCallback<Boolean>
Raised when the inline dialog's display status changes.

Methods

Name Parameters Return Description
Close(DialogResult result)
DialogResult result
Close the currently open inlined dialog
IDialogReference Show(string title, DialogOptions options)
string title
DialogOptions options
IDialogReference
Show this inlined dialog
An error has occurred. This application may no longer respond until reloaded. Reload 🗙