Bind Object Field To View

Hello, I'm new to Xamarin and I have a question abount binding.

What I understood is that I can bind a view to a variable.
For example :
cardEntry.BindingContext = card.content; cardEntry.SetBinding(Entry.TextProperty, card.content);

Here when the card.content value is updated, the view is updated automatically.

My question is : is it possible to bind the variable to the view. What I want to do is that the object field is automatically updated when the user change the text in the view (cardEntry).

Best Answer

Answers

Sign In or Register to comment.