Example #1
0
        public void NSOutlineView_InsertNull()
        {
            NSOutlineView v = new NSOutlineView();

            v.BeginUpdates();              // We do this to prevent a crash: Insert/remove/move only works within a -beginUpdates/-endUpdates block or a View Based TableView
            v.InsertItems(new NSIndexSet(0), null, NSTableViewAnimation.None);
            v.EndUpdates();
        }