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