[Unity] TextBlock vs Label Binding
Posted: 06 Nov 2014, 14:46
Hi,
I have a quick question:
Why does this work:
and this does not? (no error but nothing is displayed)
I have a quick question:
Why does this work:
Code: Select all
<TextBlock Text="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type Grid}}}" />
Code: Select all
<Label Content="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type Grid}}}" />