public ScrollableDataPanelView(IScrollablePanel <TGraphics> dp, Func <DataPanelView <TGraphics>, TGraphics> func_gr) : base(dp, func_gr) { var gr_pan = new pan_gr(this); gr_pan.MaximumNumberOfTouches = 1; // TODO or maybe two fingers should be scroll but one finger is select? this.AddGestureRecognizer(gr_pan); }
public ScrollableDataPanelView(Context c, IScrollablePanel <TGraphics> dp, Func <Canvas, TGraphics> func_gr) : base(c, dp, func_gr) { }