Base abstract class for all property validation rules of a DataFormEditor.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
C#
public abstract class DataFormEditorPropertyValidationRule : DataFormEditorValidationRule
Inheritance: objectDataFormValidationRuleDataFormEditorValidationRuleDataFormEditorPropertyValidationRule
Derived Classes:
Constructors
C#
protected DataFormEditorPropertyValidationRule()
Fields
ErrorMessageProperty
BindableProperty
Identifies the ErrorMessage property.
C#
public static readonly BindableProperty ErrorMessageProperty
Properties
Gets or sets an error message describing the validation error. This can be either a fixed error message or a string format mask with placeholders for the validated property and the provided validation constraints. The exact form of the format mask depends on the specific validation rule. For more information see the descendants of the DataFormEditorPropertyValidationRule class.
C#
public string ErrorMessage { get; set; }