Cascading Values and Parameters

Learn how to pass cascading values to a hierarchy of Razor components.

Cascading values in Blazor allow us to set parameters in any eligible element in the component hierarchy and not only in the direct descendant of a particular component. To demonstrate how these work, we have the following project setup. In this project, we are passing cascading values to the hierarchy of Razor components and we are consuming it in a specific component.

Get hands-on with 1200+ tech skills courses.