xaml - Order of bindings in Windows Phone 8 -
i facing issue regarding data binding , binding in converter while developing windows phone 8 app.
i trying send button converter can access of properties using following code
<button content="{binding ownboard, mode=oneway}" grid.row="0" background="{binding relativesource={relativesource mode=self}, converter={staticresource boardtobackconv}}" /> when hit break point in converter have button binding object, content property of control null. i need access object stored in content property.
as far know, because of order of bindings, content property should contain value.
any idea how make work?
i have managed understand why want not going work. keeping short, converter executed during initializecomponent() call, , @ time other binding not done, because there not datacontext view yet.
Comments
Post a Comment