public override bool SetProperty(string name, object value)
{
var found = base.SetProperty(name, value);
if (!found)
{
var sv = value as string;
switch (name)
{
case TextTypeName:
found = true;
if (value != null)
_textType = (TextType)Convert.ToInt32(value);
break;
case AppendModificationsName:
found = true;
if (!string.IsNullOrEmpty(sv))
_appendModifications = sv.CompareTo(YesNoFieldSetting.YesValue) == 0;
break;
}
}
return found;
}