Share via


AutomationProperties.IsDataValidForFormProperty Property

Definition

Identifies the Boolean dependency property that indicates if the data is valid for the form.

public:
 static property DependencyProperty ^ IsDataValidForFormProperty { DependencyProperty ^ get(); };
static DependencyProperty IsDataValidForFormProperty();
public static DependencyProperty IsDataValidForFormProperty { get; }
var dependencyProperty = AutomationProperties.isDataValidForFormProperty;
Public Shared ReadOnly Property IsDataValidForFormProperty As DependencyProperty

Property Value

The dependency property identifier.

Remarks

The IsDataValidForForm property indicates whether the entered or selected value is valid for the form rule associated with the automation element. For example, if the user entered "425-555-5555" for a zip code field that requires 5 or 9 digits, the IsDataValidForForm property can be set to false to indicate that the data is not valid.

Applies to