             if (_dragEnabled != newValue)
             {
                 _dragEnabled = newValue;
-                if (_dragEnabled)
-                {
-                    self.addGestureRecognizer(_panGestureRecognizer);
-                }
-                else
-                {
-                    if (self.gestureRecognizers != nil)
-                    {
-                        for (var i = 0; i < self.gestureRecognizers!.count; i++)
-                        {
-                            if (self.gestureRecognizers?[i] === _panGestureRecognizer)
-                            {
-                                self.gestureRecognizers!.removeAtIndex(i);
-                                break;
-                            }
-                        }
-                    }
-                }
             }
         }
     }

            self.addGestureRecognizer(_doubleTapGestureRecognizer);
        }
        updateScaleGestureRecognizers();
        if (_dragEnabled)
        {
            self.addGestureRecognizer(_panGestureRecognizer);
        }
    }
    
    public override func drawRect(rect: CGRect)

    public var borderColor = UIColor.blackColor()
    public var borderLineWidth: CGFloat = 1.0
    
    /// flag indicating if the grid background should be drawn or not
    public var drawGridBackgroundEnabled = true
    
