30 references to UnitType
PresentationFramework (30)
System\Windows\Controls\DataGridColumn.cs (7)
271
column.SetWidthInternal(new DataGridLength(changedWidth.Value, changedWidth.
UnitType
, changedWidth.DesiredValue, displayValue));
397
double newDesiredValue = CoerceDesiredOrDisplayWidthValue(width.Value, width.DesiredValue, width.
UnitType
);
398
double newDisplayValue = CoerceDesiredOrDisplayWidthValue(width.Value, width.DisplayValue, width.
UnitType
);
407
width.
UnitType
,
558
SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, pixelWidth, displayWidth));
563
SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, pixelWidth, width.DisplayValue));
599
SetWidthInternal(new DataGridLength(starValue, width.
UnitType
, desiredWidth, displayWidth));
System\Windows\Controls\DataGridColumnCollection.cs (13)
1190
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, displayValue));
1215
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, minWidth));
1234
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, displayValue));
1258
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, maxWidth));
1276
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, displayValue));
1307
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, minWidth + leftOverSpace));
1360
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, Math.Min(width.DesiredValue, maxWidth)));
1380
width.
UnitType
,
1705
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, width.DisplayValue - columnExcessWidth));
1790
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, width.DisplayValue + columnLagWidth));
1936
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, columnDisplayWidth));
2105
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, width.DisplayValue + perColumnGiveAwayWidth));
2369
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, width.DisplayValue - perColumnTakeAwayWidth));
System\Windows\Controls\DataGridHelper.cs (3)
253
if (oldWidth.
UnitType
!= width.
UnitType
)
272
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, desiredWidth, width.DisplayValue));
System\Windows\Controls\DataGridLength.cs (4)
128
return gl1.
UnitType
== gl2.
UnitType
143
return gl1.
UnitType
!= gl2.
UnitType
System\Windows\Controls\DataGridLengthConverter.cs (3)
143
return new InstanceDescriptor(ci, new object[] { length.Value, length.
UnitType
});
159
switch (length.
UnitType
)
164
return length.
UnitType
.ToString();