GesturedContentPage.cs 772 B

12345678910111213141516171819202122
  1. using System;
  2. using Xamarin.Forms;
  3. namespace XamarinForms_CustomRenders.CustomPages
  4. {
  5. public class GesturedContentPage : ContentPage
  6. {
  7. public Action OnSwipeLeftToRight = delegate { };
  8. public Action OnSwipeRightToLeft = delegate { };
  9. public Action OnSwipeTopToBottom = delegate { };
  10. public Action OnSwipeBottomToTop = delegate { };
  11. public Action OnTap = delegate { };
  12. public Action OnLongTap = delegate { };
  13. public bool CaptureSwipeLeftToRight = false;
  14. public bool CaptureSwipeRightToLeft = false;
  15. public bool CaptureSwipeTopToBottom = false;
  16. public bool CaptureSwipeBottomToTop = false;
  17. public bool CaptureTap = false;
  18. public bool CaptureLongTap = false;
  19. }
  20. }