IRawElementProviderSimple Interface
Definition
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
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
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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για