【发布时间】:2011-10-06 20:59:07
【问题描述】:
我敢肯定这很简单,但我到底错过了什么?有人能告诉我Text="{Binding Key}" 中的关键字“Key”指的是什么吗?我知道我以前了解过它,但我似乎不记得了。我了解数据绑定的工作原理,只是停留在这个特定问题上。
<DataTemplate x:Key="groupItemHeader">
<Border Background="{StaticResource PhoneAccentBrush}"
Width="432" Height="62"
Margin="6" Padding="12,0,0,6">
<TextBlock Text="{Binding Key}"
Foreground="#FFFFFF" FontSize="26.667"
HorizontalAlignment="Left"
VerticalAlignment="Bottom"
FontFamily="{StaticResource PhoneFontFamilySemiBold}"/>
<Border.Projection>
<PlaneProjection RotationX="-60"/>
</Border.Projection>
</Border>
</DataTemplate>
【问题讨论】:
标签: silverlight binding