Property | Type | Description | |
---|---|---|---|
ValidationSourceProperty | |||
ValidationTargetProperty |
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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. |
return | void |
public ElementValidationHandler ( |
||
element | The element. | |
return | System |
public static GetValidationSource ( |
||
obj | The obj. | |
return | string |
public static GetValidationTarget ( |
||
obj | The obj. | |
return | string |
public static SetValidationSource ( |
||
obj | The obj. | |
value | string | The value. |
return | void |
public static SetValidationTarget ( |
||
obj | The obj. | |
value | string | The value. |
return | void |
public static DependencyProperty,System.Windows ValidationSourceProperty | ||
return |