Export (0) Print
Expand All

IRawElementProviderSimple Interface

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

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

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
[GuidAttribute("d6dd68d1-86fd-4332-8666-9abedea2d24c")]
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, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft