标签:
Binding binding = new Binding(); binding.Path = new PropertyPath("State"); listViewState.DisplayMemberBinding = binding;
动态绑定列
<GridViewColumn x:Name="listViewState" Header="{DynamicResource state}" Width="80" />
可根据情况切换
标签:
原文地址:http://www.cnblogs.com/duan425/p/5659207.html