Adding RenderFragment Parameters

Learn how to add Renderfragment parameters in the Dialog component.

We'll cover the following

We will use RenderFragment parameters for both the Title and Body properties of the Dialog component. We do this as follows:

  1. Return to Visual Studio.
  2. Open the Shared\Dialog.razor file.
  3. Update the markup for dialog-title to the following:

Get hands-on with 1200+ tech skills courses.