title: MonoTouch Dialog's UITableView. How to handle taps?
body: <p>MonotouchDialog makes it very easy to create UITableView Dialogs, but sometimes questions like that one popup:</p>
  
  <p><a href="https://stackoverflow.com/questions/7666356/monotouch-dialog-buttons-with-the-elements-api">MonoTouch Dialog. Buttons with the Elements API</a></p>
  
  <p>Now, I have a similar problem but quite different: </p>
  
  <pre><code>List&lt;User&gt; users = GetUsers();
  
  var root = 
     new RootElement ("LoginScreen"){
       new Section ("Enter your credentials") {
         foreach(var user in users)
           new StyledStringElement (user.Name, ()=&gt; {
              // tap on an element (but which one exactly?)
           }
       ),
     }
  
  navigation.PushViewController (new MainController (root), true);
  </code></pre>
  
  <p>Now, the second parameter of <code>StyledStringElement</code>'s constructor has the type of <code>NSAction</code> delegate, and doesn't take any arguments, now I dunno how to determine exactly which element been tapped.</p>
  
  <p>How to get that?</p>