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
Post a Comment