Dela via


AutomationProperties.GetIsDataValidForForm(DependencyObject) Method

Definition

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)

Applies to

See also