예제 #1
0
            public AlbumDetailsCellView()
            {
                var vc = new AlbumDetailViewController();

                view = vc.View;
                view.AutoresizingMask = NSViewResizingMask.WidthSizable | NSViewResizingMask.HeightSizable;
                AddSubview(view);
            }
예제 #2
0
        public AlbumView()
        {
            this.DividerStyle         = NSSplitViewDividerStyle.Thin;
            this.IsVertical           = false;
            AddSubview(CollectionView = new BaseCollectionView <AlbumViewModel, Album>()
            {
                Frame            = new CoreGraphics.CGRect(0, 0, 500, 1000),
                AutoresizingMask = NSViewResizingMask.WidthSizable | NSViewResizingMask.HeightSizable,
                Model            = new AlbumViewModel
                {
                    GroupInfo =
                    {
                        GroupBy = "",
                    }
                }
            });

            var vc = new AlbumDetailViewController();

            albumDetailsView = vc.View;
        }