cachedIsEnabled property
bool
get
cachedIsEnabled
Retrieves a cached value that indicates whether the element is enabled.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-get_cachedisenabled.
Implementation
bool get cachedIsEnabled {
final retVal = adaptiveCalloc<Int32>();
final hr$ = HRESULT(_get_CachedIsEnabledFn(ptr, retVal));
if (hr$.isError) {
free(retVal);
throw WindowsException(hr$);
}
final result$ = retVal.value;
free(retVal);
return result$ != FALSE;
}