24 references to GridLength
Microsoft.VisualStudio.LanguageServices.CSharp (4)
SemanticSearch\SemanticSearchToolWindowImpl.cs (4)
130
toolWindowGrid.RowDefinitions.Add(new RowDefinition() { Height = new
GridLength
(ToolBarHeight, GridUnitType.Pixel) });
132
toolWindowGrid.RowDefinitions.Add(new RowDefinition() { Height = new
GridLength
(1, GridUnitType.Star) });
139
toolbarGrid.ColumnDefinitions.Add(new ColumnDefinition() { Width = new
GridLength
(ToolBarHeight, GridUnitType.Pixel) });
140
toolbarGrid.ColumnDefinitions.Add(new ColumnDefinition() { Width = new
GridLength
(ToolBarHeight, GridUnitType.Pixel) });
PresentationFramework (20)
MS\Internal\PtsHost\TableParaClient.cs (1)
2062
_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)
1061
new
GridLength
(1.0, GridUnitType.Star),
System\Windows\Controls\DefinitionBase.cs (1)
835
_userSize = new
GridLength
(1, GridUnitType.Auto);
System\Windows\Controls\GridSplitter.cs (3)
841
SetDefinitionLength(definition, new
GridLength
(definition1Pixels, GridUnitType.Star));
845
SetDefinitionLength(definition, new
GridLength
(definition2Pixels, GridUnitType.Star ));
849
SetDefinitionLength(definition, new
GridLength
(GetActualLength(definition), GridUnitType.Star));
System\Windows\Controls\RowDefinition.cs (1)
1056
new
GridLength
(1.0, GridUnitType.Star),
System\Windows\Controls\ScrollViewer.cs (4)
2693
gridColumn1.SetValue(ColumnDefinition.WidthProperty, new
GridLength
(1.0, GridUnitType.Star));
2694
gridColumn2.SetValue(ColumnDefinition.WidthProperty, new
GridLength
(1.0, GridUnitType.Auto));
2695
gridRow1.SetValue(RowDefinition.HeightProperty, new
GridLength
(1.0, GridUnitType.Star));
2696
gridRow2.SetValue(RowDefinition.HeightProperty, new
GridLength
(1.0, GridUnitType.Auto));
System\Windows\Documents\TableColumn.cs (2)
172
internal static GridLength DefaultWidth { get { return (new
GridLength
(0, GridUnitType.Auto)); } }
233
new
GridLength
(0, GridUnitType.Auto),
System\Windows\GridLength.cs (2)
67
:
this
(pixels, GridUnitType.Pixel)
248
private static readonly GridLength s_auto = new
GridLength
(1.0, GridUnitType.Auto);
System\Windows\GridLengthConverter.cs (2)
134
return new
GridLength
(value, type);
247
return (new
GridLength
(value, unit));
System\Windows\Markup\XamlGridLengthSerializer.cs (1)
167
return new
GridLength
(unitValue, unitType);