public ZoomableGridView() { _popupHost = new Popup(); _popupHost.IsHitTestVisible = false; _popupHost.Child = _popupPanel = new ZoomableGridViewPopup(); _popupContent = _popupPanel.Children[0] as ContentControl; PointerMoved += ZoomableGridView_PointerMoved; }
public ZoomableGridView() { _recognizer = new GestureRecognizer(); _recognizer.GestureSettings = GestureSettings.Hold | GestureSettings.HoldWithMouse; _recognizer.Holding += Recognizer_Holding; _popupHost = new Popup(); _popupHost.IsHitTestVisible = false; _popupHost.Child = _popupPanel = new ZoomableGridViewPopup(); PointerMoved += ZoomableGridView_PointerMoved; }