27 instantiations of GridLength
PresentationFramework (27)
MS\Internal\PtsHost\TableParaClient.cs (1)
2063
_calculatedColumns[i].UserWidth = new
GridLength
(iP, GridUnitType.Star);
System\Windows\Controls\BorderGapMaskConverter.cs (5)
87
colDef1.Width = new
GridLength
(lineWidth);
88
colDef2.Width = new
GridLength
(headerWidth);
89
colDef3.Width = new
GridLength
(1, GridUnitType.Star);
95
rowDef1.Height = new
GridLength
(borderHeight / 2);
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 (5)
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));
852
SetDefinitionLength(_resizeData.Definition1, new
GridLength
(definition1Pixels));
856
SetDefinitionLength(_resizeData.Definition2, new
GridLength
(definition2Pixels));
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\Documents\TextRangeEditTables.cs (1)
1678
table.Columns[columnIndex].Width = new
GridLength
(columnWidths[columnIndex]);
System\Windows\GridLength.cs (1)
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\Baml2006\WpfGeneratedKnownTypes.cs (1)
4908
bamlType.DefaultConstructor = delegate() { return new System.Windows.
GridLength
(); };
System\Windows\Markup\KnownTypes.cs (1)
1305
case KnownElements.GridLength: o = new System.Windows.
GridLength
(); break;
System\Windows\Markup\XamlGridLengthSerializer.cs (1)
168
return new
GridLength
(unitValue, unitType);
47 references to GridLength
Microsoft.VisualStudio.LanguageServices (1)
PreviewPane\PreviewPane.xaml.cs (1)
187
grid.RowDefinitions.Add(new RowDefinition() { Height =
GridLength
.Auto });
PresentationFramework (44)
MS\Internal\PtsTable\CalculatedColumn.cs (2)
83
internal
GridLength
UserWidth
164
private
GridLength
_userWidth; // user specified width for the column
System\Windows\Controls\ColumnDefinition.cs (2)
932
public
GridLength
Width
1014
typeof(
GridLength
),
System\Windows\Controls\DefinitionBase.cs (9)
158
if (((
GridLength
) e.OldValue).GridUnitType != ((
GridLength
) e.NewValue).GridUnitType)
178
return (((
GridLength
)value).Value >= 0);
287
internal
GridLength
UserSize
427
internal
GridLength
UserSizeValueCache
431
return (
GridLength
) GetValue(
825
internal
GridLength
UserSize
843
GridLength
currentGridLength = _registry[i].UserSizeValueCache;
962
private
GridLength
_userSize; // shared state
System\Windows\Controls\GridSplitter.cs (3)
775
private static void SetDefinitionLength(DefinitionBase definition,
GridLength
length)
1013
public
GridLength
OriginalDefinition1Length;
1014
public
GridLength
OriginalDefinition2Length;
System\Windows\Controls\RowDefinition.cs (2)
932
public
GridLength
Height
1014
typeof(
GridLength
),
System\Windows\Documents\TableColumn.cs (6)
60
public
GridLength
Width
62
get { return (
GridLength
) GetValue(WidthProperty); }
173
internal static
GridLength
DefaultWidth { get { return (new GridLength(0, GridUnitType.Auto)); } }
190
GridLength
gridLength = (
GridLength
) value;
231
typeof(
GridLength
),
System\Windows\GridLength.cs (11)
47
public struct GridLength : IEquatable<
GridLength
>
127
public static bool operator == (
GridLength
gl1,
GridLength
gl2)
140
public static bool operator != (
GridLength
gl1,
GridLength
gl2)
154
if(oCompare is
GridLength
)
156
GridLength
l = (
GridLength
)oCompare;
169
public bool Equals(
GridLength
gridLength)
232
public static
GridLength
Auto
250
private static readonly
GridLength
s_auto = new GridLength(1.0, GridUnitType.Auto);
System\Windows\GridLengthConverter.cs (6)
167
&& value is
GridLength
)
169
GridLength
gl = (
GridLength
)value;
178
ConstructorInfo ci = typeof(
GridLength
).GetConstructor(new Type[] { typeof(double), typeof(GridUnitType) });
201
static internal string ToString(
GridLength
gl, CultureInfo cultureInfo)
241
static internal
GridLength
FromString(string s, CultureInfo cultureInfo)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
349
case 255: t = () => typeof(
GridLength
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4906
typeof(System.Windows.
GridLength
),
System\Windows\Markup\KnownTypes.cs (1)
5809
case KnownElements.GridLength: t = typeof(System.Windows.
GridLength
); break;
Roslyn.VisualStudio.DiagnosticsWindow (2)
PerfMargin\PerfMarginPanel.cs (2)
39
_mainGrid.RowDefinitions.Add(new RowDefinition() { Height =
GridLength
.Auto });
40
_mainGrid.RowDefinitions.Add(new RowDefinition() { Height =
GridLength
.Auto });