Skip to content

Instantly share code, notes, and snippets.

@christiannagel
Created August 24, 2013 07:49
Show Gist options
  • Save christiannagel/6326722 to your computer and use it in GitHub Desktop.
Save christiannagel/6326722 to your computer and use it in GitHub Desktop.
Windows Store App, Visual Studio Template Code, SampleDataItem
public class SampleDataItem
{
public SampleDataItem(String uniqueId, String title, String subtitle, String imagePath, String description, String content)
{
this.UniqueId = uniqueId;
this.Title = title;
this.Subtitle = subtitle;
this.Description = description;
this.ImagePath = imagePath;
this.Content = content;
}
public string UniqueId { get; private set; }
public string Title { get; private set; }
public string Subtitle { get; private set; }
public string Description { get; private set; }
public string ImagePath { get; private set; }
public string Content { get; private set; }
public override string ToString()
{
return this.Title;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment