27 references to Element
Microsoft.Maui (27)
Platform\iOS\MauiSwipeView.cs (27)
284
if (_contentView == null ||
Element
?.Handler?.MauiContext == null)
287
ISwipeItems? items =
Element
.GetSwipeItemsByDirection(_swipeDirection);
309
UIView swipeItem = item.ToPlatform(
Element
.Handler.MauiContext);
322
if (_actionView == null || childs == null ||
Element
== null)
343
var swipeItemSize =
Element
.GetSwipeItemSize(item, _contentView, _swipeDirection);
557
swipeItems =
Element
?.RightItems;
560
swipeItems =
Element
?.LeftItems;
563
swipeItems =
Element
?.BottomItems;
566
swipeItems =
Element
?.TopItems;
575
if (_contentView == null ||
Element
== null)
615
actionSize =
Element
.RightItems.Count * SwipeViewExtensions.SwipeItemWidth;
620
actionSize =
Element
.LeftItems.Count * SwipeViewExtensions.SwipeItemWidth;
786
if (
Element
== null)
835
actionSize =
Element
.RightItems.Count * SwipeViewExtensions.SwipeItemWidth;
840
actionSize =
Element
.LeftItems.Count * SwipeViewExtensions.SwipeItemWidth;
889
if (
Element
== null)
892
var threshold =
Element
.Threshold;
908
var swipeItemSize =
Element
.GetSwipeItemSize(swipeItem, _contentView, _swipeDirection);
914
swipeThreshold =
Element
.GetSwipeItemHeight(_swipeDirection, _contentView);
925
if (swipeItems == null ||
Element
== null)
939
var swipeItemSize =
Element
.GetSwipeItemSize(swipeItem, _contentView, _swipeDirection);
1049
var window =
Element
?.Handler?.MauiContext?.GetPlatformWindow() ??
1107
if (
Element
== null)
1110
Element
.IsOpen = isOpen;
1177
Element
?.SwipeStarted(new SwipeViewSwipeStarted(_swipeDirection.Value));
1185
Element
?.SwipeChanging(new SwipeViewSwipeChanging(_swipeDirection.Value, _swipeOffset));
1200
Element
?.SwipeEnded(new SwipeViewSwipeEnded(_swipeDirection.Value, isOpen));