16 references to Unit
PresentationCore (16)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
514
propertyMetrics.Units = (int)(propertyInfo.
Unit
);
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
1467
unit = MetricEntry.MetricEntry_Optional[dw].PropertyMetrics.
Unit
;
MS\Internal\Ink\InkSerializedFormat\MetricEntry.cs (9)
238
_size += SerializationHelper.Encode(strm, (uint)originalInfo.
Unit
);
246
else if (originalInfo.
Unit
!= defaultInfo.
Unit
)
253
_size += SerializationHelper.Encode(strm, (uint)originalInfo.
Unit
);
324
StylusPointPropertyUnit.None == propertyInfo.
Unit
&&
353
propertyInfo.
Unit
== DefaultPropertyMetrics.
Unit
&&
370
propertyInfo.
Unit
== MetricEntry_Optional[ul].PropertyMetrics.
Unit
&&
System\Windows\Input\Stylus\Common\StylusPointPropertyInfo.cs (1)
34
_unit = info.
Unit
;
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (1)
282
switch (propertyInfo.
Unit
)
System\Windows\Input\Stylus\Pointer\PointerStylusPointPropertyInfoHelper.cs (1)
74
unit = StylusPointPropertyInfoDefaults.GetStylusPointPropertyInfoDefault(stylusProp).
Unit
;
System\Windows\Input\Stylus\Pointer\PointerTouchDevice.cs (1)
104
if (propertyInfo.
Unit
== StylusPointPropertyUnit.Centimeters)
System\Windows\Input\Stylus\Wisp\WispStylusTouchDevice.cs (1)
61
if (propertyInfo.
Unit
== StylusPointPropertyUnit.Centimeters)