level 13
ihc308
楼主
似乎vs2015版本更新后,用ItemSource绑定到ListBox、ListView之类的控件的List<double>之类的集合在Listview中的显示自动加上了截断效果,只显示6位有效数字,请问这个有什么办法设置回来么?之前都不是这样的啊……
拿我写的计算器小程序举例

比如我这就是把一个ObservableCollection<double>用ItemSource属性绑定到ListBox,没用ItemTemplate等东西去改动它
<ListBox Name="SList" Margin="16,12,140,24" ItemsSource="{x:Bind StasticList,Mode=OneWay}" Background="#FFF2F2F2" ItemContainerStyle="{StaticResource StatStyle}"/>
2016年10月01日 23点10分
1
拿我写的计算器小程序举例

比如我这就是把一个ObservableCollection<double>用ItemSource属性绑定到ListBox,没用ItemTemplate等东西去改动它<ListBox Name="SList" Margin="16,12,140,24" ItemsSource="{x:Bind StasticList,Mode=OneWay}" Background="#FFF2F2F2" ItemContainerStyle="{StaticResource StatStyle}"/>