示例#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;
        }