Validation.ClearInvalid(BindingExpressionBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes all ValidationError objects from the specified BindingExpressionBase object.
public:
static void ClearInvalid(System::Windows::Data::BindingExpressionBase ^ bindingExpression);
public static void ClearInvalid (System.Windows.Data.BindingExpressionBase bindingExpression);
static member ClearInvalid : System.Windows.Data.BindingExpressionBase -> unit
Public Shared Sub ClearInvalid (bindingExpression As BindingExpressionBase)
Parameters
- bindingExpression
- BindingExpressionBase
The object to turn valid.
Exceptions
If bindingExpression
is null
.
Remarks
The bindingExpression
object may have been invalid from a MarkInvalid call or a previously failed validation. The object is valid after this call.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.