16 references to Unit
PresentationCore (16)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
533
propertyMetrics.Units = (int)(propertyInfo.
Unit
);
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
1480
unit = MetricEntry.MetricEntry_Optional[dw].PropertyMetrics.
Unit
;
MS\Internal\Ink\InkSerializedFormat\MetricEntry.cs (9)
240
_size += SerializationHelper.Encode(strm, (uint)originalInfo.
Unit
);
248
else if (originalInfo.
Unit
!= defaultInfo.
Unit
)
255
_size += SerializationHelper.Encode(strm, (uint)originalInfo.
Unit
);
326
StylusPointPropertyUnit.None == propertyInfo.
Unit
&&
355
propertyInfo.
Unit
== DefaultPropertyMetrics.
Unit
&&
372
propertyInfo.
Unit
== MetricEntry_Optional[ul].PropertyMetrics.
Unit
&&
System\Windows\Input\Stylus\Common\StylusPointPropertyInfo.cs (1)
43
_unit = info.
Unit
;
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (1)
289
switch (propertyInfo.
Unit
)
System\Windows\Input\Stylus\Pointer\PointerStylusPointPropertyInfoHelper.cs (1)
83
unit = StylusPointPropertyInfoDefaults.GetStylusPointPropertyInfoDefault(stylusProp).
Unit
;
System\Windows\Input\Stylus\Pointer\PointerTouchDevice.cs (1)
108
if (propertyInfo.
Unit
== StylusPointPropertyUnit.Centimeters)
System\Windows\Input\Stylus\Wisp\WispStylusTouchDevice.cs (1)
69
if (propertyInfo.
Unit
== StylusPointPropertyUnit.Centimeters)