Tech Tutorials Database
GeekArticles Microsoft Microsoft.NET

Understand Cascading Parameters and Cascading Values in Blazor

Category: Microsoft.NET
Comments (0)

In the previous article we discussed arbitrary parameters and attribute splatting. Now time to understand one more aspect of passing values to a Blazor component from the external world - Cascading Parameters and Cascading Values. In all the examples discussed so far, we explicitly set a parameter value from the parent component. This means if we want to pass a value to, say, ten components, we must set a parameter of all the ten components. In such cases Cascading Parameters and Cascading Values come handy. The remainder of this article discusses how.


Sponsored Links

Read Next: Perform Master Detail CRUD operations in ASP.NET Core (Part 1)