IRawElementProviderSimple interface

Defines methods and properties that expose simple UI elements.

Methods

The IRawElementProviderSimple interface has these methods.

Method Description
IRawElementProviderSimple::get_HostRawElementProvider Specifies the host provider for this element.
IRawElementProviderSimple::get_ProviderOptions Specifies the type of Microsoft UI Automation provider; for example, whether it is a client-side (proxy) or server-side provider.
IRawElementProviderSimple::GetPatternProvider Retrieves a pointer to an object that provides support for a control pattern on a Microsoft UI Automation element.
IRawElementProviderSimple::GetPropertyValue Retrieves the value of a property supported by the Microsoft UI Automation 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

   
Windows version Windows XP [desktop apps | UWP apps] Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See Also

IRawElementProviderFragment

IRawElementProviderFragmentRoot

Reference