31 references to UserSize
PresentationFramework (31)
System\Windows\Controls\Grid.cs (31)
1090switch (definitions[i].UserSize.GridUnitType) 1094userSize = definitions[i].UserSize.Value; 1474if (definitions[i].UserSize.IsAuto) autoDefinitionsCount++; 1499Debug.Assert(tempDefinitions[i].UserSize.IsAuto); 1508Debug.Assert(!tempDefinitions[i].UserSize.IsAuto); 1536Debug.Assert(!tempDefinitions[i].UserSize.IsAuto); 1547Debug.Assert(tempDefinitions[i].UserSize.IsAuto); 1651double starValue = definitions[i].UserSize.Value; 1751if (def.UserSize.Value > maxStar) 1753maxStar = def.UserSize.Value; 2086Debug.Assert(!definitions[i].IsShared || !definitions[i].UserSize.IsStar); 2088if (definitions[i].UserSize.IsStar) 2090double starValue = definitions[i].UserSize.Value; 2121switch (definitions[i].UserSize.GridUnitType) 2124userSize = definitions[i].UserSize.Value; 2326if (def.UserSize.IsStar) 2330if (def.UserSize.Value > maxStar) 2332maxStar = def.UserSize.Value; 2374if (def.UserSize.IsStar) 2407switch (def.UserSize.GridUnitType) 2410userSize = def.UserSize.Value; 2464if (def.UserSize.IsStar && def.MeasureSize > 0.0) 2600if (def.UserSize.IsStar) 3248return (Double.IsPositiveInfinity(def.UserSize.Value)) ? 1.0 : 0.0; 3252return def.UserSize.Value * scale; 3604if (x.UserSize.IsAuto) 3606if (y.UserSize.IsAuto) 3617if (y.UserSize.IsAuto) 3637if (x.UserSize.IsAuto) 3639if (y.UserSize.IsAuto) 3650if (y.UserSize.IsAuto)