title: Display data that is on the List Xamarin.Forms
body: <p>I want to display data that is on the List and also for the email. I have to Vice President and I want open link the of their email respectively to open to an external email platform. However, the code can't seems to work properly it opens only one email for the Vice President and the whole of the label containing it seems to react to it.</p>
  
  <p>This is the screen shot of it.</p>
  
  <p><a href="https://i.stack.imgur.com/NFBRB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NFBRB.png" alt="enter image description here"></a></p>
  
  <p>My Xmal code</p>
  
  <pre><code>&lt;Label Text="Vice-President:" FontSize="18" FontAttributes="Bold" XAlign="Center" TextColor="Black"/&gt;
                  &lt;StackLayout x:Name="vpDetails"&gt;
  
                  &lt;/StackLayout&gt;
  </code></pre>
  
  <p>My C# Code</p>
  
  <pre><code>foreach (var item in leaderDetail)
          {
              Boolean IsPresident = item.IsPresident;
  
              if (IsPresident == true)
              {
                  lbPresidentName.Text = item.Name;
                  btnPresidentEmail.Text = item.Email;
  
                  var tgrPresident = new TapGestureRecognizer();
                  tgrPresident.Tapped += (s, e) =&gt; Device.OpenUri(new Uri("mailto:" + item.Email));
                  btnPresidentEmail.GestureRecognizers.Add(tgrPresident);
              }
              else 
              {
                  vpDetails.Children.Add(new Label { Text = item.Name ,FontSize=14, HorizontalOptions = LayoutOptions.Center});
  
                  vpDetails.Children.Add(new Label { Text = item.Email, FontSize=14, HorizontalOptions = LayoutOptions.Center, x:name="lbvPresident1Email"});
  
                  //lbvPresident1Name.Text = item.Name;
                  //lbvPresident1Email.Text = item.Email;
  
                  var tgrVPEmail = new TapGestureRecognizer();
                  tgrVPEmail.Tapped += (s, e) =&gt; Device.OpenUri(new Uri("mailto:" + item.Email));
                  lbvPresident1Email.GestureRecognizers.Add(tgrVPEmail);
              }
  
          }
  </code></pre>