2 writes to DesiredExtraPaddingPerTab
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (2)
606tabGroup.DesiredExtraPaddingPerTab = 0.0; 625tabGroup.DesiredExtraPaddingPerTab = (tabGroup.IdealDesiredWidth - tabGroup.TabsDesiredWidth) / (previousTabCount + 1);
6 references to DesiredExtraPaddingPerTab
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (6)
123if (ctg != null && DoubleUtil.GreaterThan(ctg.DesiredExtraPaddingPerTab, 0.0)) 125double desiredExtraPaddingPerTab = ctg.DesiredExtraPaddingPerTab; 556if (tabGroup != null && DoubleUtil.GreaterThan(tabGroup.DesiredExtraPaddingPerTab, 0.0)) 559double desiredPaddingPerTabHeader = tabGroup.DesiredExtraPaddingPerTab; 619if (!DoubleUtil.IsZero(tabGroup.DesiredExtraPaddingPerTab)) 621previousTabCount = (tabGroup.IdealDesiredWidth - tabGroup.TabsDesiredWidth) / tabGroup.DesiredExtraPaddingPerTab;