public Cocoa.Object OutlineViewObjectValueForTableColumnByItem(OutlineView outlineView, TableColumn tableColumn, Cocoa.Object item) { BrowserItem bi = item as BrowserItem; return bi == null ? null : bi.ValueAt(tableColumn.Identifier); }
public bool OutlineViewIsItemExpandable(OutlineView outlineView, Cocoa.Object item) { return OutlineViewNumberOfChildrenOfItem(outlineView,item) > 0; }
public int OutlineViewNumberOfChildrenOfItem(OutlineView outlineView, Cocoa.Object item) { BrowserItem bi = item as BrowserItem; int count = bi != null ? bi.Count : help_tree.Nodes.Count; return count; }
public BrowserItem OutlineViewChildOfItem(OutlineView outlineView, int index, Cocoa.Object item) { BrowserItem bi = item as BrowserItem; if (bi != null) bi = bi.ItemAt(index); else bi = (BrowserItem)items[index]; return bi; }