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