Table of Contents

Class MudGlobal

Namespace
MudBlazor
Assembly
MudBlazor.dll

Static properties that let you control the default behavior of some parts of MudBlazor.

Warning: This feature is under development and breaking changes to the API will occur between releases. See our website for more info including our support policy.

public static class MudGlobal
Inheritance
MudGlobal
Inherited Members

Properties

Rounded

Applies regular rounding to components by default; additional rounding if set to true; or squares them if set to false for MudBlazor components.

public static bool? Rounded { get; set; }

Property Value

bool?

UnhandledExceptionHandler

The handler for unhandled MudBlazor component exceptions.

public static Action<Exception> UnhandledExceptionHandler { get; set; }

Property Value

Action<Exception>

Remarks

Exceptions which use this handler are typically rare, such as errors which occur during a "fire-and-forget" Task which cannot be awaited.
By default, exceptions are logged to the console via Write(object).
To handle all .NET exceptions, see: Handle errors in ASP.NET Core.