public TreeViewHandler() { Control = new EtoOutlineView { Handler = this, Delegate = new EtoOutlineDelegate { Handler = this }, DataSource = new EtoDataSource { Handler = this }, HeaderView = null, AutoresizesOutlineColumn = true, AllowsColumnResizing = false, ColumnAutoresizingStyle = NSTableViewColumnAutoresizingStyle.FirstColumnOnly }; var col = new NSTableColumn { DataCell = new MacImageListItemCell { UsesSingleLineMode = true } }; Control.AddColumn(col); Control.OutlineTableColumn = col; Scroll = new NSScrollView { HasVerticalScroller = true, HasHorizontalScroller = true, AutohidesScrollers = true, BorderType = NSBorderType.BezelBorder, DocumentView = Control }; }
public TreeGridViewHandler() { Control = new EtoOutlineView { Handler = this, Delegate = new EtoOutlineDelegate { Handler = this }, DataSource = new EtoDataSource { Handler = this }, //HeaderView = null, //AutoresizesOutlineColumn = true, //AllowsColumnResizing = false, AllowsColumnReordering = false, FocusRingType = NSFocusRingType.None, ColumnAutoresizingStyle = NSTableViewColumnAutoresizingStyle.None }; }
protected override void Initialize() { Control = new EtoOutlineView { Handler = this, Delegate = new EtoOutlineDelegate { Handler = this }, DataSource = new EtoDataSource { Handler = this }, //HeaderView = null, //AutoresizesOutlineColumn = true, //AllowsColumnResizing = false, AllowsColumnReordering = false, FocusRingType = NSFocusRingType.None, ColumnAutoresizingStyle = NSTableViewColumnAutoresizingStyle.None }; base.Initialize(); }