Open sandboxFocus

Property ValidateMethod

ValidateMethod

Gets or sets the name of the method that validates the value of the property.

Declaration
public string? ValidateMethod { get; set; }
Property Value
Type Description
string
Remarks

The method must be declared in the same class as the target property.

If this property is not set then the default ValidateFoo value is used, where Foo is the name of the target property.