20 references to GridLength
PresentationFramework (20)
MS\Internal\PtsHost\TableParaClient.cs (1)
2063_calculatedColumns[i].UserWidth = new GridLength(iP, GridUnitType.Star);
System\Windows\Controls\BorderGapMaskConverter.cs (2)
89colDef3.Width = new GridLength(1, GridUnitType.Star); 96rowDef2.Height = new GridLength(1, GridUnitType.Star);
System\Windows\Controls\ColumnDefinition.cs (1)
1017new GridLength(1.0, GridUnitType.Star),
System\Windows\Controls\DefinitionBase.cs (1)
836_userSize = new GridLength(1, GridUnitType.Auto);
System\Windows\Controls\GridSplitter.cs (3)
836SetDefinitionLength(definition, new GridLength(definition1Pixels, GridUnitType.Star)); 840SetDefinitionLength(definition, new GridLength(definition2Pixels, GridUnitType.Star )); 844SetDefinitionLength(definition, new GridLength(GetActualLength(definition), GridUnitType.Star));
System\Windows\Controls\RowDefinition.cs (1)
1017new GridLength(1.0, GridUnitType.Star),
System\Windows\Controls\ScrollViewer.cs (4)
2697gridColumn1.SetValue(ColumnDefinition.WidthProperty, new GridLength(1.0, GridUnitType.Star)); 2698gridColumn2.SetValue(ColumnDefinition.WidthProperty, new GridLength(1.0, GridUnitType.Auto)); 2699gridRow1.SetValue(RowDefinition.HeightProperty, new GridLength(1.0, GridUnitType.Star)); 2700gridRow2.SetValue(RowDefinition.HeightProperty, new GridLength(1.0, GridUnitType.Auto));
System\Windows\Documents\TableColumn.cs (2)
173internal static GridLength DefaultWidth { get { return (new GridLength(0, GridUnitType.Auto)); } } 234new GridLength(0, GridUnitType.Auto),
System\Windows\GridLength.cs (2)
68: this(pixels, GridUnitType.Pixel) 250private static readonly GridLength s_auto = new GridLength(1.0, GridUnitType.Auto);
System\Windows\GridLengthConverter.cs (2)
135return new GridLength(value, type); 248return (new GridLength(value, unit));
System\Windows\Markup\XamlGridLengthSerializer.cs (1)
168return new GridLength(unitValue, unitType);