I want to list out all the properties associated with a Page Type. How do I do this?
I'm not seeing any clues from the PageType class, so it would be good if someone could point me in the right direction.
You can access these through the PageType class. Rather confusingly Properties are called Definitions in this case. Try something like this.....
var pageType = PageType.Load(this.PageTypeData.ID);foreach (var property in pt.Definitions)
That's it! I saw that in the SDK but ignored it - 'Definitions' completely threw me.
Thanks a lot.