Beispiel #1
0
        public Slider()
        {
            Id = "Slider";

            Handles.Do(x => x.Css.Size(0)); // Without this the sizing goes wrong.

            ActiveHandle = Handle;

            Tapped.Handle(UserTapped);
            PanFinished.Handle(() => UserTapped(LastPanEnd));
            Panning.Handle(OnPanning);
        }
Beispiel #2
0
 public InteractiveCanvas()
 {
     Panning.Handle(OnPanning);
     Pinching.Handle(OnPinched);
     UserRotating.Handle(UserRotated);
 }