c# - Binding to another element? -


i can't work, have textblock want bind 'text' property window's title. tried this:

<textblock text="{binding path=window.title}" ... /> 

you're using wrong syntax binding. first add name window, let "window1". following:

<textblock text"{binding elementname=window1, path=title}" ... /> 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -