I can't access a label defined in the xaml file from the code behind C# code.
I tried the x:name="l"
property but it tells me that "'l' is not defined":
Could anyone help me how to access controls from C# code behind by providing an example?
I can't access a label defined in the xaml file from the code behind C# code.
I tried the x:name="l"
property but it tells me that "'l' is not defined":
Could anyone help me how to access controls from C# code behind by providing an example?
what you're doing is correct, but the XF Intellisense is pretty flaky. Try restarting VS, and do a clean and build to see i that fixes it
© 2022 - 2024 — McMap. All rights reserved.