New to Telerik UI for .NET MAUIStart a free 30-day trial

Executes a custom regular expression to validate the current string value.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class DataFormEditorRegexValidationRule : DataFormEditorPropertyValidationRule

Inheritance: objectDataFormValidationRuleDataFormEditorValidationRuleDataFormEditorPropertyValidationRuleDataFormEditorRegexValidationRule

Inherited Members DataFormEditorPropertyValidationRule.ErrorMessagePropertyDataFormEditorPropertyValidationRule.ErrorMessage

Constructors

C#
public DataFormEditorRegexValidationRule()

Fields

PatternProperty

BindableProperty

Identifies the Pattern property.

C#
public static readonly BindableProperty PatternProperty

Properties

Gets or sets a custom regular expression pattern to validate the current string value.

C#
public string Pattern { get; set; }