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

Applies to