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