IRawElementProviderSimple Interface

Definition

Provides methods and properties that expose basic information about a UI element.

C#
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("d6dd68d1-86fd-4332-8666-9abedea2d24c")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IRawElementProviderSimple
C#
public interface IRawElementProviderSimple
Derived
Attributes

Remarks

This interface can be implemented on UI Automation providers for simple elements such as buttons. It can also be implemented on providers that contribute additional properties or control patterns, or override existing properties or control patterns, on an element that already has a default provider.

Providers for complex elements must implement IRawElementProviderFragment or IRawElementProviderFragmentRoot.

Properties

HostRawElementProvider

Gets a base provider for this element.

ProviderOptions

Gets a value that specifies characteristics of the UI Automation provider; for example, whether it is a client-side or server-side provider.

Methods

GetPatternProvider(Int32)

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

GetPropertyValue(Int32)

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

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also