public GetDefaultValue ( IPropertyBag properties, object &value ) : bool | ||
properties | IPropertyBag | |
value | object | |
return | bool |
public bool GetDefaultValue(IPropertyBag properties, out object value)
{
string headerPosition = properties.GetPropertyValue<string>("HeaderPosition");
if (String.IsNullOrEmpty(headerPosition))
{
value = "top";
return false;
}
value = headerPosition;
return true;
}