Свойство | Тип | Описание | |
---|---|---|---|
ValidationSourceProperty | |||
ValidationTargetProperty |
Метод | Описание | |
---|---|---|
Clear ( ) : void |
Clears the errorHostingBindingExpr of any validation errors.
|
|
CreateValError ( ConversionError e ) : void |
Creates the val error.
|
|
ElementValidationHandler ( |
Initializes a new instance of the ElementValidationHandler class. Sets of a WeakReference to the given element. The rest of the invalid mechanisms are not initialized until the first time we need to invalid the element.
|
|
GetValidationSource ( |
Gets the validation source property value.
|
|
GetValidationTarget ( |
Gets the validation target property value.
|
|
SetValidationSource ( |
Sets the validation source property value.
|
|
SetValidationTarget ( |
Sets the validation target property value.
|
|
Show ( string message ) : void |
Shows the specified message. This is accomplished by marking the errorHostingBindingExpr as invalid with a ValidationError containing the given message.
|
Метод | Описание | |
---|---|---|
EnsureBinding ( ) : void |
Checks for existence (and creates if necessary) the rules and bindings need to flag the control as invalid.
|
public CreateValError ( ConversionError e ) : void | ||
e | ConversionError | The e. |
Результат | void |
public ElementValidationHandler ( |
||
element | The element. | |
Результат | System |
public static GetValidationSource ( |
||
obj | The obj. | |
Результат | string |
public static GetValidationTarget ( |
||
obj | The obj. | |
Результат | string |
public static SetValidationSource ( |
||
obj | The obj. | |
value | string | The value. |
Результат | void |
public static SetValidationTarget ( |
||
obj | The obj. | |
value | string | The value. |
Результат | void |
public Show ( string message ) : void | ||
message | string | The message. |
Результат | void |
public static DependencyProperty,System.Windows ValidationSourceProperty | ||
Результат |