AutomationProperties.IsDataValidForForm Attached Property
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.
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.
- Type: Boolean
- Identifier field: IsDataValidForFormProperty
- Accessor methods: GetIsDataValidForForm, SetIsDataValidForForm
Applies to
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro