示例#1
0
 protected override void PointerPositionCore(PointerEventInfo info, ILevelGeometry viewport)
 {
     if (_snapManager == null)
         _snapManager = new SnappingManager(GetSnappingSourceOrigin(), GetSnappingSourceBounds(), GridSize);
 }
示例#2
0
 protected override void StartPointerSequenceCore(PointerEventInfo info, ILevelGeometry viewport)
 {
     _snapManager = new SnappingManager(GetSnappingSourceOrigin(), GetSnappingSourceBounds(), GridSize);
 }
示例#3
0
 protected override void PointerLeaveFieldCore()
 {
     _snapManager = null;
 }