Method GetErrors
GetErrors(string?)
Gets the validation errors for this control and its child controls.
public override IEnumerable GetErrors(string? propertyName)
Parameters
propertyNamestringThe name of the property to retrieve validation errors for; or
nullor Empty, to retrieve entity-level errors.
Returns
- IEnumerable
The validation errors for this control and its child controls.