1 write to RequestedStarWeight
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (1)
175
RequestedStarWeight
= starWeight
12 references to RequestedStarWeight
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (8)
382
if (starLayoutInfo != null && DoubleUtil.GreaterThan(starLayoutInfo.
RequestedStarWeight
, 0))
477
double basePerStar = baseStarInfo.AllocatedStarWidth / baseStarInfo.
RequestedStarWeight
;
481
double targetValue = Math.Min(basePerStar * starInfo.
RequestedStarWeight
, starInfo.RequestedStarMaxWidth);
507
remainingStarWeight += starInfoList[i].
RequestedStarWeight
;
517
currentContribution -= (impactPerStar * starInfo.
RequestedStarWeight
);
518
currentContribution /= starInfo.
RequestedStarWeight
;
526
starInfo.AllocatedStarWidth += (impactPerStar * starInfo.
RequestedStarWeight
);
527
remainingStarWeight -= starInfo.
RequestedStarWeight
;
Microsoft\Windows\Controls\Ribbon\Primitives\StarLayoutInfo.cs (4)
164
return Comparer.Default.Compare(x.AllocatedStarWidth / x.
RequestedStarWeight
,
165
y.AllocatedStarWidth / y.
RequestedStarWeight
);
177
return Comparer.Default.Compare((x.RequestedStarMaxWidth - x.AllocatedStarWidth) / x.
RequestedStarWeight
,
178
(y.RequestedStarMaxWidth - y.AllocatedStarWidth) / y.
RequestedStarWeight
);