C# Class System.Windows.Automation.AutomationElement

Datei anzeigen Open project: apetrovskiy/STUPS Class Usage Examples

Public Properties

Property Type Description
AcceleratorKeyProperty AutomationProperty
AccessKeyProperty AutomationProperty
AriaPropertiesProperty AutomationProperty
AriaRoleProperty AutomationProperty
AsyncContentLoadedEvent AutomationEvent
AutomationFocusChangedEvent AutomationEvent
AutomationIdProperty AutomationProperty
AutomationPropertyChangedEvent AutomationEvent
BoundingRectangleProperty AutomationProperty
ClassNameProperty AutomationProperty
ClickablePointProperty AutomationProperty
ControlTypeProperty AutomationProperty
ControllerForProperty AutomationProperty
CultureProperty AutomationProperty
DescribedByProperty AutomationProperty
FlowsToProperty AutomationProperty
FrameworkIdProperty AutomationProperty
HasKeyboardFocusProperty AutomationProperty
HelpTextProperty AutomationProperty
HostedFragmentRootsInvalidatedEvent AutomationEvent
IsAnnotationPatternAvailableProperty AutomationProperty
IsContentElementProperty AutomationProperty
IsControlElementProperty AutomationProperty
IsDataValidForFormProperty AutomationProperty
IsDockPatternAvailableProperty AutomationProperty
IsDragPatternAvailableProperty AutomationProperty
IsDropTargetPatternAvailableProperty AutomationProperty
IsEnabledProperty AutomationProperty
IsExpandCollapsePatternAvailableProperty AutomationProperty
IsGridItemPatternAvailableProperty AutomationProperty
IsGridPatternAvailableProperty AutomationProperty
IsInvokePatternAvailableProperty AutomationProperty
IsItemContainerPatternAvailableProperty AutomationProperty
IsKeyboardFocusableProperty AutomationProperty
IsLegacyIAccessiblePatternAvailableProperty AutomationProperty
IsMultipleViewPatternAvailableProperty AutomationProperty
IsObjectModelPatternAvailableProperty AutomationProperty
IsOffscreenProperty AutomationProperty
IsPasswordProperty AutomationProperty
IsRangeValuePatternAvailableProperty AutomationProperty
IsRequiredForFormProperty AutomationProperty
IsScrollItemPatternAvailableProperty AutomationProperty
IsScrollPatternAvailableProperty AutomationProperty
IsSelectionItemPatternAvailableProperty AutomationProperty
IsSelectionPatternAvailableProperty AutomationProperty
IsSpreadsheetItemPatternAvailableProperty AutomationProperty
IsSpreadsheetPatternAvailableProperty AutomationProperty
IsStylesPatternAvailableProperty AutomationProperty
IsSynchronizedInputPatternAvailableProperty AutomationProperty
IsTableItemPatternAvailableProperty AutomationProperty
IsTablePatternAvailableProperty AutomationProperty
IsTextChildPatternAvailableProperty AutomationProperty
IsTextPattern2AvailableProperty AutomationProperty
IsTextPatternAvailableProperty AutomationProperty
IsTogglePatternAvailableProperty AutomationProperty
IsTransformPattern2AvailableProperty AutomationProperty
IsTransformPatternAvailableProperty AutomationProperty
IsValuePatternAvailableProperty AutomationProperty
IsVirtualizedItemPatternAvailableProperty AutomationProperty
IsWindowPatternAvailableProperty AutomationProperty
ItemStatusProperty AutomationProperty
ItemTypeProperty AutomationProperty
LabeledByProperty AutomationProperty
LayoutInvalidatedEvent AutomationEvent
LiveRegionChangedEvent AutomationEvent
LiveSettingProperty AutomationProperty
LocalizedControlTypeProperty AutomationProperty
MenuClosedEvent AutomationEvent
MenuModeEndEvent AutomationEvent
MenuModeStartEvent AutomationEvent
MenuOpenedEvent AutomationEvent
NameProperty AutomationProperty
NativeWindowHandleProperty AutomationProperty
NotSupported object
OptimizeForVisualContentProperty AutomationProperty
OrientationProperty AutomationProperty
ProcessIdProperty AutomationProperty
ProviderDescriptionProperty AutomationProperty
RuntimeIdProperty AutomationProperty
StructureChangedEvent AutomationEvent
SystemAlertEvent AutomationEvent
ToolTipClosedEvent AutomationEvent
ToolTipOpenedEvent AutomationEvent

