1 implementation of ISwipeItemMenuItem
Microsoft.Maui.Controls (1)
SwipeView\SwipeItem.cs (1)
9
public partial class SwipeItem : MenuItem, Controls.ISwipeItem, Maui.
ISwipeItemMenuItem
15 references to ISwipeItemMenuItem
Microsoft.Maui (13)
Handlers\SwipeItemMenuItem\ISwipeItemMenuItemHandler.cs (1)
17
new
ISwipeItemMenuItem
VirtualView { get; }
Handlers\SwipeItemMenuItem\SwipeItemMenuItemHandler.cs (7)
19
public static IPropertyMapper<
ISwipeItemMenuItem
, ISwipeItemMenuItemHandler> Mapper =
20
new PropertyMapper<
ISwipeItemMenuItem
, ISwipeItemMenuItemHandler>(ViewHandler.ElementMapper)
22
[nameof(
ISwipeItemMenuItem
.Visibility)] = MapVisibility,
31
public static CommandMapper<
ISwipeItemMenuItem
, ISwipeItemMenuItemHandler> CommandMapper =
52
ISwipeItemMenuItem
ISwipeItemMenuItemHandler.VirtualView => VirtualView;
61
public static void MapSource(ISwipeItemMenuItemHandler handler,
ISwipeItemMenuItem
image) =>
64
public static Task MapSourceAsync(ISwipeItemMenuItemHandler handler,
ISwipeItemMenuItem
image)
Handlers\SwipeItemMenuItem\SwipeItemMenuItemHandler.Standard.cs (4)
7
public partial class SwipeItemMenuItemHandler : ElementHandler<
ISwipeItemMenuItem
, object>
20
public static void MapText(ISwipeItemMenuItemHandler handler,
ISwipeItemMenuItem
view) { }
22
public static void MapBackground(ISwipeItemMenuItemHandler handler,
ISwipeItemMenuItem
view) { }
24
public static void MapVisibility(ISwipeItemMenuItemHandler handler,
ISwipeItemMenuItem
view) { }
Platform\SwipeViewExtensions.cs (1)
10
public static Color? GetTextColor(this
ISwipeItemMenuItem
swipeItemMenuItem)
Microsoft.Maui.Controls (2)
SwipeView\SwipeItem.cs (2)
33
Paint
ISwipeItemMenuItem
.Background => new SolidPaint(BackgroundColor);
35
Visibility
ISwipeItemMenuItem
.Visibility => this.IsVisible ? Visibility.Visible : Visibility.Collapsed;