Click or drag to resize

ValidatableViewModelBaseGetErrors Method

Gets the validation errors for a specified property or for the entire entity.

Namespace:  Cauldron.XAML.ViewModels
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public IEnumerable GetErrors(
	string propertyName
)

Parameters

propertyName
Type: SystemString
The name of the property to retrieve validation errors for; or null or Empty, to retrieve entity-level errors.

Return Value

Type: IEnumerable
The validation errors for the property or entity.

Implements

INotifyDataErrorInfoGetErrors(String)
See Also