currentIsDataValidForForm property
bool
get
currentIsDataValidForForm
Indicates whether the element contains valid data for a form.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-get_currentisdatavalidforform.
Implementation
bool get currentIsDataValidForForm {
final retVal = adaptiveCalloc<Int32>();
final hr$ = HRESULT(_get_CurrentIsDataValidForFormFn(ptr, retVal));
if (hr$.isError) {
free(retVal);
throw WindowsException(hr$);
}
final result$ = retVal.value;
free(retVal);
return result$ != FALSE;
}