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

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -