public LegendDataSource(LegendController parent) { _cellId = "section1Cell"; _section2CellId = "section2Cell"; _parentController = parent; _items = new List <LegendItem>(); //InitBasic(); InitAdvanced(); }
public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { UITableViewController nextController = null; switch (indexPath.Row) { case 0: nextController = new AspectController(_controller.chart, _chartController, UITableViewStyle.Grouped); break; case 1: nextController = new ThemesController(_controller.chart, _chartController, UITableViewStyle.Grouped); break; case 2: nextController = new ColorPalettesController(_controller.chart, _chartController, UITableViewStyle.Grouped); break; case 3: nextController = new LegendController(_controller.chart, _chartController, UITableViewStyle.Grouped); break; case 4: nextController = new ToolsController(_controller.chart, _chartController, UITableViewStyle.Grouped); break; case 5: nextController = new FunctionsController(_controller.chart, _chartController, UITableViewStyle.Grouped); break; case 6: break; default: break; } if (nextController != null) { _controller.NavigationController.PushViewController(nextController, true); } }
public LegendDelegate(LegendController controller) { }