Guest User

Untitled

a guest
Oct 19th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. public SampleDataSource()
  2. {
  3. String ITEM_CONTENT = String.Format("Item Content: {0}\n\n{0}\n\n{0}\n\n{0}\n\n{0}\n\n{0}\n\n{0}",
  4. "Curabitur class …中略…");
  5.  
  6. var group1 = new SampleDataGroup("Group-1",
  7. "Group Title: 1",
  8. "Group Subtitle: 1",
  9. "Assets/DarkGray.png",
  10. "Group Description: Lorem ipsum …中略… ante a ante");
  11. group1.Items.Add(new SampleDataItem("Group-1-Item-1",
  12. "Item Title: 1",
  13. "Item Subtitle: 1",
  14. "Assets/LightGray.png",
  15. "Item Description: Pellentesque porta …中略… ac erat.",
  16. ITEM_CONTENT,
  17. group1));
  18.  
  19. // 中略
  20.  
  21. this.AllGroups.Add(group1);
  22.  
  23. // 後略
Add Comment
Please, Sign In to add comment