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); }
public InteractiveCanvas() { Panning.Handle(OnPanning); Pinching.Handle(OnPinched); UserRotating.Handle(UserRotated); }