| ObservableObjectBaseGetDataErrors Method |
Gets the validation errors for a specified property or for the entire entity.
Namespace: TomsToolbox.WpfAssembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax protected virtual IEnumerable<string> GetDataErrors(
string? propertyName
)
Protected Overridable Function GetDataErrors (
propertyName As String
) As IEnumerable(Of String)
Parameters
- propertyName String
- The name of the property to retrieve validation errors for; or null or Empty, to retrieve entity-level errors.
Return Value
IEnumerableString
The validation errors for the property or entity.
Remarks See Also