AutomationElement クラス
定義
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) は、基になる実装 (やなど) に関係なく、の一部に対応し Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) Win32Win32 ます。An AutomationElement corresponds to a piece of ユーザー インターフェイス (UI)user interface (UI), regardless of underlying implementation (such as Windows Presentation Foundation (WPF)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 |
この DockPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。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 |
この ExpandCollapsePattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the ExpandCollapsePattern control pattern is available on this AutomationElement. |
IsGridItemPatternAvailableProperty |
この GridItemPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the GridItemPattern control pattern is available on this AutomationElement. |
IsGridPatternAvailableProperty |
この GridPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the GridPattern control pattern is available on this AutomationElement. |
IsInvokePatternAvailableProperty |
この InvokePattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the InvokePattern control pattern is available on this AutomationElement. |
IsItemContainerPatternAvailableProperty |
この ItemContainerPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the ItemContainerPattern control pattern is available on this AutomationElement. |
IsKeyboardFocusableProperty |
IsKeyboardFocusable プロパティを識別します。Identifies the IsKeyboardFocusable property. |
IsMultipleViewPatternAvailableProperty |
この MultipleViewPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the MultipleViewPattern control pattern is available on this AutomationElement. |
IsOffscreenProperty |
ユーザー インターフェイス (UI)user interface (UI) 項目が画面に表示されているかどうかを示す IsOffscreen プロパティを識別します。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 |
この RangeValuePattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the RangeValuePattern control pattern is available on this AutomationElement. |
IsRequiredForFormProperty |
IsRequiredForForm プロパティを識別します。Identifies the IsRequiredForForm property. |
IsScrollItemPatternAvailableProperty |
この ScrollItemPattern に対して AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the ScrollItemPattern control pattern is available for this AutomationElement. |
IsScrollPatternAvailableProperty |
この ScrollPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the ScrollPattern control pattern is available on this AutomationElement. |
IsSelectionItemPatternAvailableProperty |
この SelectionItemPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the SelectionItemPattern control pattern is available on this AutomationElement. |
IsSelectionPatternAvailableProperty |
この SelectionPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the SelectionPattern control pattern is available on this AutomationElement. |
IsSynchronizedInputPatternAvailableProperty |
この SynchronizedInputPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the SynchronizedInputPattern control pattern is available on this AutomationElement. |
IsTableItemPatternAvailableProperty |
この TableItemPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the TableItemPattern control pattern is available on this AutomationElement. |
IsTablePatternAvailableProperty |
この TablePattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the TablePattern control pattern is available on this AutomationElement. |
IsTextPatternAvailableProperty |
この TextPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the TextPattern control pattern is available on this AutomationElement. |
IsTogglePatternAvailableProperty |
この TogglePattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the TogglePattern control pattern is available on this AutomationElement. |
IsTransformPatternAvailableProperty |
この TransformPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the TransformPattern control pattern is available on this AutomationElement. |
IsValuePatternAvailableProperty |
この ValuePattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the ValuePattern control pattern is available on this AutomationElement. |
IsVirtualizedItemPatternAvailableProperty |
この VirtualizedItemPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。Identifies the property that indicates whether the VirtualizedItemPattern control pattern is available on this AutomationElement. |
IsWindowPatternAvailableProperty |
この WindowPattern で AutomationElement コントロール パターンを使用できるかどうかを示すプロパティを識別します。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 のキャッシュされた子要素を取得します。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) |
指定したウィンドウ ハンドルによって参照される AutomationElement 項目の新しい ユーザー インターフェイス (UI)user interface (UI) オブジェクトを取得します。Retrieves a new AutomationElement object for the ユーザー インターフェイス (UI)user interface (UI) item referenced by the specified window handle. |
FromLocalProvider(IRawElementProviderSimple) |
ローカル AutomationElement 実装から新しい IRawElementProviderSimple オブジェクトを取得します。Retrieves a new AutomationElement object from a local IRawElementProviderSimple implementation. |
FromPoint(Point) |
デスクトップ上の指定したポイントにある ユーザー インターフェイス (UI)user interface (UI) 項目の新しい AutomationElement オブジェクトを取得します。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. |