IValueProvider::get_IsReadOnly method (uiautomationcore.h)

Indicates whether the value of a control is read-only.

This property is read-only.

Syntax

HRESULT get_IsReadOnly(
  BOOL *pRetVal
);

Parameters

pRetVal

Return value

None

Remarks

A control should have its IsEnabled property (UIA_IsEnabledPropertyId) set to TRUE and its IValueProvider::IsReadOnly property set to FALSE before allowing a call to IValueProvider::SetValue.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

IValueProvider

UI Automation Providers Overview