cachedIsSelected property
bool
get
cachedIsSelected
A cached value that indicates whether this item is selected.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationselectionitempattern-get_cachedisselected.
Implementation
bool get cachedIsSelected {
final retVal = adaptiveCalloc<Int32>();
final hr$ = HRESULT(_get_CachedIsSelectedFn(ptr, retVal));
if (hr$.isError) {
free(retVal);
throw WindowsException(hr$);
}
final result$ = retVal.value;
free(retVal);
return result$ != FALSE;
}