27 instantiations of GridLength
PresentationFramework (27)
MS\Internal\PtsHost\TableParaClient.cs (1)
2069
_calculatedColumns[i].UserWidth = new
GridLength
(iP, GridUnitType.Star);
System\Windows\Controls\BorderGapMaskConverter.cs (5)
88
colDef1.Width = new
GridLength
(lineWidth);
89
colDef2.Width = new
GridLength
(headerWidth);
90
colDef3.Width = new
GridLength
(1, GridUnitType.Star);
96
rowDef1.Height = new
GridLength
(borderHeight / 2);
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 (5)
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));
858
SetDefinitionLength(_resizeData.Definition1, new
GridLength
(definition1Pixels));
862
SetDefinitionLength(_resizeData.Definition2, new
GridLength
(definition2Pixels));
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\Documents\TextRangeEditTables.cs (1)
1680
table.Columns[columnIndex].Width = new
GridLength
(columnWidths[columnIndex]);
System\Windows\GridLength.cs (1)
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\Baml2006\WpfGeneratedKnownTypes.cs (1)
4910
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)
178
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)
88
internal
GridLength
UserWidth
169
private
GridLength
_userWidth; // user specified width for the column
System\Windows\Controls\ColumnDefinition.cs (2)
942
public
GridLength
Width
1024
typeof(
GridLength
),
System\Windows\Controls\DefinitionBase.cs (9)
165
if (((
GridLength
) e.OldValue).GridUnitType != ((
GridLength
) e.NewValue).GridUnitType)
185
return (((
GridLength
)value).Value >= 0);
294
internal
GridLength
UserSize
434
internal
GridLength
UserSizeValueCache
438
return (
GridLength
) GetValue(
832
internal
GridLength
UserSize
850
GridLength
currentGridLength = _registry[i].UserSizeValueCache;
969
private
GridLength
_userSize; // shared state
System\Windows\Controls\GridSplitter.cs (3)
781
private static void SetDefinitionLength(DefinitionBase definition,
GridLength
length)
1019
public
GridLength
OriginalDefinition1Length;
1020
public
GridLength
OriginalDefinition2Length;
System\Windows\Controls\RowDefinition.cs (2)
942
public
GridLength
Height
1024
typeof(
GridLength
),
System\Windows\Documents\TableColumn.cs (6)
68
public
GridLength
Width
70
get { return (
GridLength
) GetValue(WidthProperty); }
181
internal static
GridLength
DefaultWidth { get { return (new GridLength(0, GridUnitType.Auto)); } }
198
GridLength
gridLength = (
GridLength
) value;
239
typeof(
GridLength
),
System\Windows\GridLength.cs (11)
48
public struct GridLength : IEquatable<
GridLength
>
128
public static bool operator == (
GridLength
gl1,
GridLength
gl2)
141
public static bool operator != (
GridLength
gl1,
GridLength
gl2)
155
if(oCompare is
GridLength
)
157
GridLength
l = (
GridLength
)oCompare;
170
public bool Equals(
GridLength
gridLength)
233
public static
GridLength
Auto
251
private static readonly
GridLength
s_auto = new GridLength(1.0, GridUnitType.Auto);
System\Windows\GridLengthConverter.cs (6)
172
&& value is
GridLength
)
174
GridLength
gl = (
GridLength
)value;
183
ConstructorInfo ci = typeof(
GridLength
).GetConstructor(new Type[] { typeof(double), typeof(GridUnitType) });
206
static internal string ToString(
GridLength
gl, CultureInfo cultureInfo)
246
static internal
GridLength
FromString(string s, CultureInfo cultureInfo)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
351
case 255: t = () => typeof(
GridLength
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4908
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 });