public override void AccessoryButtonTapped(UITableView tableView, NSIndexPath indexPath)
{
var cell = GetCell(tableView, indexPath);
foreach (var section in Sections.Values)
{
if (section.Views.ContainsKey(cell))
{
var views = section.Views[cell];
foreach (var view in views)
{
var commandButtonView = view as ICommandButton;
if (commandButtonView != null && commandButtonView.Command != null)
{
commandButtonView.Command.Execute(commandButtonView.CommandParameter);
}
}
}
}
}