Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to check if Parameter is binded in C# blazor?

$
0
0

I've written a component which has 30 or so parameters and would like to automatically setup this component when values are binded.

This works fine when a value is set, however some of the values are nullable and can be null. When given a value of 'null' the component cannot check if it's set, so I'm wondering:

Is it possible to check in the component if a variable is binded? If so, how?

if(DemoValue.isBinded) {}

Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>