c# - How to programmatically change binding when datacontext changes -


i have custom control allows consumer send in markup parsed inlines, , try match given command name appropriate icommand. have working except in case datacontext not set yet. know storing markup , reloading upon datacontextchanged not appropriate, cannot seem find works yet. have tried bindingexpression , binding no avail not see way attach them hyperlink

i know storing markup , reloading upon datacontextchanged not appropriate

if you're going building binding icommand instances within datacontext, option make sense.

otherwise, you'd never able correct binding when data context changed.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -