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