<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic TapGesture on image in a datagrid in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/tapgesture-on-image-in-a-datagrid/m-p/565977#M6940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i put my code like below it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Image Source="password.png"&amp;gt;&lt;BR /&gt; &amp;lt;Image.GestureRecognizers&amp;gt;&lt;BR /&gt; &amp;lt;TapGestureRecognizer&lt;BR /&gt; Command="{Binding TapCommand}"&lt;BR /&gt; CommandParameter="Image1" /&amp;gt;&lt;BR /&gt; &amp;lt;/Image.GestureRecognizers&amp;gt;&lt;BR /&gt; &amp;lt;/Image&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i place the image inside&amp;nbsp; a datagrid cell&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;StackLayout Padding="20" Spacing="10" BackgroundColor="Green"&amp;gt;&lt;BR /&gt;&amp;lt;dg:DataGrid ItemsSource="{Binding Test}" SelectionEnabled="True" SelectedItem="{Binding SelectedSiren}" RowHeight="30" HeaderHeight="50" BorderColor="#CCCCCC" HeaderBackground="#E0E6F8" ActiveRowColor="#8899AA"&lt;BR /&gt; PullToRefreshCommand="{Binding RefreshCommand}" IsRefreshing="{Binding IsRefreshing}" &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;dg:DataGrid.Columns&amp;gt;&lt;BR /&gt; &amp;lt;dg:DataGridColumn Title="Logo" PropertyName="Logo" Width="100" SortingEnabled="False"&amp;gt;&lt;BR /&gt; &amp;lt;dg:DataGridColumn.CellTemplate&amp;gt;&lt;BR /&gt; &amp;lt;DataTemplate&amp;gt;&lt;BR /&gt; &amp;lt;Image Source="{Binding}" HorizontalOptions="Center" VerticalOptions="Center" Aspect="AspectFit" HeightRequest="60"&amp;gt;&lt;BR /&gt; &amp;lt;Image.GestureRecognizers&amp;gt;&lt;BR /&gt; &amp;lt;TapGestureRecognizer Command="{Binding TapCommand}" CommandParameter="Logo" NumberOfTapsRequired="3"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/TapGestureRecognizer&amp;gt;&lt;BR /&gt; &amp;lt;/Image.GestureRecognizers&amp;gt;&lt;BR /&gt; &amp;lt;/Image&amp;gt;&lt;BR /&gt; &amp;lt;/DataTemplate&amp;gt;&lt;BR /&gt; &amp;lt;/dg:DataGridColumn.CellTemplate&amp;gt;&lt;BR /&gt; &amp;lt;/dg:DataGridColumn&amp;gt;&lt;BR /&gt; &amp;lt;dg:DataGridColumn Title="NAMe" PropertyName= "Name" Width="2*"&amp;gt;&lt;BR /&gt; &lt;BR /&gt;&amp;lt;/dg:DataGridColumn&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/dg:DataGrid.Columns&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;dg:DataGrid.RowsBackgroundColorPalette&amp;gt;&lt;BR /&gt; &amp;lt;dg:PaletteCollection&amp;gt;&lt;BR /&gt; &amp;lt;Color&amp;gt;#FFF2F2&amp;lt;/Color&amp;gt;&lt;BR /&gt; &amp;lt;Color&amp;gt;#FFFFFF&amp;lt;/Color&amp;gt;&lt;BR /&gt; &amp;lt;/dg:PaletteCollection&amp;gt;&lt;BR /&gt; &amp;lt;/dg:DataGrid.RowsBackgroundColorPalette&amp;gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;/dg:DataGrid&amp;gt;&lt;BR /&gt; &amp;lt;/StackLayout&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i place the image inside a datagrid cell template tapgesture not work.please help to solve this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2017 08:01:35 GMT</pubDate>
    <dc:creator>NadirHussain</dc:creator>
    <dc:date>2017-10-05T08:01:35Z</dc:date>
    <item>
      <title>TapGesture on image in a datagrid</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/tapgesture-on-image-in-a-datagrid/m-p/565977#M6940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i put my code like below it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Image Source="password.png"&amp;gt;&lt;BR /&gt; &amp;lt;Image.GestureRecognizers&amp;gt;&lt;BR /&gt; &amp;lt;TapGestureRecognizer&lt;BR /&gt; Command="{Binding TapCommand}"&lt;BR /&gt; CommandParameter="Image1" /&amp;gt;&lt;BR /&gt; &amp;lt;/Image.GestureRecognizers&amp;gt;&lt;BR /&gt; &amp;lt;/Image&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i place the image inside&amp;nbsp; a datagrid cell&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;StackLayout Padding="20" Spacing="10" BackgroundColor="Green"&amp;gt;&lt;BR /&gt;&amp;lt;dg:DataGrid ItemsSource="{Binding Test}" SelectionEnabled="True" SelectedItem="{Binding SelectedSiren}" RowHeight="30" HeaderHeight="50" BorderColor="#CCCCCC" HeaderBackground="#E0E6F8" ActiveRowColor="#8899AA"&lt;BR /&gt; PullToRefreshCommand="{Binding RefreshCommand}" IsRefreshing="{Binding IsRefreshing}" &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;dg:DataGrid.Columns&amp;gt;&lt;BR /&gt; &amp;lt;dg:DataGridColumn Title="Logo" PropertyName="Logo" Width="100" SortingEnabled="False"&amp;gt;&lt;BR /&gt; &amp;lt;dg:DataGridColumn.CellTemplate&amp;gt;&lt;BR /&gt; &amp;lt;DataTemplate&amp;gt;&lt;BR /&gt; &amp;lt;Image Source="{Binding}" HorizontalOptions="Center" VerticalOptions="Center" Aspect="AspectFit" HeightRequest="60"&amp;gt;&lt;BR /&gt; &amp;lt;Image.GestureRecognizers&amp;gt;&lt;BR /&gt; &amp;lt;TapGestureRecognizer Command="{Binding TapCommand}" CommandParameter="Logo" NumberOfTapsRequired="3"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/TapGestureRecognizer&amp;gt;&lt;BR /&gt; &amp;lt;/Image.GestureRecognizers&amp;gt;&lt;BR /&gt; &amp;lt;/Image&amp;gt;&lt;BR /&gt; &amp;lt;/DataTemplate&amp;gt;&lt;BR /&gt; &amp;lt;/dg:DataGridColumn.CellTemplate&amp;gt;&lt;BR /&gt; &amp;lt;/dg:DataGridColumn&amp;gt;&lt;BR /&gt; &amp;lt;dg:DataGridColumn Title="NAMe" PropertyName= "Name" Width="2*"&amp;gt;&lt;BR /&gt; &lt;BR /&gt;&amp;lt;/dg:DataGridColumn&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/dg:DataGrid.Columns&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;dg:DataGrid.RowsBackgroundColorPalette&amp;gt;&lt;BR /&gt; &amp;lt;dg:PaletteCollection&amp;gt;&lt;BR /&gt; &amp;lt;Color&amp;gt;#FFF2F2&amp;lt;/Color&amp;gt;&lt;BR /&gt; &amp;lt;Color&amp;gt;#FFFFFF&amp;lt;/Color&amp;gt;&lt;BR /&gt; &amp;lt;/dg:PaletteCollection&amp;gt;&lt;BR /&gt; &amp;lt;/dg:DataGrid.RowsBackgroundColorPalette&amp;gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;/dg:DataGrid&amp;gt;&lt;BR /&gt; &amp;lt;/StackLayout&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i place the image inside a datagrid cell template tapgesture not work.please help to solve this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 08:01:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/tapgesture-on-image-in-a-datagrid/m-p/565977#M6940</guid>
      <dc:creator>NadirHussain</dc:creator>
      <dc:date>2017-10-05T08:01:35Z</dc:date>
    </item>
  </channel>
</rss>

