AutomationProperties.GetIsDataValidForForm(DependencyObject) 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.
Gets the value of the AutomationProperties.IsDataValidForForm property for the specified DependencyObject.
public:
static bool GetIsDataValidForForm(DependencyObject ^ element);
static bool GetIsDataValidForForm(DependencyObject const& element);
public static bool GetIsDataValidForForm(DependencyObject element);
function getIsDataValidForForm(element)
Public Shared Function GetIsDataValidForForm (element As DependencyObject) As Boolean
Parameters
- element
- DependencyObject
The element for which to get data validation.
Returns
Boolean
bool
A Boolean value that indicates whether the entered or selected value is valid for the form rule associated with the object specified by the element parameter.
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|