Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.