AutomationElement 클래스
정의
UI Automation 트리의 UI Automation 요소를 나타내며 UI Automation 클라이언트 애플리케이션에서 식별자로 사용되는 값을 포함합니다.Represents a UI Automation element in the UI Automation tree, and contains values used as identifiers by UI Automation client applications.
public ref class AutomationElement sealed
public sealed class AutomationElement
type AutomationElement = class
Public NotInheritable Class AutomationElement
- 상속
-
AutomationElement
설명
AutomationElement 부분에 해당 UI(사용자 인터페이스)user interface (UI)의 내부 구현에 관계 없이 (같은 WPF(Windows Presentation Foundation)Windows Presentation Foundation (WPF) 또는 Win32Win32).An AutomationElement corresponds to a piece of UI(사용자 인터페이스)user interface (UI), regardless of underlying implementation (such as WPF(Windows Presentation Foundation)Windows Presentation Foundation (WPF) or Win32Win32).
필드
AcceleratorKeyProperty |
AcceleratorKey 속성을 식별합니다.Identifies the AcceleratorKey property. |
AccessKeyProperty | |
AsyncContentLoadedEvent |
비동기 콘텐츠 로드 중 발생하는 이벤트를 식별합니다.Identifies an event raised during asynchronous content-loading. |
AutomationFocusChangedEvent |
포커스가 변경될 때 발생하는 이벤트를 식별합니다.Identifies an event that is raised when the focus has changed. |
AutomationIdProperty |
요소를 식별하는 데 사용되는 AutomationId 속성을 식별합니다.Identifies the AutomationId property, which is used to identify elements. |
AutomationPropertyChangedEvent |
속성 변경 이벤트를 식별합니다.Identifies a property-changed event. |
BoundingRectangleProperty |
BoundingRectangle 속성을 식별합니다.Identifies the BoundingRectangle property. |
ClassNameProperty | |
ClickablePointProperty |
클릭 가능 지점 속성을 식별합니다.Identifies the clickable point property. |
ControlTypeProperty |
ControlType 속성을 식별합니다.Identifies the ControlType property. |
CultureProperty |
문화권 속성을 식별합니다.Identifies the culture property. |
FrameworkIdProperty |
FrameworkId 속성을 식별합니다.Identifies the FrameworkId property. |
HasKeyboardFocusProperty |
HasKeyboardFocus 속성을 식별합니다.Identifies the HasKeyboardFocus property. |
HelpTextProperty | |
IsContentElementProperty |
IsContentElement 속성을 식별합니다.Identifies the IsContentElement property. |
IsControlElementProperty |
IsControlElement 속성을 식별합니다.Identifies the IsControlElement property. |
IsDockPatternAvailableProperty |
이 AutomationElement에서 DockPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the DockPattern control pattern is available on this AutomationElement. |
IsEnabledProperty |
IsEnabled에서 참조하는 UI(사용자 인터페이스)user interface (UI) 항목을 사용할 수 있는지 여부를 지정하는 AutomationElement 속성을 식별합니다.Identifies the IsEnabled property, which specifies whether the UI(사용자 인터페이스)user interface (UI) item referenced by the AutomationElement is enabled. |
IsExpandCollapsePatternAvailableProperty |
이 AutomationElement에서 ExpandCollapsePattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the ExpandCollapsePattern control pattern is available on this AutomationElement. |
IsGridItemPatternAvailableProperty |
이 AutomationElement에서 GridItemPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the GridItemPattern control pattern is available on this AutomationElement. |
IsGridPatternAvailableProperty |
이 AutomationElement에서 GridPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the GridPattern control pattern is available on this AutomationElement. |
IsInvokePatternAvailableProperty |
이 AutomationElement에서 InvokePattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the InvokePattern control pattern is available on this AutomationElement. |
IsItemContainerPatternAvailableProperty |
이 AutomationElement에서 ItemContainerPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the ItemContainerPattern control pattern is available on this AutomationElement. |
IsKeyboardFocusableProperty |
IsKeyboardFocusable 속성을 식별합니다.Identifies the IsKeyboardFocusable property. |
IsMultipleViewPatternAvailableProperty |
이 AutomationElement에서 MultipleViewPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the MultipleViewPattern control pattern is available on this AutomationElement. |
IsOffscreenProperty |
IsOffscreen 항목이 화면에 표시되는지 여부를 나타내는 UI(사용자 인터페이스)user interface (UI) 속성을 식별합니다.Identifies the IsOffscreen property, which indicates whether the UI(사용자 인터페이스)user interface (UI) item is visible on the screen. |
IsPasswordProperty |
IsPassword 속성을 식별합니다.Identifies the IsPassword property. |
IsRangeValuePatternAvailableProperty |
이 AutomationElement에서 RangeValuePattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the RangeValuePattern control pattern is available on this AutomationElement. |
IsRequiredForFormProperty |
IsRequiredForForm 속성을 식별합니다.Identifies the IsRequiredForForm property. |
IsScrollItemPatternAvailableProperty |
이 AutomationElement에서 ScrollItemPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the ScrollItemPattern control pattern is available for this AutomationElement. |
IsScrollPatternAvailableProperty |
이 AutomationElement에서 ScrollPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the ScrollPattern control pattern is available on this AutomationElement. |
IsSelectionItemPatternAvailableProperty |
이 AutomationElement에서 SelectionItemPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the SelectionItemPattern control pattern is available on this AutomationElement. |
IsSelectionPatternAvailableProperty |
이 AutomationElement에서 SelectionPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the SelectionPattern control pattern is available on this AutomationElement. |
IsSynchronizedInputPatternAvailableProperty |
이 AutomationElement에서 SynchronizedInputPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the SynchronizedInputPattern control pattern is available on this AutomationElement. |
IsTableItemPatternAvailableProperty |
이 AutomationElement에서 TableItemPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the TableItemPattern control pattern is available on this AutomationElement. |
IsTablePatternAvailableProperty |
이 AutomationElement에서 TablePattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the TablePattern control pattern is available on this AutomationElement. |
IsTextPatternAvailableProperty |
이 AutomationElement에서 TextPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the TextPattern control pattern is available on this AutomationElement. |
IsTogglePatternAvailableProperty |
이 AutomationElement에서 TogglePattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the TogglePattern control pattern is available on this AutomationElement. |
IsTransformPatternAvailableProperty |
이 AutomationElement에서 TransformPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the TransformPattern control pattern is available on this AutomationElement. |
IsValuePatternAvailableProperty |
이 AutomationElement에서 ValuePattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the ValuePattern control pattern is available on this AutomationElement. |
IsVirtualizedItemPatternAvailableProperty |
이 AutomationElement에서 VirtualizedItemPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the VirtualizedItemPattern control pattern is available on this AutomationElement. |
IsWindowPatternAvailableProperty |
이 AutomationElement에서 WindowPattern 컨트롤 패턴을 사용할 수 있는지 여부를 나타내는 속성을 식별합니다.Identifies the property that indicates whether the WindowPattern control pattern is available on this AutomationElement. |
ItemStatusProperty |
복합 항목의 시각적 표시 상태를 지정하는 ItemStatus 속성을 식별합니다.Identifies the ItemStatus property, which specifies the status of the visual representation of a complex item. |
ItemTypeProperty | |
LabeledByProperty |
컨트롤에 연결된 레이블을 식별하는 LabeledBy 속성을 식별합니다.Identifies the LabeledBy property, which identifies the label associated with a control. |
LayoutInvalidatedEvent |
레이아웃이 무효화될 때 발생하는 이벤트를 식별합니다.Identifies the event that is raised when the layout is invalidated. |
LocalizedControlTypeProperty |
로컬 언어로 LocalizedControlType 속성을 식별합니다.Identifies the LocalizedControlType property in the local language. |
MenuClosedEvent |
메뉴가 닫힐 때 발생하는 이벤트를 식별합니다.Identifies the event that is raised when a menu is closed. |
MenuOpenedEvent |
메뉴가 열릴 때 발생하는 이벤트를 식별합니다.Identifies the event that is raised when a menu is opened. |
NameProperty | |
NativeWindowHandleProperty |
NativeWindowHandle 속성을 식별합니다.Identifies the NativeWindowHandle property. |
NotSupported |
속성이 지원되지 않음을 나타냅니다.Indicates that a property is not supported. |
OrientationProperty |
Orientation 속성을 식별합니다.Identifies the Orientation property. |
PositionInSetProperty |
형제로 간주되는 일련의 요소 내에서 자동화 요소의 서수 위치를 설명합니다.Describes the ordinal location of an automation element within a set of elements that are considered to be siblings. |
ProcessIdProperty | |
RuntimeIdProperty |
요소의 런타임 식별자를 포함하는 속성을 식별합니다.Identifies the property that contains the runtime identifier of the element. |
SizeOfSetProperty |
형제로 간주되는 그룹 또는 세트에서 자동화 요소 수를 설명합니다.Describes the count of automation elements in a group or set that are considered to be siblings. |
StructureChangedEvent |
UI 자동화UI Automation 트리 구조가 변경될 때 발생하는 이벤트를 식별합니다.Identifies the event that is raised when the UI 자동화UI Automation tree structure is changed. |
ToolTipClosedEvent |
도구 설명이 닫힐 때 발생하는 이벤트를 식별합니다.Identifies the event that is raised when a tooltip is closed. |
ToolTipOpenedEvent |
도구 설명이 열릴 때 발생하는 이벤트를 식별합니다.Identifies the event that is raised when a tooltip is opened. |
속성
Cached |
이 UI 자동화UI Automation 개체에 대해 캐시된 AutomationElement 속성 값을 가져옵니다.Gets the cached UI 자동화UI Automation property values for this AutomationElement object. |
CachedChildren |
이 AutomationElement의 캐시된 하위 요소 1을 가져 옵니다.Gets the cached child elements of this AutomationElement. |
CachedParent |
이 AutomationElement의 캐시된 부모를 가져옵니다.Gets the cached parent of this AutomationElement. |
Current |
AutomationElement의 현재 속성 값을 가져옵니다.Gets the current property values of the AutomationElement. |
FocusedElement |
현재 포커스를 받고 있는 AutomationElement를 가져옵니다.Gets the AutomationElement that currently has focus. |
RootElement |
현재 데스크톱의 루트 AutomationElement를 가져옵니다.Gets the root AutomationElement for the current desktop. |
메서드
Equals(Object) |
지정된 AutomationElement의 값이 이 AutomationElement와 같은지 여부를 확인합니다.Determines whether the specified AutomationElement has the same value as this AutomationElement. |
Finalize() |
가비지 컬렉션이 회수하기 전에 개체가 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다.Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
FindAll(TreeScope, Condition) |
지정된 조건에 맞는 모든 AutomationElement 개체를 반환합니다.Returns all AutomationElement objects that satisfy the specified condition. |
FindFirst(TreeScope, Condition) |
지정된 조건에 맞는 첫 번째 자식이나 하위 요소를 반환합니다.Returns the first child or descendant element that matches the specified condition. |
FromHandle(IntPtr) |
지정된 창 핸들에서 참조하는 UI(사용자 인터페이스)user interface (UI) 항목의 새 AutomationElement 개체를 검색합니다.Retrieves a new AutomationElement object for the UI(사용자 인터페이스)user interface (UI) item referenced by the specified window handle. |
FromLocalProvider(IRawElementProviderSimple) |
로컬 IRawElementProviderSimple 구현에서 새 AutomationElement 개체를 검색합니다.Retrieves a new AutomationElement object from a local IRawElementProviderSimple implementation. |
FromPoint(Point) |
데스크톱에서 지정된 지점에 있는 AutomationElement 항목의 새 UI(사용자 인터페이스)user interface (UI) 개체를 검색합니다.Retrieves a new AutomationElement object for the UI(사용자 인터페이스)user interface (UI) item at specified point on the desktop. |
GetCachedPattern(AutomationPattern) |
이 AutomationElement의 캐시에서 지정된 패턴을 검색합니다.Retrieves the specified pattern from the cache of this AutomationElement. |
GetCachedPropertyValue(AutomationProperty) |
이 AutomationElement의 캐시에서 지정된 속성의 값을 검색합니다.Retrieves the value of the specified property from the cache of this AutomationElement. 대상 UI(사용자 인터페이스)user interface (UI) 요소에서 해당 속성을 명시적으로 지원하지 않는 경우에는 속성 형식의 적절한 기본값이 반환됩니다.An appropriate default value for the property type is returned for properties not explicitly supported by the target UI(사용자 인터페이스)user interface (UI) element. |
GetCachedPropertyValue(AutomationProperty, Boolean) |
이 AutomationElement의 캐시에서 지정된 속성의 값을 검색하고, 기본 속성을 선택적으로 무시할 수 있습니다.Retrieves the value of the specified property from the cache of this AutomationElement, optionally ignoring any default property. |
GetClickablePoint() |
AutomationElement에서 클릭할 수 있는 지점을 검색합니다.Retrieves a point on the AutomationElement that can be clicked. |
GetCurrentPattern(AutomationPattern) |
이 AutomationElement에서 지정된 패턴 개체를 검색합니다.Retrieves the specified pattern object on this AutomationElement. |
GetCurrentPropertyValue(AutomationProperty) |
이 AutomationElement의 지정된 속성 값을 검색합니다.Retrieves the value of the specified property on this AutomationElement. 대상 UI(사용자 인터페이스)user interface (UI) 요소에서 해당 속성을 명시적으로 지원하지 않는 경우에는 속성 형식의 적절한 기본값이 반환됩니다.An appropriate default value for the property type is returned for properties not explicitly supported by the target UI(사용자 인터페이스)user interface (UI) element. |
GetCurrentPropertyValue(AutomationProperty, Boolean) |
이 AutomationElement에서 지정된 속성의 값을 검색하고, 기본 속성을 선택적으로 무시할 수 있습니다.Retrieves the value of the specified property on this AutomationElement, optionally ignoring any default property. |
GetHashCode() |
이 AutomationElement의 해시 코드를 검색합니다.Retrieves the hash code for this AutomationElement. |
GetRuntimeId() |
UI(사용자 인터페이스)user interface (UI) 항목에 할당된 고유 식별자를 검색합니다.Retrieves the unique identifier assigned to the UI(사용자 인터페이스)user interface (UI) item. |
GetSupportedPatterns() |
이 AutomationElement에서 지원하는 컨트롤 패턴을 검색합니다.Retrieves the control patterns that this AutomationElement supports. |
GetSupportedProperties() |
요소에서 지원하는 속성의 식별자를 검색합니다.Retrieves the identifiers of properties supported by the element. |
GetType() |
현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance. (다음에서 상속됨 Object) |
GetUpdatedCache(CacheRequest) |
캐시가 업데이트된 새 AutomationElement를 검색합니다.Retrieves a new AutomationElement with an updated cache. |
MemberwiseClone() |
현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object. (다음에서 상속됨 Object) |
SetFocus() |
AutomationElement에 집중합니다.Sets focus on the AutomationElement. |
ToString() |
현재 개체를 나타내는 문자열을 반환합니다.Returns a string that represents the current object. (다음에서 상속됨 Object) |
TryGetCachedPattern(AutomationPattern, Object) |
캐시에서 컨트롤 패턴을 검색합니다.Retrieves a control pattern from the cache. |
TryGetClickablePoint(Point) |
요소 내에서 클릭할 수 있는 지점을 검색합니다.Retrieves a point within the element that can be clicked. |
TryGetCurrentPattern(AutomationPattern, Object) |
컨트롤 패턴을 구현하는 개체를 검색합니다.Retrieves an object that implements a control pattern. |
연산자
Equality(AutomationElement, AutomationElement) |
지정된 AutomationElement 개체가 같은 UI(사용자 인터페이스)user interface (UI) 요소를 참조하는지 여부를 나타내는 값을 반환합니다.Returns a value indicating whether the specified AutomationElement objects refer to the same UI(사용자 인터페이스)user interface (UI) element. |
Inequality(AutomationElement, AutomationElement) |
지정된 AutomationElement 개체가 서로 다른 UI(사용자 인터페이스)user interface (UI) 요소를 참조하는지 여부를 나타내는 값을 반환합니다.Returns a value indicating whether the specified AutomationElement objects refer to different UI(사용자 인터페이스)user interface (UI) elements. |