Bind a CommandProperty to a Button that is added on ViewDidLoad

1 reply. Last post: November 25, 2014 1:31 PM by Pedro Lima
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Pedro LimaMember

Hi there.

I'm adding a new UIButton on ViewDidLoad and I want to bind it to a DelegateCommand on my ViewModel. I tried on the binding provider creating a binding to a public property on my ViewController, but at the time the binding provider is created this button is still null, so I believe the binding does not occur. 

So how can I achieve this?

Thank you

All times are GMT -5. The time now is 9:48 PM.
Previous Next