Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IRawElementProviderSimple Interface

IRawElementProviderSimple Interface

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

Namespace:  System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

[ComVisibleAttribute(true)]
[GuidAttribute("d6dd68d1-86fd-4332-8666-9abedea2d24c")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRawElementProviderSimple

The IRawElementProviderSimple type exposes the following members.

  NameDescription
Public propertyHostRawElementProviderGets a base provider for this element.
Public propertyProviderOptionsGets a value that specifies characteristics of the UI Automation provider; for example, whether it is a client-side or server-side provider.
Top

  NameDescription
Public methodGetPatternProviderRetrieves an object that provides support for a control pattern on a UI Automation element.
Public methodGetPropertyValueRetrieves the value of a property supported by the UI Automation provider.
Top

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft