public static FavoriteNodeView Create(CGRect frame, NodeViewController nodeViewController, UIColor kleur) { var view = (FavoriteNodeView)Nib.Instantiate(null, null) [0]; view.Frame = frame; view.SetShadow(); view._nodeViewController = nodeViewController; view.NodeItemTableController.RefreshControl = new UIRefreshControl() { TintColor = UIColor.FromRGB(143, 202, 232), AttributedTitle = new NSAttributedString("Map aan het verversen") }; view.NodeItemTableController.RefreshControl.ValueChanged += delegate { view.Refresh(); }; view.SyncButton.TouchUpInside += delegate {; view.Refresh(scrollToTop: true); }; if (kleur != null) { view.KleurenBalk.BackgroundColor = kleur; } view.Refresh(scrollToTop: true); return(view); }
public NodeViewSource(TreeNode node, NodeViewController nodeViewController, NodeView nodeView) { _node = node; _nodeViewController = nodeViewController; _nodeView = nodeView; _root = _node.ParentId == 0; }
public static FavoriteNodeView Create (CGRect frame, NodeViewController nodeViewController, UIColor kleur) { var view = (FavoriteNodeView)Nib.Instantiate (null, null) [0]; view.Frame = frame; view.SetShadow(); view._nodeViewController = nodeViewController; view.NodeItemTableController.RefreshControl = new UIRefreshControl() { TintColor = UIColor.FromRGB(143, 202, 232), AttributedTitle = new NSAttributedString("Map aan het verversen") }; view.NodeItemTableController.RefreshControl.ValueChanged += delegate { view.Refresh(); }; view.SyncButton.TouchUpInside += delegate {; view.Refresh(scrollToTop: true); }; if (kleur != null) { view.KleurenBalk.BackgroundColor = kleur; } view.Refresh(scrollToTop: true); return view; }
public static NodeView Create(CGRect frame, NodeViewController nodeViewController, string path, UIColor kleur) { var view = (NodeView)Nib.Instantiate(null, null) [0]; view.Frame = frame; view.SetShadow(); view.NodePath = path; view._nodeViewController = nodeViewController; view.NodeItemTableController.RefreshControl = new UIRefreshControl() { TintColor = UIColor.FromRGB(143, 202, 232), AttributedTitle = new NSAttributedString("Map aan het verversen") }; view.NodeItemTableController.RefreshControl.ValueChanged += delegate { view.Refresh(); }; view.TerugButton.TouchUpInside += delegate { nodeViewController.PopView(); }; view.SyncButton.TouchUpInside += delegate { view.Refresh(scrollToTop: true); }; view.UploadFotoButton.TouchUpInside += delegate { view.UploadFoto(); }; view.MaakFolderButton.TouchUpInside += view.CreateFolderButtonPressed; if (kleur != null) { view.kleurenBalk.BackgroundColor = kleur; } view.UploadFotoButton.Hidden = path.Equals("/"); view.MaakFolderButton.Hidden = path.Equals("/"); view.HideBackButton(); view.LoadData(); return(view); }
public static NodeView Create (CGRect frame, NodeViewController nodeViewController, string path, UIColor kleur) { var view = (NodeView)Nib.Instantiate (null, null) [0]; view.Frame = frame; view.SetShadow (); view.NodePath = path; view._nodeViewController = nodeViewController; view.NodeItemTableController.RefreshControl = new UIRefreshControl () { TintColor = UIColor.FromRGB (143, 202, 232), AttributedTitle = new NSAttributedString ("Map aan het verversen") }; view.NodeItemTableController.RefreshControl.ValueChanged += delegate { view.Refresh (); }; view.TerugButton.TouchUpInside += delegate { nodeViewController.PopView (); }; view.SyncButton.TouchUpInside += delegate { view.Refresh (scrollToTop: true); }; view.UploadFotoButton.TouchUpInside += delegate { view.UploadFoto (); }; view.MaakFolderButton.TouchUpInside += view.CreateFolderButtonPressed; if (kleur != null) { view.kleurenBalk.BackgroundColor = kleur; } view.UploadFotoButton.Hidden = path.Equals ("/"); view.MaakFolderButton.Hidden = path.Equals ("/"); view.HideBackButton (); view.LoadData (); return view; }
public NodeViewSource (TreeNode node, NodeViewController nodeViewController, NodeView nodeView) { _node = node; _nodeViewController = nodeViewController; _nodeView = nodeView; _root = _node.ParentId == 0; }
public NodeViewSource(List <TreeNode> node, NodeViewController nodeViewController, FavoriteNodeView nodeView) { _node = node; _nodeViewController = nodeViewController; _nodeView = nodeView; }
public NodeViewSource(List<TreeNode> node, NodeViewController nodeViewController, FavoriteNodeView nodeView) { _node = node; _nodeViewController = nodeViewController; _nodeView = nodeView; }