public override object GetProperty(string name, out bool found)
{
var val = base.GetProperty(name, out found);
if (!found)
{
switch (name)
{
case TextTypeName:
found = true;
if (_textType.HasValue)
val = (int)_textType.Value;
break;
case AppendModificationsName:
found = true;
if (_appendModifications.HasValue)
val = _appendModifications.Value ? YesNoFieldSetting.YesValue : YesNoFieldSetting.NoValue;
break;
}
}
return found ? val : null;
}