Get which checkbox inside ListView is checked when inflated dynamically

use the BindingContext of the sender

protected void CheckBox_CheckedChanged(object sender, EventArgs args)
{
  var check = (Checkbox)sender;
  var item = (SubCategories)check.BindingContext;

  // then item contains the object for the given row
}

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top