diff --git a/src/Core/src/Handlers/SwipeItemMenuItem/SwipeItemMenuItemHandler.cs b/src/Core/src/Handlers/SwipeItemMenuItem/SwipeItemMenuItemHandler.cs index d658a6989f3c..025f039b1647 100644 --- a/src/Core/src/Handlers/SwipeItemMenuItem/SwipeItemMenuItemHandler.cs +++ b/src/Core/src/Handlers/SwipeItemMenuItem/SwipeItemMenuItemHandler.cs @@ -14,7 +14,10 @@ namespace Microsoft.Maui.Handlers { - public partial class SwipeItemMenuItemHandler : ISwipeItemMenuItemHandler, ISetImageHandler + public partial class SwipeItemMenuItemHandler : ISwipeItemMenuItemHandler +#if !WINDOWS + , ISetImageHandler +#endif { public static IPropertyMapper Mapper = new PropertyMapper(ViewHandler.ElementMapper)