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)
100
colDef3.Width = new
GridLength
(1, GridUnitType.Star);
107
rowDef2.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)
844
SetDefinitionLength(definition, new
GridLength
(definition1Pixels, GridUnitType.Star));
848
SetDefinitionLength(definition, new
GridLength
(definition2Pixels, GridUnitType.Star ));
852
SetDefinitionLength(definition, new
GridLength
(GetActualLength(definition), GridUnitType.Star));
src\Framework\System\Windows\Controls\ScrollViewer.cs (4)
2745
gridColumn1.SetValue(ColumnDefinition.WidthProperty, new
GridLength
(1.0, GridUnitType.Star));
2746
gridColumn2.SetValue(ColumnDefinition.WidthProperty, new
GridLength
(1.0, GridUnitType.Auto));
2747
gridRow1.SetValue(RowDefinition.HeightProperty, new
GridLength
(1.0, GridUnitType.Star));
2748
gridRow2.SetValue(RowDefinition.HeightProperty, new
GridLength
(1.0, GridUnitType.Auto));
src\Framework\System\Windows\Documents\TableColumn.cs (2)
186
internal static GridLength DefaultWidth { get { return (new
GridLength
(0, GridUnitType.Auto)); } }
247
new
GridLength
(0, GridUnitType.Auto),
src\Framework\System\Windows\GridLength.cs (2)
73
:
this
(pixels, GridUnitType.Pixel)
255
private static readonly GridLength s_auto = new
GridLength
(1.0, GridUnitType.Auto);
src\Framework\System\Windows\GridLengthConverter.cs (2)
144
return new
GridLength
(value, type);
265
return (new
GridLength
(value, unit));
src\Framework\System\Windows\Markup\XamlGridLengthSerializer.cs (1)
187
return new
GridLength
(unitValue, unitType);