
IValueProvider::IsReadOnly property
Indicates whether the value of a control is read-only.
This property is read-only.
Syntax
HRESULT get_IsReadOnly( [out, retval] BOOL *pRetVal );
Property value
Type: BOOL*
TRUE if the value is read-only; FALSE if it can be modified. This parameter is passed uninitialized.
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] |
Header |
|
IDL |
|
See also