joelabrahamsson/Page-Type-Builder — pull request #16 by croweman (2012-04-25 07:52:00+00:00)
Title: New PageTypePropertyGroupPropertyOverride attribute

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; }
}