If you don't mind a few Overrides :)
I've heavily modified most of the common controls to get the look I'm after with a little XAML as possible. Here's a cut and paste from a earlier progress bar I was using to meet what you want to do.
XAML Namespace
<phone:PhoneApplicationPage
xmlns:MyControl="clr-namespace:MyOverrideConrols"
>
C# Progress Bar Override
namespace MyOverrideConrols
{
public class MyProgressBar : ProgressBar
{
public MyProgressBar()
: base()
{
this.NewDotSize = 20;
}
public MyProgressBar(int dot_size = 20)
: base()
{
this.NewDotSize = (dot_size <= 0) ? 1 : dot_size;
}
public int NewDotSize{ get; set; }
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
Rectangle slider_0 = (Rectangle)this.GetTemplateChild("Slider0"); ResizeRectangle(ref slider_0, NewDotSize);
Rectangle slider_1 = (Rectangle)this.GetTemplateChild("Slider1"); ResizeRectangle(ref slider_1, NewDotSize);
Rectangle slider_2 = (Rectangle)this.GetTemplateChild("Slider2"); ResizeRectangle(ref slider_2, NewDotSize);
Rectangle slider_3 = (Rectangle)this.GetTemplateChild("Slider3"); ResizeRectangle(ref slider_3, NewDotSize);
Rectangle slider_4 = (Rectangle)this.GetTemplateChild("Slider4"); ResizeRectangle(ref slider_4, NewDotSize);
Rectangle slider_5 = (Rectangle)this.GetTemplateChild("Slider5"); ResizeRectangle(ref slider_5, NewDotSize);
}
private void ResizeRectangle(ref Rectangle rect, int new_size)
{
if (rect == null)
return;
rect.Width = new_size;
rect.Height = new_size;
}
}
}
How To Use
<MyControl:MyProgressBar IsIndeterminate="True" Height="25" NewDotSize="20"></MyControl:MyProgressBar>
Progress Bar In Action
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…