IRawElementProviderSimple Interface
Provides methods and properties that expose basic information about a UI element.
Assembly: UIAutomationProvider (in UIAutomationProvider.dll)
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | 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. |
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.
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
System.Windows.Automation.Provider Namespace
UI Automation Providers Overview
Server-Side UI Automation Provider Implementation
Simple Provider Sample
Fragment Provider Sample

