public void Reload(Element element, UITableViewRowAnimation animation)
{
if (element == null)
{
throw new ArgumentNullException("element");
}
var section = element.Parent as Section;
if (section == null)
{
throw new ArgumentException("Element is not attached to this root");
}
var root = section.Parent as RootElement;
if (root == null)
{
throw new ArgumentException("Element is not attached to this root");
}
var path = element.GetIndexPath();
if (path == null)
{
return;
}
if (TableView != null)
{
TableView.ReloadRows(new NSIndexPath [] { path }, animation);
}
}