Свойство | Тип | Описание | |
---|---|---|---|
ErrorMessageProperty | |||
RegexTextProperty |
Метод | Описание | |
---|---|---|
GetErrorMessage ( |
Returns the error message used when validation fails for the specified TextBox.
|
|
GetRegexText ( |
Returns the regular expression used to validate the specified TextBox.
|
|
SetErrorMessage ( |
Sets the error message used when validation fails for the specified TextBox.
|
|
SetRegexText ( |
Sets the regular expression used to validate the specified TextBox.
|
Метод | Описание | |
---|---|---|
GetRegexValidationRuleForTextBox ( |
Returns a RegexValidationRule to be used for validating the specified TextBox. If the TextBox is not yet initialized, this method returns null.
|
|
OnAttachedPropertyChanged ( |
Invoked whenever an attached property of the RegexValidator is modified for a TextBox.
|
|
RegexValidator ( ) : System | ||
VerifyRegexValidationRule ( |
Creates or modifies the RegexValidationRule in the TextBox's Text property binding to use the current values of the attached properties exposed by this class.
|
public static GetErrorMessage ( |
||
textBox | The TextBox whose error message is returned. | |
Результат | string |
public static GetRegexText ( |
||
textBox | The TextBox whose regular expression is returned. | |
Результат | string |
public static SetErrorMessage ( |
||
textBox | The TextBox being validated. | |
value | string | The error message. |
Результат | void |
public static SetRegexText ( |
||
textBox | The TextBox being validated. | |
value | string | The regular expression. |
Результат | void |
public static DependencyProperty,System.Windows ErrorMessageProperty | ||
Результат |