Delen via


AutomationProperties.IsDataValidForForm Attached Property

Definition

Gets or sets a value that indicates whether the data is valid for the form.

see GetIsDataValidForForm, and SetIsDataValidForForm
see GetIsDataValidForForm, and SetIsDataValidForForm
see GetIsDataValidForForm, and SetIsDataValidForForm

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

The IsDataValidForForm property indicates whether the entered or selected value is valid for the form rule associated with the automation element. For example, if the user entered "425-555-5555" for a zip code field that requires 5 or 9 digits, the IsDataValidForForm property can be set to false to indicate that the data is not valid.

Applies to

See also