30 references to UnitType
PresentationFramework (30)
System\Windows\Controls\DataGridColumn.cs (7)
274
column.SetWidthInternal(new DataGridLength(changedWidth.Value, changedWidth.
UnitType
, changedWidth.DesiredValue, displayValue));
400
double newDesiredValue = CoerceDesiredOrDisplayWidthValue(width.Value, width.DesiredValue, width.
UnitType
);
401
double newDisplayValue = CoerceDesiredOrDisplayWidthValue(width.Value, width.DisplayValue, width.
UnitType
);
410
width.
UnitType
,
561
SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, pixelWidth, displayWidth));
566
SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, pixelWidth, width.DisplayValue));
602
SetWidthInternal(new DataGridLength(starValue, width.
UnitType
, desiredWidth, displayWidth));
System\Windows\Controls\DataGridColumnCollection.cs (13)
1197
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, displayValue));
1222
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, minWidth));
1241
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, displayValue));
1265
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, maxWidth));
1283
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, displayValue));
1314
changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, minWidth + leftOverSpace));
1367
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, Math.Min(width.DesiredValue, maxWidth)));
1387
width.
UnitType
,
1712
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, width.DisplayValue - columnExcessWidth));
1797
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, width.DisplayValue + columnLagWidth));
1943
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, columnDisplayWidth));
2112
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, width.DisplayValue + perColumnGiveAwayWidth));
2376
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, width.DesiredValue, width.DisplayValue - perColumnTakeAwayWidth));
System\Windows\Controls\DataGridHelper.cs (3)
259
if (oldWidth.
UnitType
!= width.
UnitType
)
278
column.SetWidthInternal(new DataGridLength(width.Value, width.
UnitType
, desiredWidth, width.DisplayValue));
System\Windows\Controls\DataGridLength.cs (4)
131
return gl1.
UnitType
== gl2.
UnitType
146
return gl1.
UnitType
!= gl2.
UnitType
System\Windows\Controls\DataGridLengthConverter.cs (3)
147
return new InstanceDescriptor(ci, new object[] { length.Value, length.
UnitType
});
163
switch (length.
UnitType
)
168
return length.
UnitType
.ToString();