Search⌘ K
AI Features

Introduction to Templated Components

Explore how to build a flexible Blazor modal dialog component by understanding RenderFragment and EventCallback parameters. Learn to apply CSS isolation for component-specific styling and package your component into a reusable Razor class library.

We'll cover the following...

Overview

A modal dialog is a dialog that appears on top of all other content in a window and requires user interaction to close it. Templated components are components that accept one or more UI templates as parameters. The UI templates can contain any Razor markup. ...