Méthode | Description | |
---|---|---|
RegexValidationRule ( ) : System |
Parameterless constructor.
|
|
RegexValidationRule ( string regexText ) : System |
Creates a RegexValidationRule with the specified regular expression.
|
|
RegexValidationRule ( string regexText, string errorMessage ) : System |
Creates a RegexValidationRule with the specified regular expression and error message.
|
|
RegexValidationRule ( string regexText, string errorMessage, RegexOptions regexOptions ) : System |
Creates a RegexValidationRule with the specified regular expression, error message, and RegexOptions.
|
|
Validate ( object value, |
Validates the 'value' argument using the regular expression and RegexOptions associated with this object.
|
public RegexValidationRule ( string regexText ) : System | ||
regexText | string | The regular expression used by the new instance. |
Résultat | System |
public RegexValidationRule ( string regexText, string errorMessage ) : System | ||
regexText | string | The regular expression used by the new instance. |
errorMessage | string | The error message used when validation fails. |
Résultat | System |
public RegexValidationRule ( string regexText, string errorMessage, RegexOptions regexOptions ) : System | ||
regexText | string | The regular expression used by the new instance. |
errorMessage | string | The error message used when validation fails. |
regexOptions | RegexOptions | The RegexOptions used by the new instance. |
Résultat | System |
public Validate ( object value, |
||
value | object | |
cultureInfo | ||
Résultat | System.Windows.Controls.ValidationResult |