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