IRawElementProviderSimple class

Applies to Windows and Windows Phone

Provides methods and properties that expose basic information about a UI element. IRawElementProviderSimple is a Windows Runtime class, not an interface.

Inheritance

Object
  DependencyObject
    IRawElementProviderSimple

Syntax


public ref class IRawElementProviderSimple sealed : DependencyObject

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

Members

The IRawElementProviderSimple class has these types of members:

Methods

The IRawElementProviderSimple class has these methods. It also inherits methods from the Object class.

MethodDescription
ClearValue Clears the local value of a dependency property. (Inherited from DependencyObject)
GetAnimationBaseValue Returns any base value established for a dependency property, which would apply in cases where an animation is not active. (Inherited from DependencyObject)
GetValue Returns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject)
ReadLocalValue Returns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject)
SetValue Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject)

 

Properties

The IRawElementProviderSimple class has these properties.

PropertyAccess typeDescription

Dispatcher

Read-onlyGets the CoreDispatcher that this object is associated with. (Inherited from DependencyObject)

 

Remarks

This type is not an interface in this implementation. In fact, it is a DependencyObject, and includes basic dependency property support. The main reason for the specific implementation of IRawElementProviderSimple in the Windows Runtime is to provide the input parameter and return value type for FindItemByProperty.

Because it's a class, IRawElementProviderSimple can't be used for the COM scenario where providers add properties or control patterns on a UI element that already has a provider.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation.Provider
Windows::UI::Xaml::Automation::Provider [C++]

Metadata

Windows.winmd

See also

DependencyObject
IRawElementProviderSimple (COM interface)
FindItemByProperty

 

 

Show:
© 2014 Microsoft