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