29 references to DefinitionsU
PresentationFramework (29)
System\Windows\Controls\Grid.cs (29)
411ValidateDefinitionsLayout(DefinitionsU, sizeToContentU); 424Debug.Assert(DefinitionsU.Length > 0 && DefinitionsV.Length > 0); 586if (HasStarCellsU) { ResolveStar(DefinitionsU, constraint.Width); } 596if (HasStarCellsU) { ResolveStar(DefinitionsU, constraint.Width); } 624if (HasStarCellsU) { ResolveStar(DefinitionsU, constraint.Width); } 642CalculateDesiredSize(DefinitionsU), 683Debug.Assert(DefinitionsU.Length > 0 && DefinitionsV.Length > 0); 687SetFinalSize(DefinitionsU, arrangeSize.Width, true); 708columnIndex == 0 ? 0.0 : DefinitionsU[columnIndex].FinalOffset, 710GetFinalSizeForRange(DefinitionsU, columnIndex, columnSpan), 781DefinitionBase[] definitions = DefinitionsU; 917cell.ColumnIndex = Math.Min(GetColumn(child), DefinitionsU.Length - 1); 925cell.ColumnSpan = Math.Min(GetColumnSpan(child), DefinitionsU.Length - cell.ColumnIndex); 931Debug.Assert(0 <= cell.ColumnIndex && cell.ColumnIndex < DefinitionsU.Length); 938cell.SizeTypeU = GetLengthTypeForRange(DefinitionsU, cell.ColumnIndex, cell.ColumnSpan); 1136double[] minSizes = isRows ? new double[DefinitionsV.Length] : new double[DefinitionsU.Length]; 1152minSizes[PrivateCells[i].ColumnIndex] = DefinitionsU[PrivateCells[i].ColumnIndex].RawMinSize; 1173DefinitionsU[i].SetMinSize(minSizes[i]); 1230DefinitionsU[PrivateCells[i].ColumnIndex].UpdateMinSize(Math.Min(children[i].DesiredSize.Width, DefinitionsU[PrivateCells[i].ColumnIndex].UserMaxSize)); 1271key.U ? DefinitionsU : DefinitionsV, 1337DefinitionsU, 2878Array.Clear(extData.TempDefinitions, 0, Math.Max(DefinitionsU.Length, DefinitionsV.Length)); 3083int requiredLength = Math.Max(DefinitionsU.Length, DefinitionsV.Length) * 2; 3116int requiredLength = Math.Max(Math.Max(DefinitionsU.Length, DefinitionsV.Length), 1) * 2; 3134int requiredLength = Math.Max(DefinitionsU.Length, DefinitionsV.Length); 4008for (int i = 1; i < grid.DefinitionsU.Length; ++i) 4012grid.DefinitionsU[i].FinalOffset, 0.0, 4013grid.DefinitionsU[i].FinalOffset, boundsSize.Height);