Public Methods

Method Description
Equals ( object obj ) : bool
FindAll ( TreeScope scope, Condition condition ) : AutomationElementCollection
FindFirst ( TreeScope scope, Condition condition ) : AutomationElement
FromHandle ( IntPtr hwnd ) : AutomationElement
FromIAccessible ( Accessibility acc, int childId ) : AutomationElement
FromLocalProvider ( object localImpl ) : AutomationElement
FromPoint ( System.Point pt ) : AutomationElement
GetCachedPattern ( AutomationPattern pattern ) : object
GetCachedPropertyValue ( AutomationProperty property ) : object
GetCachedPropertyValue ( AutomationProperty property, bool ignoreDefaultValue ) : object
GetClickablePoint ( ) : System.Point
GetCurrentPattern ( AutomationPattern pattern ) : object
GetCurrentPropertyValue ( AutomationProperty property ) : object
GetCurrentPropertyValue ( AutomationProperty property, bool ignoreDefaultValue ) : object
GetHashCode ( ) : int
GetRuntimeId ( ) : int[]
GetSupportedPatterns ( ) : System.Windows.Automation.AutomationPattern[]
GetSupportedProperties ( ) : System.Windows.Automation.AutomationProperty[]
GetUpdatedCache ( CacheRequest request ) : AutomationElement
SetFocus ( ) : void
TryGetCachedPattern ( AutomationPattern pattern, object &patternObject ) : bool
TryGetClickablePoint ( Point &pt ) : bool
TryGetCurrentPattern ( AutomationPattern pattern, object &patternObject ) : bool
operator ( ) : bool

Private Methods

Method Description
AutomationElement ( UIAutomationClient obj ) : System
GetPropertyValue ( AutomationProperty property, bool cached ) : object
GetRawPattern ( AutomationPattern pattern, bool isCached ) : object
Wrap ( UIAutomationClient obj ) : AutomationElement

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FindAll() public method

public FindAll ( TreeScope scope, Condition condition ) : AutomationElementCollection
scope TreeScope
condition Condition
return AutomationElementCollection

FindFirst() public method

public FindFirst ( TreeScope scope, Condition condition ) : AutomationElement
scope TreeScope
condition Condition
return AutomationElement

FromHandle() public static method

public static FromHandle ( IntPtr hwnd ) : AutomationElement
hwnd System.IntPtr
return AutomationElement

FromIAccessible() public static method

public static FromIAccessible ( Accessibility acc, int childId ) : AutomationElement
acc Accessibility
childId int
return AutomationElement

FromLocalProvider() public static method

public static FromLocalProvider ( object localImpl ) : AutomationElement
localImpl object
return AutomationElement

FromPoint() public static method

public static FromPoint ( System.Point pt ) : AutomationElement
pt System.Point
return AutomationElement

GetCachedPattern() public method

public GetCachedPattern ( AutomationPattern pattern ) : object
pattern AutomationPattern
return object

GetCachedPropertyValue() public method

public GetCachedPropertyValue ( AutomationProperty property ) : object
property AutomationProperty
return object

GetCachedPropertyValue() public method

public GetCachedPropertyValue ( AutomationProperty property, bool ignoreDefaultValue ) : object
property AutomationProperty
ignoreDefaultValue bool
return object

GetClickablePoint() public method

public GetClickablePoint ( ) : System.Point
return System.Point

GetCurrentPattern() public method

public GetCurrentPattern ( AutomationPattern pattern ) : object
pattern AutomationPattern
return object

GetCurrentPropertyValue() public method

public GetCurrentPropertyValue ( AutomationProperty property ) : object
property AutomationProperty
return object

GetCurrentPropertyValue() public method

