Udostępnij za pośrednictwem


AutomationPeer.IsDataValidForFormCore Method

Definition

Provides the peer’s behavior when a Microsoft UI Automation client accesses IsDataValidForForm or an equivalent Microsoft UI Automation client API.

protected:
 virtual bool IsDataValidForFormCore() = IsDataValidForFormCore;
bool IsDataValidForFormCore();
protected virtual bool IsDataValidForFormCore();
function isDataValidForFormCore()
Protected Overridable Function IsDataValidForFormCore () As Boolean

Returns

Boolean

bool

A Boolean value that indicates whether the entered or selected value is valid for the form rule associated with the automation element.

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