Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IRawElementProviderSimple Interface

Definition

Namespace:
System.Windows.Automation.Provider
Assembly:
UIAutomationProvider.dll
Assemblies:
UIAutomationProvider.dll, UIAutomationTypes.dll
Assembly:
UIAutomationTypes.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public interface class IRawElementProviderSimple
[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
public interface IRawElementProviderSimple
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("d6dd68d1-86fd-4332-8666-9abedea2d24c")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IRawElementProviderSimple = interface
type IRawElementProviderSimple = interface
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

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.

Methods

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.

Applies to

See also


Feedback

Was this page helpful?