public ImageStackAddingSplitViewController() : base() { View.BackgroundColor = AppColors.LIGHT_TEAL; AttributesTableSource = new TableSourceAttributes(); //master attributesTableViewController = new AttributesTableViewController(AttributesTableSource); attributesTableViewController.View.BackgroundColor = AppColors.LIGHT_TEAL; navController = new MasterImageAddingTableNavigationController(attributesTableViewController); navController.NavigationBar.BackgroundColor = AppColors.DARK_GRAY; AttributesTableSource.AttributeRowToController += GetAttributeRowSelected; AttributesTableSource.ReloadCollectionView += ReloadCollectionViewAll; //slave //AttributeImageSource = new CollectionViewImageSourceAttribute(false); AttributeImageSource = new ImageStackAddingSource(); attributesCollectionView = new ImageStackAddingCollectionView(AttributeImageSource); attributesCollectionView.View.BackgroundColor = AppColors.LIGHT_TEAL; PreferredPrimaryColumnWidthFraction = 0.2f; ViewControllers = new UIViewController[] { navController, attributesCollectionView }; //delegate for finish button navController.getFinishButton().Clicked += BtnFinishedClicked_TouchUpInside; navController.getFinishButton().TintColor = AppColors.LIGHT_TEAL; }
public ImageStackAddingCollectionView(ImageStackAddingSource Source) : base("ImageStackAddingCollectionView", null) { CollectionViewSource = Source; }