New PageTypePropertyGroupPropertyOverride attribute #16

Open
wants to merge 3 commits into
from

Conversation

Projects
None yet
1 participant

Example usage:

[PageType]
public class TestPageType
{
[PageTypePropertyGroup(EditCaptionPrefix = "Prefix ")]
[PageTypePropertyGroupPropertyOverride(PropertyName = "PropertyOne", DefaultValue = "Pickle")]
public TestPropertyGroup TestPropertyGroup { get; set; }
}

public class TestPropertyGroup : PageTypePropertyGroup
{
[PageTypeProperty(
Type = typeof(PropertyString,
SortOrder = 100,
DefaultValue = "Cheese",
DevaultValueType = DefaultValueType.Value)]
public virtual string PropertyOne { get;set; }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment