3 writes to AllocatedStarWidth
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (3)
385
starLayoutInfo.
AllocatedStarWidth
= starLayoutInfo.RequestedStarMinWidth;
486
starInfo.
AllocatedStarWidth
= targetValue;
527
starInfo.
AllocatedStarWidth
+= (impactPerStar * starInfo.RequestedStarWeight);
11 references to AllocatedStarWidth
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (4)
78
columnWidth = starLayoutInfo.
AllocatedStarWidth
;
100
arrangeWidth = starLayoutInfo.
AllocatedStarWidth
;
284
child.Measure(new Size(starLayoutInfo.
AllocatedStarWidth
, availableSize.Height));
367
desiredWidth += (starLayoutInfo.
AllocatedStarWidth
- starLayoutInfo.RequestedStarMinWidth);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (3)
478
double basePerStar = baseStarInfo.
AllocatedStarWidth
/ baseStarInfo.RequestedStarWeight;
483
spaceNeeded += (targetValue - starInfo.
AllocatedStarWidth
);
517
double currentContribution = starInfo.RequestedStarMaxWidth - starInfo.
AllocatedStarWidth
;
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);