MatDialog

Dialogs inform users about a specific task and may contain critical information, require decisions, or involve multiple tasks.

Name Type Description
Attributes Dictionary<String,Object> Gets or sets a collection of additional attributes that will be applied to the created element.
CanBeClosed Boolean Indicates if the user is able to close the dialog via Escape or click on the Scrim.
ChildContent RenderFragment Child content of MatDialog
Class String Specifies one or more classnames for an DOM element.
Id String
IsOpen Boolean
IsOpenChanged EventCallback<Boolean> Event occurs when the dialog is opened or closed.
RefBack ForwardRef
Style String Specifies an inline style for an DOM element.
Ref ElementReference Returned ElementRef reference for DOM element.
MatDialogTitle
Name Type Description
Attributes Dictionary<String,Object> Gets or sets a collection of additional attributes that will be applied to the created element.
ChildContent RenderFragment Child content of MatDialogTitle
Class String Specifies one or more classnames for an DOM element.
Id String
RefBack ForwardRef
Style String Specifies an inline style for an DOM element.
Ref ElementReference Returned ElementRef reference for DOM element.
MatDialogContent
Name Type Description
Attributes Dictionary<String,Object> Gets or sets a collection of additional attributes that will be applied to the created element.
ChildContent RenderFragment Child content of MatDialogContent
Class String Specifies one or more classnames for an DOM element.
Id String
RefBack ForwardRef
Style String Specifies an inline style for an DOM element.
Ref ElementReference Returned ElementRef reference for DOM element.
MatDialogActions
Name Type Description
Attributes Dictionary<String,Object> Gets or sets a collection of additional attributes that will be applied to the created element.
ChildContent RenderFragment Child content of MatDialogActions
Class String Specifies one or more classnames for an DOM element.
Id String
RefBack ForwardRef
Style String Specifies an inline style for an DOM element.
Ref ElementReference Returned ElementRef reference for DOM element.
Example

Hi

What's your favorite animal?

Title
  • Dr.
  • Prof.
If you like MatBlazor, please put a star on GitHub.