Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to get binding property in ViewCell

$
0
0

I know in ViewCell you can bind value to a View's property like:

var lbl1 = new Label();

lbl1.setBinding(Label.TextProperty, "value_from_binding_setup_in_listvew");

But is there a way to get the string value from "value_from_binding_setup_in_listvew"
in code I want something like this:
string str = BindingContext.getBindingValue("value_from_binding_setup_in_listvew");


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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