AutomationProperties.GetIsDataValidForForm(DependencyObject) AutomationProperties.GetIsDataValidForForm(DependencyObject) AutomationProperties.GetIsDataValidForForm(DependencyObject) AutomationProperties.GetIsDataValidForForm(DependencyObject) Method

Definition

Gets a Boolean value that indicates whether the entered or selected value is valid for the form rule associated with the specified element.

public : static Platform::Boolean GetIsDataValidForForm(DependencyObject element)
static bool GetIsDataValidForForm(DependencyObject element) const;
public static bool GetIsDataValidForForm(DependencyObject element)
Public Shared Function GetIsDataValidForForm(element As DependencyObject) As bool

Parameters

element
DependencyObject DependencyObject

The element for which to get data validation.

Returns

bool 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.

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)