Skip to content

Instantly share code, notes, and snippets.

@simple17
Created March 27, 2018 10:26
Show Gist options
  • Save simple17/53394fa0904d8e18a4318633ebb831b2 to your computer and use it in GitHub Desktop.
Save simple17/53394fa0904d8e18a4318633ebb831b2 to your computer and use it in GitHub Desktop.
[Epi Property types] Episerver common property types #episerver #c#
[Display(
Name = "Autoplay",
Description = "Autoplay",
GroupName = SystemTabNames.Content,
Order = 70)]
public virtual bool Autoplay { get; set; }
[Display(
Name = "Width",
Description = "Width",
GroupName = SystemTabNames.Content,
Order = 50)]
public virtual string Width { get; set; }
[Display(
Name = "Poster",
Description = "Url to Poster image",
GroupName = SystemTabNames.Content,
Order = 40)]
public virtual Url Poster { get; set; }
[Display(
Name = "Main",
Description = "Main Content",
GroupName = SystemTabNames.Content,
Order = 51)]
public virtual ContentArea MainContent { get; set; }
[Display(
Name = "Policy",
Description = "Policy",
GroupName = SystemTabNames.Content,
Order = 65)]
public virtual XhtmlString Policy { get; set; }
[Display(
Name = "Links",
Description = "Header links",
GroupName = SystemTabNames.Content,
Order = 50)]
public virtual LinkItemCollection LinksCollection { get; set; }
[UIHint(UIHint.Image)]
[Display(
Name = "Background image URL",
Description = "Background image URL",
GroupName = SystemTabNames.Content,
Order = 40)]
public virtual ContentReference BackgroundImageUrl { get; set; }
[Display(
Name = "Video content",
Description = "Drop here VideoPlayer block",
GroupName = SystemTabNames.Content,
Order = 100)]
public virtual ProjectVideoPlayerData VideoContent { get; set; }
[Range(50, 30000)]
[Display(
Name = "Speed",
Description = "Autoplay speed",
GroupName = SystemTabNames.Content,
Order = 50)]
public virtual Int32 Speed { get; set; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment