protected void GotoCustomControl(Element element) { var tb = new TableViewController(UITableViewStyle.Grouped); tb.Title = "Custom Control"; var section1 = new TableViewSection(tb.Source); section1.Header = "Custom Control"; var view = new UIViewDefinition <CustomElementTableViewCell, StringElement>(DefaultElementViewDefintions.SimpleElementBinding) { Param = UITableViewCellStyle.Default }; var customData = new StringElement(""); var wrapper = new ElementDataViewWrapper(view, customData); section1.Add(wrapper); this.rootController.PushViewController(tb, true); }
protected void GotoCustomControl(Element element) { var tb = new TableViewController(UITableViewStyle.Grouped); tb.Title = "Custom Control"; var section1 = new TableViewSection(tb.Source); section1.Header = "Custom Control"; var view = new UIViewDefinition<CustomElementTableViewCell, StringElement>(DefaultElementViewDefintions.SimpleElementBinding) { Param = UITableViewCellStyle.Default }; var customData = new StringElement(""); var wrapper = new ElementDataViewWrapper(view, customData); section1.Add(wrapper); this.rootController.PushViewController(tb, true); }