This project is read-only.

To create (EPiServer) properties with Page Type Builder we add regular code properties to a class that defines a page type and annotate them with the PageTypeProperty attribute.

For instance, to add a property of type PropertyXhtmlString to a page type we could add the following code:

[PageTypeProperty]
public virtual string MainBody { get; set; }

Related articles and blog posts

Last edited May 24, 2011 at 7:18 PM by joelabrahamsson, version 3

Comments

No comments yet.