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)
89
colDef3.Width = new
GridLength
(1, GridUnitType.Star);
96
rowDef2.Height = new
GridLength
(1, GridUnitType.Star);
System\Windows\Controls\ColumnDefinition.cs (1)
1017
new
GridLength
(1.0, GridUnitType.Star),
System\Windows\Controls\DefinitionBase.cs (1)
836
_userSize = new
GridLength
(1, GridUnitType.Auto);
System\Windows\Controls\GridSplitter.cs (3)
836
SetDefinitionLength(definition, new
GridLength
(definition1Pixels, GridUnitType.Star));
840
SetDefinitionLength(definition, new
GridLength
(definition2Pixels, GridUnitType.Star ));
844
SetDefinitionLength(definition, new
GridLength
(GetActualLength(definition), GridUnitType.Star));
System\Windows\Controls\RowDefinition.cs (1)
1017
new
GridLength
(1.0, GridUnitType.Star),
System\Windows\Controls\ScrollViewer.cs (4)
2697
gridColumn1.SetValue(ColumnDefinition.WidthProperty, new
GridLength
(1.0, GridUnitType.Star));
2698
gridColumn2.SetValue(ColumnDefinition.WidthProperty, new
GridLength
(1.0, GridUnitType.Auto));
2699
gridRow1.SetValue(RowDefinition.HeightProperty, new
GridLength
(1.0, GridUnitType.Star));
2700
gridRow2.SetValue(RowDefinition.HeightProperty, new
GridLength
(1.0, GridUnitType.Auto));
System\Windows\Documents\TableColumn.cs (2)
173
internal static GridLength DefaultWidth { get { return (new
GridLength
(0, GridUnitType.Auto)); } }
234
new
GridLength
(0, GridUnitType.Auto),
System\Windows\GridLength.cs (2)
68
:
this
(pixels, GridUnitType.Pixel)
250
private static readonly GridLength s_auto = new
GridLength
(1.0, GridUnitType.Auto);
System\Windows\GridLengthConverter.cs (2)
135
return new
GridLength
(value, type);
248
return (new
GridLength
(value, unit));
System\Windows\Markup\XamlGridLengthSerializer.cs (1)
168
return new
GridLength
(unitValue, unitType);