public GetCurrentPropertyValue ( AutomationProperty property, bool ignoreDefaultValue ) : object
property AutomationProperty
ignoreDefaultValue bool
return object

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetRuntimeId() public method

public GetRuntimeId ( ) : int[]
return int[]

GetSupportedPatterns() public method

public GetSupportedPatterns ( ) : System.Windows.Automation.AutomationPattern[]
return System.Windows.Automation.AutomationPattern[]

GetSupportedProperties() public method

public GetSupportedProperties ( ) : System.Windows.Automation.AutomationProperty[]
return System.Windows.Automation.AutomationProperty[]

GetUpdatedCache() public method

public GetUpdatedCache ( CacheRequest request ) : AutomationElement
request CacheRequest
return AutomationElement

SetFocus() public method

public SetFocus ( ) : void
return void

TryGetCachedPattern() public method

public TryGetCachedPattern ( AutomationPattern pattern, object &patternObject ) : bool
pattern AutomationPattern
patternObject object
return bool

TryGetClickablePoint() public method

public TryGetClickablePoint ( Point &pt ) : bool
pt Point
return bool

TryGetCurrentPattern() public method

public TryGetCurrentPattern ( AutomationPattern pattern, object &patternObject ) : bool
pattern AutomationPattern
patternObject object
return bool

operator() public static method

public static operator ( ) : bool
return bool

Property Details

AcceleratorKeyProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation AcceleratorKeyProperty
return AutomationProperty

AccessKeyProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation AccessKeyProperty
return AutomationProperty

AriaPropertiesProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation AriaPropertiesProperty
return AutomationProperty

AriaRoleProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation AriaRoleProperty
return AutomationProperty

AsyncContentLoadedEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation AsyncContentLoadedEvent
return AutomationEvent

AutomationFocusChangedEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation AutomationFocusChangedEvent
return AutomationEvent

AutomationIdProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation AutomationIdProperty
return AutomationProperty

AutomationPropertyChangedEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation AutomationPropertyChangedEvent
return AutomationEvent

BoundingRectangleProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation BoundingRectangleProperty
return AutomationProperty

ClassNameProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation ClassNameProperty
return AutomationProperty

ClickablePointProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation ClickablePointProperty
return AutomationProperty

ControlTypeProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation ControlTypeProperty
return AutomationProperty

ControllerForProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation ControllerForProperty
return AutomationProperty

CultureProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation CultureProperty
return AutomationProperty

DescribedByProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation DescribedByProperty
return AutomationProperty

FlowsToProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation FlowsToProperty
return AutomationProperty

FrameworkIdProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation FrameworkIdProperty
return AutomationProperty

HasKeyboardFocusProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation HasKeyboardFocusProperty
return AutomationProperty

HelpTextProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation HelpTextProperty
return AutomationProperty

HostedFragmentRootsInvalidatedEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation HostedFragmentRootsInvalidatedEvent
return AutomationEvent

IsAnnotationPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsAnnotationPatternAvailableProperty
return AutomationProperty

IsContentElementProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsContentElementProperty
return AutomationProperty

IsControlElementProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsControlElementProperty
return AutomationProperty

IsDataValidForFormProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsDataValidForFormProperty
return AutomationProperty

IsDockPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsDockPatternAvailableProperty
return AutomationProperty

IsDragPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsDragPatternAvailableProperty
return AutomationProperty

IsDropTargetPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsDropTargetPatternAvailableProperty
return AutomationProperty

IsEnabledProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsEnabledProperty
return AutomationProperty

IsExpandCollapsePatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsExpandCollapsePatternAvailableProperty
return AutomationProperty

IsGridItemPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsGridItemPatternAvailableProperty
return AutomationProperty

IsGridPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsGridPatternAvailableProperty
return AutomationProperty

IsInvokePatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsInvokePatternAvailableProperty
return AutomationProperty

IsItemContainerPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsItemContainerPatternAvailableProperty
return AutomationProperty

IsKeyboardFocusableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsKeyboardFocusableProperty
return AutomationProperty

IsLegacyIAccessiblePatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsLegacyIAccessiblePatternAvailableProperty
return AutomationProperty

IsMultipleViewPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsMultipleViewPatternAvailableProperty
return AutomationProperty

IsObjectModelPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsObjectModelPatternAvailableProperty
return AutomationProperty

IsOffscreenProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsOffscreenProperty
return AutomationProperty

IsPasswordProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsPasswordProperty
return AutomationProperty

IsRangeValuePatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsRangeValuePatternAvailableProperty
return AutomationProperty

IsRequiredForFormProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsRequiredForFormProperty
return AutomationProperty

IsScrollItemPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsScrollItemPatternAvailableProperty
return AutomationProperty

IsScrollPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsScrollPatternAvailableProperty
return AutomationProperty

IsSelectionItemPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsSelectionItemPatternAvailableProperty
return AutomationProperty

IsSelectionPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsSelectionPatternAvailableProperty
return AutomationProperty

IsSpreadsheetItemPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsSpreadsheetItemPatternAvailableProperty
return AutomationProperty

IsSpreadsheetPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsSpreadsheetPatternAvailableProperty
return AutomationProperty

IsStylesPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsStylesPatternAvailableProperty
return AutomationProperty

IsSynchronizedInputPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsSynchronizedInputPatternAvailableProperty
return AutomationProperty

IsTableItemPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsTableItemPatternAvailableProperty
return AutomationProperty

IsTablePatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsTablePatternAvailableProperty
return AutomationProperty

IsTextChildPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsTextChildPatternAvailableProperty
return AutomationProperty

IsTextPattern2AvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsTextPattern2AvailableProperty
return AutomationProperty

IsTextPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsTextPatternAvailableProperty
return AutomationProperty

IsTogglePatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsTogglePatternAvailableProperty
return AutomationProperty

IsTransformPattern2AvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsTransformPattern2AvailableProperty
return AutomationProperty

IsTransformPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsTransformPatternAvailableProperty
return AutomationProperty

IsValuePatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsValuePatternAvailableProperty
return AutomationProperty

IsVirtualizedItemPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsVirtualizedItemPatternAvailableProperty
return AutomationProperty

IsWindowPatternAvailableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsWindowPatternAvailableProperty
return AutomationProperty

ItemStatusProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation ItemStatusProperty
return AutomationProperty

ItemTypeProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation ItemTypeProperty
return AutomationProperty

LabeledByProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation LabeledByProperty
return AutomationProperty

LayoutInvalidatedEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation LayoutInvalidatedEvent
return AutomationEvent

LiveRegionChangedEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation LiveRegionChangedEvent
return AutomationEvent

LiveSettingProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation LiveSettingProperty
return AutomationProperty

LocalizedControlTypeProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation LocalizedControlTypeProperty
return AutomationProperty

MenuClosedEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation MenuClosedEvent
return AutomationEvent

MenuModeEndEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation MenuModeEndEvent
return AutomationEvent

MenuModeStartEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation MenuModeStartEvent
return AutomationEvent

MenuOpenedEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation MenuOpenedEvent
return AutomationEvent

NameProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation NameProperty
return AutomationProperty

NativeWindowHandleProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation NativeWindowHandleProperty
return AutomationProperty

NotSupported public_oe static_oe property

public static object NotSupported
return object

OptimizeForVisualContentProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation OptimizeForVisualContentProperty
return AutomationProperty

OrientationProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation OrientationProperty
return AutomationProperty

ProcessIdProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation ProcessIdProperty
return AutomationProperty

ProviderDescriptionProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation ProviderDescriptionProperty
return AutomationProperty

RuntimeIdProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation RuntimeIdProperty
return AutomationProperty

StructureChangedEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation StructureChangedEvent
return AutomationEvent

SystemAlertEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation SystemAlertEvent
return AutomationEvent

ToolTipClosedEvent public_oe static_oe property

public static AutomationEvent ToolTipClosedEvent
return AutomationEvent

ToolTipOpenedEvent public_oe static_oe property

public static AutomationEvent ToolTipOpenedEvent
return AutomationEvent