2 writes to IdealDesiredWidth
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (2)
49
tabGroupHeader.
IdealDesiredWidth
= 0.0;
57
tabGroupHeader.
IdealDesiredWidth
= tabGroupHeader.DesiredSize.Width;
4 references to IdealDesiredWidth
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (2)
60
double desiredExtraPadding = tabGroupHeader.
IdealDesiredWidth
- tabGroupHeader.TabsDesiredWidth;
82
tabGroupHeader.ShowLabelToolTip = DoubleUtil.GreaterThan(tabGroupHeader.
IdealDesiredWidth
, width);
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);