private string ValidateFieldName() { if (ApplyToRow && FormatConditionType == FormatConditionType.Default) { return(null); } if (FieldName.IsNullOrEmptyAfterTrim()) { return(Resources.StringResources.StyleOptionFieldNameError); } return(null); }