public PopupAttributes(Image Selected, UIViewController presentingController, TableSourceAttributes leftTable, TableSourceImageAttributes rightTable, ImageAttributesTableViewController attrTable) : base("PopupAttributes", null) { currentlySelectedImage = Selected; PresentingController = presentingController; RightAttributesTable = rightTable; LeftAttributesTable = leftTable; ImageAttributeTable = attrTable; }
public void InitializeRightTableView() { //Right Table (Image Attributes) RightAttributesTableSource = new TableSourceImageAttributes(); RightAttributesTableSource.ImageAttributeToAttributes += InsertAttributeForImage; RightImageAttributeTable = new ImageAttributesTableViewController(RightAttributesTableSource); ImageAtrributesNavigationController = new MasterTableNavigationController(RightImageAttributeTable); /* * Get the left Button handler, show the listview */ UIBarButtonItem addAttribute = ImageAtrributesNavigationController.LeftButton(); addAttribute.Clicked += AddImageAttribute; RightAttributesTableSource.AttributeRowToController += GetAttributeRowSelectedRight; }
public void setRightAttributesTableSource(TableSourceImageAttributes RightAttributesTableSource) { this.RightAttributesTableSource = RightAttributesTableSource; }