title: WPF Ribbon 4.0 - Size definition at control level
body: <p>I have defined something like this</p>
  
  <pre><code>&lt;ribbon:RibbonGroup Header="Size at Control Level"&gt;
                      &lt;ribbon:RibbonControlGroup&gt;
                          &lt;ribbon:RibbonButton SmallImageSource="Images\wizard-icon16.png" LargeImageSource="Images\wizard-icon32.png" Label="Button 1"&gt;
                              &lt;ribbon:RibbonButton.ControlSizeDefinition&gt;
                                  &lt;ribbon:RibbonControlSizeDefinition ImageSize="Large" IsLabelVisible="True"&gt;&lt;/ribbon:RibbonControlSizeDefinition&gt;
                              &lt;/ribbon:RibbonButton.ControlSizeDefinition&gt;
                          &lt;/ribbon:RibbonButton&gt;
                          &lt;ribbon:RibbonButton SmallImageSource="Images\wizard-icon16.png" LargeImageSource="Images\wizard-icon32.png" Label="Button 2"&gt;
                              &lt;ribbon:RibbonButton.ControlSizeDefinition&gt;
                                  &lt;ribbon:RibbonControlSizeDefinition ImageSize="Small" IsLabelVisible="True"&gt;&lt;/ribbon:RibbonControlSizeDefinition&gt;
                              &lt;/ribbon:RibbonButton.ControlSizeDefinition&gt;
                          &lt;/ribbon:RibbonButton&gt;
                          &lt;ribbon:RibbonButton SmallImageSource="Images\wizard-icon16.png" LargeImageSource="Images\wizard-icon32.png" Label="Button 3"&gt;&lt;/ribbon:RibbonButton&gt;
                          &lt;ribbon:RibbonButton SmallImageSource="Images\wizard-icon16.png" LargeImageSource="Images\wizard-icon32.png" Label="Button 4"&gt;&lt;/ribbon:RibbonButton&gt;
                      &lt;/ribbon:RibbonControlGroup&gt;
                  &lt;/ribbon:RibbonGroup&gt;
  </code></pre>
  
  <p>But all the buttons are large. Even if I set a ControlSizeDefinition property with Small for all the controls, they still are large. What am I doing wrong?</p>
  
  <p>Thanks!</p>