Click or drag to resize

BaseViewModel.PropertyHasError Method

Checks whether the specified property has errors or is valid.

Namespace:  BionicCode.Utilities.Net.Standard.ViewModel
Assembly:  BionicCode.Utilities.Net.Standard (in BionicCode.Utilities.Net.Standard.dll) Version: 1.0.4
Syntax
public virtual bool PropertyHasError(
	string propertyName = null
)

Parameters

propertyName (Optional)
Type: System.String
The name of the property to check for errors.

Return Value

Type: Boolean
true when the specified property has at least one error. Otherwise false when the property is valid.

Implements

IViewModel.PropertyHasError(String)
See Also
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md