16 references to UserMaxSize
PresentationFramework (16)
src\Framework\System\Windows\Controls\Grid.cs (16)
1160double userMaxSize = definitions[i].UserMaxSize;
1294DefinitionsU[PrivateCells[i].ColumnIndex].UpdateMinSize(Math.Min(children[i].DesiredSize.Width, DefinitionsU[PrivateCells[i].ColumnIndex].UserMaxSize));
1311DefinitionsV[PrivateCells[i].RowIndex].UpdateMinSize(Math.Min(children[i].DesiredSize.Height, DefinitionsV[PrivateCells[i].RowIndex].UserMaxSize));
1532double maxSize = Math.Max(definitions[i].UserMaxSize, minSize);
1740double maxSize = Math.Max(definitions[i].MinSize, definitions[i].UserMaxSize);
1780resolvedSize = Math.Min(userSize, tempDefinitions[i].UserMaxSize);
1893double effectiveMaxSize = Math.Max(def.MinSize, def.UserMaxSize);
1965resolvedSize = Math.Max(resolvedDef.MinSize, resolvedDef.UserMaxSize);
2086resolvedSize = Math.Min(resolvedSize, def.UserMaxSize);
2180double maxSize = Math.Max(definitions[i].MinSizeForArrange, definitions[i].UserMaxSize);
2218userMaxSize = definitions[i].UserMaxSize;
2268resolvedSize = Math.Min(userSize, definitions[definitionIndices[i]].UserMaxSize);
2471double effectiveMaxSize = Math.Max(def.MinSizeForArrange, def.UserMaxSize);
2507userMaxSize = def.UserMaxSize;
2581resolvedSize = Math.Max(resolvedDef.MinSizeForArrange, resolvedDef.UserMaxSize);
2703resolvedSize = Math.Min(resolvedSize, def.UserMaxSize);