Does the DataError property only support string type errors?
I'm trying to customise it to support different kinds of error levels and I need this DataError property to return an object instead of a string.
CellValuePresenter DataError property returns the associated Field's DataError as an object. A DataError can provide error information regarding the individual fields of the data item by implementing IDataErrorInfo interface. If the data item associated with the data record implements IDataErrorInfo, this property returns the field error if any for this cell - the value returned by the IDataErrorInfo's Item[fieldName] indexer.
Based on the underlying data item’s IDataErrorInfo implementation, GetCellDataError(Field) method returns the DataError object of the specific field that was passed into it as input parameter.
Please let me know if you have any questions.