win phone 8 本来想使用进度条
<toolkit:PerformanceProgressBar x:Name="performanceProgressBar" Foreground="Blue" Background="Black" IsIndeterminate="True" VerticalAlignment="Center" Height="160" Margin="0,190,0,215"/>
却报:对 COM 组件的调用返回了错误 HRESULT E_FAIL。
查询各种baidu、google无果,都无法解决,蛋疼。
解铃还须系铃人呐,咱用的微软的东西,还是找微软吧,跑到微软的msdn上一搜,哇塞,老外就是研究的透彻呀,原来是win phone8使用ProgressBar不存在性能问题,可以继续使用,至于toolkt:PerformanceProgressBar也可能是不支持,小伙伴们自己可以查查看,需要换成下面的使用吧。
<ProgressBar x:Name="performanceProgressBar" Foreground="Blue" Background="Black" IsIndeterminate="True" VerticalAlignment="Center" Height="160" Margin="0,190,0,215"/>