﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - Bind a CommandProperty to a Button that is added on ViewDidLoad</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Bind-a-CommandProperty-to-a-Button-that-is-added-on-ViewDidLoad/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Bind a CommandProperty to a Button that is added on ViewDidLoad</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Bind-a-CommandProperty-to-a-Button-that-is-added-on-ViewDidLoad/</link><pubDate>Tue, 25 Nov 2014 13:31:12 GMT</pubDate><dc:creator>pedro1412</dc:creator><description>&lt;p&gt;The answer to this is:&lt;/p&gt;&lt;p&gt;override InitializeViews on your view controller, add the views there and then call RegisterViewIdentifier and all should work, provided you created the bindings in the binding provider.&lt;/p&gt;</description></item><item><title>Bind a CommandProperty to a Button that is added on ViewDidLoad</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Bind-a-CommandProperty-to-a-Button-that-is-added-on-ViewDidLoad/</link><pubDate>Thu, 20 Nov 2014 23:17:21 GMT</pubDate><dc:creator>pedro1412</dc:creator><description>&lt;p&gt;Hi there.&lt;/p&gt;&lt;p&gt;I'm adding a new UIButton on ViewDidLoad and I want to bind it to a&amp;nbsp;&lt;span style="font-size: 10pt;"&gt;DelegateCommand&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;&amp;nbsp;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.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;So how can I achieve this?&lt;/p&gt;&lt;p&gt;Thank you&lt;/p&gt;</description></item></channel></rss>