Skip to content

BlazorTrace Component

Bozhidar Zashev edited this page May 29, 2025 · 3 revisions

The component is presenting the trace information for you, when you press the F1 button (by default) or click on the "heart" button on the top right corner of your screen (by default).

In order it to work, you will need to include it in your App.razor or Routes.razor file in the following way:

<Router AppAssembly="@typeof(App).Assembly">
    <Found Context="routeData">
        <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
    </Found>
</Router>
<WvBlazorTrace/> @* <-- INSERT HERE *@

It accepts the following parameters:

parameter type default description
Position WvButtonPosition (enum) WvButtonPosition.RightTop the 'heart button' position on the screen. Hidden is also an option
ButtonColor string (css color) "#be123c" the background color of the 'heart button'

Clone this wiki locally