30 references to UnitType
PresentationFramework (30)
System\Windows\Controls\DataGridColumn.cs (7)
270
column.SetWidthInternal(new DataGridLength(changedWidth.Value, changedWidth.
UnitType
, changedWidth.DesiredValue, displayValue));
396
double newDesiredValue = CoerceDesiredOrDisplayWidthValue(width.Value, width.DesiredValue, width.
UnitType
);
397
double newDisplayValue = CoerceDesiredOrDisplayWidthValue(width.Value, width.DisplayValue, width.
UnitType
);
406
width.
UnitType
,
557
SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, pixelWidth, displayWidth));
562
SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, pixelWidth, width.DisplayValue));
598
SetWidthInternal(new DataGridLength(starValue, width.
UnitType
, desiredWidth, displayWidth));
System\Windows\Controls\DataGridColumnCollection.cs (13)
1189
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, displayValue));
1214
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, minWidth));
1233
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, displayValue));
1257
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, maxWidth));
1275
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, displayValue));
1306
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, minWidth + leftOverSpace));
1359
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, Math.Min(width.DesiredValue, maxWidth)));
1379
width.
UnitType
,
1704
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, width.DisplayValue - columnExcessWidth));
1789
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, width.DisplayValue + columnLagWidth));
1935
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, columnDisplayWidth));
2104
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, width.DisplayValue + perColumnGiveAwayWidth));
2368
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, width.DisplayValue - perColumnTakeAwayWidth));
System\Windows\Controls\DataGridHelper.cs (3)
252
if (oldWidth.
UnitType
!= width.
UnitType
)
271
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, desiredWidth, width.DisplayValue));
System\Windows\Controls\DataGridLength.cs (4)
127
return gl1.
UnitType
== gl2.
UnitType
142
return gl1.
UnitType
!= gl2.
UnitType
System\Windows\Controls\DataGridLengthConverter.cs (3)
142
return new InstanceDescriptor(ci, new object[] { length.Value, length.
UnitType
});
158
switch (length.
UnitType
)
163
return length.
UnitType
.ToString();