Beispiel #1
0
 private void CreateTitleView()
 {
     Library.Code.V3.EpisodesPivot titlePivot = new Library.Code.V3.EpisodesPivot(this, "title", "No titles were found.", base.Filters, this.seasonItem.TitleObject.Id);
     titlePivot.ContentLabel        = this.Description;
     titlePivot.SupportsJIL         = true;
     titlePivot.ContentTemplate     = "resx://Library/Library.Resources/V3_Controls_BrowseGallery#Gallery";
     titlePivot.ContentItemTemplate = "oneRowGalleryItem4x3";
     titlePivot.DetailTemplate      = Library.Code.V3.BrowsePivot.ExtendedDetailTemplate;
     this.Model.Pivots.Options.Add(titlePivot);
     //setting this as the default chosen pivot
     this.Model.Pivots.Chosen = titlePivot;
 }
 private void CreateTitleView()
 {
     Library.Code.V3.EpisodesPivot titlePivot = new Library.Code.V3.EpisodesPivot(this, "title", "No titles were found.", base.Filters, this.seasonItem.TitleObject.Id);
     titlePivot.ContentLabel = this.Description;
     titlePivot.SupportsJIL = true;
     titlePivot.ContentTemplate = "resx://Library/Library.Resources/V3_Controls_BrowseGallery#Gallery";
     titlePivot.ContentItemTemplate = "oneRowGalleryItem4x3";
     titlePivot.DetailTemplate = Library.Code.V3.BrowsePivot.ExtendedDetailTemplate;
     this.Model.Pivots.Options.Add(titlePivot);
     //setting this as the default chosen pivot
     this.Model.Pivots.Chosen = titlePivot;
 }