Skip to main content
IRawElementProviderSimple interface

Defines methods and properties that expose simple UI elements.

Members

The IRawElementProviderSimple interface inherits from the IUnknown interface. IRawElementProviderSimple also has these types of members:

Methods

The IRawElementProviderSimple interface has these methods.

MethodDescription
GetPatternProvider

Retrieves a pointer to an object that provides support for a control pattern on a UI Automation element.

GetPropertyValue

Retrieves the value of a property supported by the UI Automation provider.

 

Properties

The IRawElementProviderSimple interface has these properties.

PropertyAccess typeDescription

HostRawElementProvider

Read-only

Specifies the host provider for this element.

ProviderOptions

Read-only

Specifies the type of UI Automation provider; for example, whether it is a client-side (proxy) or server-side provider.

 

Remarks

This interface can be implemented on:

  • UI Automation provider for simple UI elements, such as buttons.
  • Providers that add or override properties or control patterns on a UI element that already has a provider.

Providers for complex elements must also implement IRawElementProviderFragment and, if they are root elements, IRawElementProviderFragmentRoot.

Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

DLL

UIAutomationCore.dll

IID

IID_IRawElementProviderSimple is defined as d6dd68d1-86fd-4332-8666-9abedea2d24c

See also

Reference
IRawElementProviderFragment
IRawElementProviderFragmentRoot