AutomationPeer class
이 콘텐츠는 아직 번역되지 않았습니다.
Describes one element to assistive technology and automation clients: its role, name, state, position, its place in the automation tree, and the patterns it supports. A peer supports a pattern by implementing its interface, such as IInvokeProvider.
public abstract class AutomationPeerPublic Members
Section titled “Public Members”| name | description |
|---|---|
| GetAutomationId() | |
| GetBoundingRectangle() | The element’s bounds in its window’s client area, in DIPs. |
| GetChildren() | The peers directly below this one, in reading order. |
| GetControlType() | |
| GetHelpText() | |
| GetName() | The name a reader announces; empty when the element has none. |
| GetParent() | |
| GetProvider<T>() | The pattern T this peer supports, or null. |
| GetWindow() | The window whose client area GetBoundingRectangle is measured in. |
| HasKeyboardFocus() | |
| IsEnabled() | |
| IsKeyboardFocusable() | |
| IsOffscreen() | True when the element cannot be seen: it or an ancestor is hidden, or it has no area. |
| SetFocus() |
Remarks
Section titled “Remarks”Peers are used on the UI thread only.
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Automation