C# 更改进度点指示器的颜色Windows Phone Silverlight 8.1
是否可以为Windows Phone 8.1 Silverlight应用程序更改C# 更改进度点指示器的颜色Windows Phone Silverlight 8.1,c#,silverlight,windows-phone-8.1,foreground,progress-indicator,C#,Silverlight,Windows Phone 8.1,Foreground,Progress Indicator,是否可以为Windows Phone 8.1 Silverlight应用程序更改ProgressIndicator中点的颜色?我已经将我的ProgressIndicator的Foreground设置为白色,它是白色的,但点仍然保持蓝色 我注意到Facebook的进度指示器中有白点,所以有可能吗?您可以通过设置以下资源来更改不确定进度条的前景色: <x:String x:Key="ProgressBarIndeterminateForegroundThemeBrush">#EF920
ProgressIndicator
中点的颜色?我已经将我的ProgressIndicator
的Foreground
设置为白色,它是白色的,但点仍然保持蓝色
我注意到Facebook的
进度指示器中有白点,所以有可能吗?您可以通过设置以下资源来更改不确定进度条的前景色:
<x:String x:Key="ProgressBarIndeterminateForegroundThemeBrush">#EF9200</x:String>
必须在应用程序ResourceDictionnary中定义“ProgressBarIndeeterminateForGroundTheMebrush”资源。如果您没有,请将其添加到app.xaml文件中如何添加ResourceDictionnary,您有什么好的示例吗@在应用程序的app.xaml文件的顶部,只需添加以下内容
StatusBarProgressIndicator progressbar = StatusBar.GetForCurrentView().ProgressIndicator;
progressbar.ShowAsync();