18 references to GridLength
PresentationFramework (18)
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (1)
2190_calculatedColumns[i].UserWidth = new GridLength(iP, GridUnitType.Star);
src\Framework\System\Windows\Controls\BorderGapMaskConverter.cs (2)
100colDef3.Width = new GridLength(1, GridUnitType.Star); 107rowDef2.Height = new GridLength(1, GridUnitType.Star);
src\Framework\System\Windows\Controls\DefinitionBase.cs (1)
842_userSize = new GridLength(1, GridUnitType.Auto);
src\Framework\System\Windows\Controls\GridSplitter.cs (3)
844SetDefinitionLength(definition, new GridLength(definition1Pixels, GridUnitType.Star)); 848SetDefinitionLength(definition, new GridLength(definition2Pixels, GridUnitType.Star )); 852SetDefinitionLength(definition, new GridLength(GetActualLength(definition), GridUnitType.Star));
src\Framework\System\Windows\Controls\ScrollViewer.cs (4)
2745gridColumn1.SetValue(ColumnDefinition.WidthProperty, new GridLength(1.0, GridUnitType.Star)); 2746gridColumn2.SetValue(ColumnDefinition.WidthProperty, new GridLength(1.0, GridUnitType.Auto)); 2747gridRow1.SetValue(RowDefinition.HeightProperty, new GridLength(1.0, GridUnitType.Star)); 2748gridRow2.SetValue(RowDefinition.HeightProperty, new GridLength(1.0, GridUnitType.Auto));
src\Framework\System\Windows\Documents\TableColumn.cs (2)
186internal static GridLength DefaultWidth { get { return (new GridLength(0, GridUnitType.Auto)); } } 247new GridLength(0, GridUnitType.Auto),
src\Framework\System\Windows\GridLength.cs (2)
73: this(pixels, GridUnitType.Pixel) 255private static readonly GridLength s_auto = new GridLength(1.0, GridUnitType.Auto);
src\Framework\System\Windows\GridLengthConverter.cs (2)
144return new GridLength(value, type); 265return (new GridLength(value, unit));
src\Framework\System\Windows\Markup\XamlGridLengthSerializer.cs (1)
187return new GridLength(unitValue, unitType);