1 implementation of ISwipeView
Microsoft.Maui.Controls (1)
SwipeView\SwipeView.cs (1)
12 public partial class SwipeView : ContentView, IElementConfiguration<SwipeView>, ISwipeViewController, ISwipeView, IVisualTreeElement
43 references to ISwipeView
Microsoft.Maui (22)
Handlers\SwipeView\ISwipeViewHandler.cs (1)
17 new ISwipeView VirtualView { get; }
Handlers\SwipeView\SwipeViewHandler.cs (11)
17 public static IPropertyMapper<ISwipeView, ISwipeViewHandler> Mapper = new PropertyMapper<ISwipeView, ISwipeViewHandler>(ViewHandler.ViewMapper) 20 [nameof(ISwipeView.SwipeTransitionMode)] = MapSwipeTransitionMode, 21 [nameof(ISwipeView.LeftItems)] = MapLeftItems, 22 [nameof(ISwipeView.TopItems)] = MapTopItems, 23 [nameof(ISwipeView.RightItems)] = MapRightItems, 24 [nameof(ISwipeView.BottomItems)] = MapBottomItems, 33 public static CommandMapper<ISwipeView, ISwipeViewHandler> CommandMapper = new(ViewCommandMapper) 35 [nameof(ISwipeView.RequestOpen)] = MapRequestOpen, 36 [nameof(ISwipeView.RequestClose)] = MapRequestClose, 54 ISwipeView ISwipeViewHandler.VirtualView => VirtualView;
Handlers\SwipeView\SwipeViewHandler.Standard.cs (9)
5 public partial class SwipeViewHandler : ViewHandler<ISwipeView, object> 9 public static void MapContent(ISwipeViewHandler handler, ISwipeView view) 13 public static void MapSwipeTransitionMode(ISwipeViewHandler handler, ISwipeView swipeView) 17 public static void MapRequestOpen(ISwipeViewHandler handler, ISwipeView swipeView, object? args) 25 public static void MapRequestClose(ISwipeViewHandler handler, ISwipeView swipeView, object? args) 33 public static void MapLeftItems(ISwipeViewHandler handler, ISwipeView view) 36 public static void MapTopItems(ISwipeViewHandler handler, ISwipeView view) 39 public static void MapRightItems(ISwipeViewHandler handler, ISwipeView view) 42 public static void MapBottomItems(ISwipeViewHandler handler, ISwipeView view)
Platform\SwipeViewExtensions.cs (1)
22 internal static ISwipeItems? GetSwipeItemsByDirection(this ISwipeView swipeView, SwipeDirection? swipeDirection)
Microsoft.Maui.Controls (21)
SwipeView\SwipeView.cs (21)
95 get => ((ISwipeView)this).IsOpen; 96 set => ((ISwipeView)this).IsOpen = value; 196 ((ISwipeView)this).RequestOpen(new SwipeViewOpenRequest(openSwipeItem, animated)); 203 ((ISwipeView)this).RequestClose(new SwipeViewCloseRequest(animated)); 235 ISwipeItems ISwipeView.LeftItems => new HandlerSwipeItems(LeftItems); 237 ISwipeItems ISwipeView.RightItems => new HandlerSwipeItems(RightItems); 239 ISwipeItems ISwipeView.TopItems => new HandlerSwipeItems(TopItems); 241 ISwipeItems ISwipeView.BottomItems => new HandlerSwipeItems(BottomItems); 243 bool ISwipeView.IsOpen 251 Handler?.UpdateValue(nameof(ISwipeView.IsOpen)); 263 SwipeTransitionMode ISwipeView.SwipeTransitionMode => SwipeTransitionMode.Reveal; 340 if (this is not ISwipeView swipeView) 353 ((ISwipeView)this).RequestClose(new SwipeViewCloseRequest(true)); 362 ((ISwipeView)this).RequestClose(new SwipeViewCloseRequest(true)); 365 void ISwipeView.SwipeStarted(SwipeViewSwipeStarted swipeStarted) 372 void ISwipeView.SwipeChanging(SwipeViewSwipeChanging swipeChanging) 378 void ISwipeView.SwipeEnded(SwipeViewSwipeEnded swipeEnded) 385 void ISwipeView.RequestOpen(SwipeViewOpenRequest swipeOpenRequest) 406 Handler?.Invoke(nameof(ISwipeView.RequestOpen), swipeOpenRequest); 409 void ISwipeView.RequestClose(SwipeViewCloseRequest swipeCloseRequest) 411 Handler?.Invoke(nameof(ISwipeView.RequestClose), swipeCloseRequest);