예제 #1
0
 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;
 }
예제 #2
0
        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);
        }
예제 #3
0
 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;
 }