20 references to GridLength
PresentationFramework (20)
MS\Internal\PtsHost\TableParaClient.cs (1)
2069
_calculatedColumns[i].UserWidth = new
GridLength
(iP, GridUnitType.Star);
System\Windows\Controls\BorderGapMaskConverter.cs (2)
90
colDef3.Width = new
GridLength
(1, GridUnitType.Star);
97
rowDef2.Height = new
GridLength
(1, GridUnitType.Star);
System\Windows\Controls\ColumnDefinition.cs (1)
1027
new
GridLength
(1.0, GridUnitType.Star),
System\Windows\Controls\DefinitionBase.cs (1)
843
_userSize = new
GridLength
(1, GridUnitType.Auto);
System\Windows\Controls\GridSplitter.cs (3)
842
SetDefinitionLength(definition, new
GridLength
(definition1Pixels, GridUnitType.Star));
846
SetDefinitionLength(definition, new
GridLength
(definition2Pixels, GridUnitType.Star ));
850
SetDefinitionLength(definition, new
GridLength
(GetActualLength(definition), GridUnitType.Star));
System\Windows\Controls\RowDefinition.cs (1)
1027
new
GridLength
(1.0, GridUnitType.Star),
System\Windows\Controls\ScrollViewer.cs (4)
2705
gridColumn1.SetValue(ColumnDefinition.WidthProperty, new
GridLength
(1.0, GridUnitType.Star));
2706
gridColumn2.SetValue(ColumnDefinition.WidthProperty, new
GridLength
(1.0, GridUnitType.Auto));
2707
gridRow1.SetValue(RowDefinition.HeightProperty, new
GridLength
(1.0, GridUnitType.Star));
2708
gridRow2.SetValue(RowDefinition.HeightProperty, new
GridLength
(1.0, GridUnitType.Auto));
System\Windows\Documents\TableColumn.cs (2)
181
internal static GridLength DefaultWidth { get { return (new
GridLength
(0, GridUnitType.Auto)); } }
242
new
GridLength
(0, GridUnitType.Auto),
System\Windows\GridLength.cs (2)
69
:
this
(pixels, GridUnitType.Pixel)
251
private static readonly GridLength s_auto = new
GridLength
(1.0, GridUnitType.Auto);
System\Windows\GridLengthConverter.cs (2)
140
return new
GridLength
(value, type);
253
return (new
GridLength
(value, unit));
System\Windows\Markup\XamlGridLengthSerializer.cs (1)
178
return new
GridLength
(unitValue, unitType);