Class DialogOptions
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
The customization options for a MudDialog.
public class DialogOptions
- Inheritance
-
DialogOptions
- Inherited Members
- Extension Methods
Constructors
DialogOptions()
public DialogOptions()
- See Also
Properties
BackdropClick
Allows closing the dialog by clicking outside of the dialog.
public bool? BackdropClick { get; set; }
Property Value
- bool?
Remarks
Defaults to true
.
- See Also
BackgroundClass
The custom CSS classes to apply to the dialog background.
public string? BackgroundClass { get; set; }
Property Value
Remarks
Multiple classes must be separated by spaces.
- See Also
CloseButton
Shows a close button in the top-right corner of the dialog.
public bool? CloseButton { get; set; }
Property Value
- bool?
Remarks
Defaults to false
.
- See Also
CloseOnEscapeKey
Allows closing the dialog by pressing the Escape key.
public bool? CloseOnEscapeKey { get; set; }
Property Value
- bool?
- See Also
FullScreen
Sets the size of the dialog to the entire screen.
public bool? FullScreen { get; set; }
Property Value
- bool?
Remarks
Defaults to false
.
- See Also
FullWidth
Sets the width of the dialog to the width of the screen.
public bool? FullWidth { get; set; }
Property Value
- bool?
Remarks
Defaults to false
.
- See Also
MaxWidth
The maximum allowed width of the dialog.
public MaxWidth? MaxWidth { get; set; }
Property Value
Remarks
Defaults to null
.
- See Also
NoHeader
Hides the dialog header.
public bool? NoHeader { get; set; }
Property Value
- bool?
Remarks
Defaults to false
.
- See Also
Position
The location of the dialog.
public DialogPosition? Position { get; set; }
Property Value
Remarks
Defaults to null
.
- See Also