New to Telerik UI for WPFStart a free 30-day trial

Represents a validator provider.

Definition

Namespace:Telerik.Windows.Persistence.Services

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public interface IPropertyValidatorProvider : IPersistenceProvider

Methods

Determines whether the specified property name is forbidden.

C#
bool IsValid(string propertyName, Type propertyType, object context, object value)
Parameters:propertyNamestring

Name of the property.

propertyTypeType

Type of the property.

contextobject

The context.

valueobject

The value.

Returns:

bool

true if the specified property name is forbidden; otherwise, false.