Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

See also

IValueProvider
UI Automation Providers Overview

 

 

Show:
© 2018 Microsoft