Class RegularExpressionValidatorAttribute
Inherited Members
Namespace: Telerik.Maui.Controls.Compatibility.Common.DataAnnotations
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public class RegularExpressionValidatorAttribute : ValidatorBaseAttribute, IPropertyValidator
Constructors
RegularExpressionValidatorAttribute(String)
Declaration
public RegularExpressionValidatorAttribute(string pattern)
Parameters
System.String
pattern
|
RegularExpressionValidatorAttribute(String, String, String)
Declaration
public RegularExpressionValidatorAttribute(string pattern, string negativeFeedback, string positiveFeedback = null)
Parameters
System.String
pattern
|
System.String
negativeFeedback
|
System.String
positiveFeedback
|
RegularExpressionValidatorAttribute(String, RegexOptions)
Declaration
public RegularExpressionValidatorAttribute(string pattern, RegexOptions options)
Parameters
System.String
pattern
|
System.Text.RegularExpressions.RegexOptions
options
|
RegularExpressionValidatorAttribute(String, RegexOptions, String, String)
Declaration
public RegularExpressionValidatorAttribute(string pattern, RegexOptions options, string negativeFeedback, string positiveFeedback = null)
Parameters
System.String
pattern
|
System.Text.RegularExpressions.RegexOptions
options
|
System.String
negativeFeedback
|
System.String
positiveFeedback
|
Properties
Options
Declaration
public RegexOptions Options { get; protected set; }
Property Value
System.Text.RegularExpressions.RegexOptions
|
Pattern
Declaration
public string Pattern { get; protected set; }
Property Value
System.String
|
Methods
ValidateCore(Object)
Declaration
protected override bool ValidateCore(object value)
Parameters
System.Object
value
|
Returns
System.Boolean
|