Class MudGlobal
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
A collection of settings that let you control the default behavior or appearance of MudBlazor components.
public static class MudGlobal
- Inheritance
-
MudGlobal
- Inherited Members
Properties
Rounded
Applies regular rounding 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
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.