1 write to RequestedStarWeight
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (1)
178
RequestedStarWeight
= starWeight
12 references to RequestedStarWeight
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (8)
388
if (starLayoutInfo != null && DoubleUtil.GreaterThan(starLayoutInfo.
RequestedStarWeight
, 0))
483
double basePerStar = baseStarInfo.AllocatedStarWidth / baseStarInfo.
RequestedStarWeight
;
487
double targetValue = Math.Min(basePerStar * starInfo.
RequestedStarWeight
, starInfo.RequestedStarMaxWidth);
513
remainingStarWeight += starInfoList[i].
RequestedStarWeight
;
523
currentContribution -= (impactPerStar * starInfo.
RequestedStarWeight
);
524
currentContribution /= starInfo.
RequestedStarWeight
;
532
starInfo.AllocatedStarWidth += (impactPerStar * starInfo.
RequestedStarWeight
);
533
remainingStarWeight -= starInfo.
RequestedStarWeight
;
Microsoft\Windows\Controls\Ribbon\Primitives\StarLayoutInfo.cs (4)
166
return Comparer.Default.Compare(x.AllocatedStarWidth / x.
RequestedStarWeight
,
167
y.AllocatedStarWidth / y.
RequestedStarWeight
);
179
return Comparer.Default.Compare((x.RequestedStarMaxWidth - x.AllocatedStarWidth) / x.
RequestedStarWeight
,
180
(y.RequestedStarMaxWidth - y.AllocatedStarWidth) / y.
RequestedStarWeight
);