1 write to RequestedStarWeight
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (1)
176
RequestedStarWeight
= starWeight
12 references to RequestedStarWeight
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (8)
383
if (starLayoutInfo != null && DoubleUtil.GreaterThan(starLayoutInfo.
RequestedStarWeight
, 0))
478
double basePerStar = baseStarInfo.AllocatedStarWidth / baseStarInfo.
RequestedStarWeight
;
482
double targetValue = Math.Min(basePerStar * starInfo.
RequestedStarWeight
, starInfo.RequestedStarMaxWidth);
508
remainingStarWeight += starInfoList[i].
RequestedStarWeight
;
518
currentContribution -= (impactPerStar * starInfo.
RequestedStarWeight
);
519
currentContribution /= starInfo.
RequestedStarWeight
;
527
starInfo.AllocatedStarWidth += (impactPerStar * starInfo.
RequestedStarWeight
);
528
remainingStarWeight -= starInfo.
RequestedStarWeight
;
Microsoft\Windows\Controls\Ribbon\Primitives\StarLayoutInfo.cs (4)
165
return Comparer.Default.Compare(x.AllocatedStarWidth / x.
RequestedStarWeight
,
166
y.AllocatedStarWidth / y.
RequestedStarWeight
);
178
return Comparer.Default.Compare((x.RequestedStarMaxWidth - x.AllocatedStarWidth) / x.
RequestedStarWeight
,
179
(y.RequestedStarMaxWidth - y.AllocatedStarWidth) / y.
RequestedStarWeight
);