IValueProvider::get_IsReadOnly method

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

   
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