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