This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
using System.Windows.Input; | |
using Xamarin.Forms; | |
public class TapToCommandBehavior : Behavior | |
{ | |
private readonly TapGestureRecognizer tapGestureRecognizer; | |
private View AttachedToView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ContentPage | |
xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:appHelpers="clr-namespace:ProjectName.Mobile.Helpers" | |
x:Class="ProjectName.Mobile.Views.TestPage"> | |
<!--ContentPage Content--> | |
<Grid | |
BackgroundColor="{StaticResource whiteColor}" | |
RowSpacing="0" | |
ColumnSpacing="0"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Threading.Tasks; | |
using System.Windows.Input; | |
using Xamarin.Forms; | |
//TapCommandProperty | |
public static class AppAttachProperties | |
{ | |
public static readonly BindableProperty TapCommandProperty = | |
BindableProperty.CreateAttached( | |
"TapCommand", |