title: Make the ProgressRing in MahApps.Metro Smaller
body: <p>It looks like the MahApps.Metro ProgressRing control defaults to a Minimum size of 60x60.</p>
  
  <p>There is a property for the ProgressRing called "IsLarge", but even when it is set to "False" it seems to have no effect on being able to make to ProgressRing smaller than 60x60.</p>
  
  <p>Obiviously changing the Height and Width properties do not affect this either.</p>
  
  <p>Looking on GitHUb as the actual c# code for the ProgressRing, it looks like there are several properties to affect ellipse diameter, etc, but these properties are private properties, and can not be set from outside calls.</p>
  
  <p>How can I make this smaller? Say 20x20 or 30x30?</p>
  
  <p><strong>In the below code I specify IsLarge=False, and set the size to 30x30, but it still defaults to 60x60.</strong></p>
  
  <pre><code>&lt;Window x:Class="WpfApplication3.MainWindow"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
          Title="MainWindow" Height="350" Width="525"&gt;
      &lt;Window.Resources&gt;
          &lt;ResourceDictionary&gt;
              &lt;ResourceDictionary.MergedDictionaries&gt;
                  &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml" /&gt;
                  &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" /&gt;
                  &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" /&gt;
                  &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Orange.xaml" /&gt;
                  &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" /&gt;
              &lt;/ResourceDictionary.MergedDictionaries&gt;
          &lt;/ResourceDictionary&gt;
      &lt;/Window.Resources&gt;
           &lt;Grid&gt;
              &lt;Controls:ProgressRing IsActive="True" IsLarge="False" Height="30" Width="30"&gt;&lt;/Controls:ProgressRing&gt;
          &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p><strong>Below are snippets of code from the "ProgressRing.cs" file found on <a href="https://github.com/MahApps/MahApps.Metro/blob/master/MahApps.Metro/Controls/ProgressRing.cs">GitHub - MahApps.Metro</a></strong></p>
  
  <pre><code>namespace MahApps.Metro.Controls
  {
      [TemplateVisualState(Name = "Large", GroupName = "SizeStates")]
      [TemplateVisualState(Name = "Small", GroupName = "SizeStates")]
      [TemplateVisualState(Name = "Inactive", GroupName = "ActiveStates")]
      [TemplateVisualState(Name = "Active", GroupName = "ActiveStates")]
      public class ProgressRing : Control
  
  
          private void SetMaxSideLength(double width)
          {
              MaxSideLength = width &lt;= 60 ? 60.0 : width;
          }
  
          private void SetEllipseDiameter(double width)
          {
              if (width &lt;= 60)
              {
                  EllipseDiameter = 6.0;
              }
              else
              {
                  EllipseDiameter = width * 0.1 + 6;
              }
          }
  
          private void UpdateLargeState()
          {
              Action action;
  
              if (IsLarge)
                  action = () =&gt; VisualStateManager.GoToState(this, "Large", true);
              else
                  action = () =&gt; VisualStateManager.GoToState(this, "Small", true);
  
              if (_deferredActions != null)
                  _deferredActions.Add(action);
  
              else
                  action();
          }
  </code></pre>
  
  <p><strong>EDIT:MainWindow.xaml</strong></p>
  
  <pre><code>&lt;Grid&gt;
      &lt;Controls:ProgressRing x:Name="PRing" IsLarge="False" MinHeight="15" MinWidth="15" Height="15" Width="15"&gt;&lt;/Controls:ProgressRing&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p><strong>EDIT:MainWindow.xaml.cs</strong></p>
  
  <pre><code>    public partial class MainWindow : Window
      {
          public MainWindow()
          {
              InitializeComponent();
              PRing.EllipseDiameter = 5;
          }
      }
  </code></pre>