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