2 writes to TabsDesiredWidth
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (2)
602
tabGroup.
TabsDesiredWidth
= 0.0;
620
tabGroup.
TabsDesiredWidth
+= tabHeader.DesiredSize.Width;
8 references to TabsDesiredWidth
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (6)
60
double desiredExtraPadding = tabGroupHeader.IdealDesiredWidth - tabGroupHeader.
TabsDesiredWidth
;
67
width = tabGroupHeader.
TabsDesiredWidth
;
72
if (Math.Abs(tabGroupHeader.
TabsDesiredWidth
- remainingSpace) > _desiredWidthEpsilon)
75
width = Math.Min(tabGroupHeader.
TabsDesiredWidth
, remainingSpace);
152
drawingContext.DrawLine(separatorPen, new Point(startX + tabGroupHeader.
TabsDesiredWidth
, ActualHeight), new Point(startX + tabGroupHeader.
TabsDesiredWidth
, this.ActualHeight + separatorHeight));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (2)
618
previousTabCount = (tabGroup.IdealDesiredWidth - tabGroup.
TabsDesiredWidth
) / tabGroup.DesiredExtraPaddingPerTab;
622
tabGroup.DesiredExtraPaddingPerTab = (tabGroup.IdealDesiredWidth - tabGroup.
TabsDesiredWidth
) / (previousTabCount + 1);