public SampleDataItem(String uniqueId, String title, String subtitle, String imagePath, String description, String content, SampleDataGroup group) : base(uniqueId, title, subtitle, imagePath, description) { this._content = content; this._group = group; }
public SampleDataSource() { String ITEM_CONTENT = ""; var group1 = new SampleDataGroup("Group-1", "Open Comic Books", "", "Assets/DarkGray.png", ""); group1.Items.Add(new SampleDataItem("Group-1-Item-1", "Open New Comic", "", "Assets/LightGray.png", "Uses a file picker to open a comic book.", ITEM_CONTENT, group1)); this.AllGroups.Add(group1); group2 = new SampleDataGroup("Group-2", "Recently Opened", "", "Assets/LightGray.png", "Choose from a list of comic books you've opened previous."); this.AllGroups.Add(group2); }