System.Windows.Automation Namespace

Provides support for Windows Presentation Foundation (WPF) UI Automation clients.

Classes

AndCondition

Represents a combination of two or more PropertyCondition objects that must both be true for a match.

AsyncContentLoadedEventArgs

Provides data for a AsyncContentLoadedEvent.

Automation

Contains methods and fields for UI Automation client applications.

AutomationElement

Represents a UI Automation element in the UI Automation tree, and contains values used as identifiers by UI Automation client applications.

AutomationElementCollection

Represents a collection of AutomationElement objects.

AutomationElementIdentifiers

Contains values used as identifiers by UI Automation providers.

AutomationEvent

Identifies a UI Automation event.

AutomationEventArgs

Provides data for UI Automation events that are passed to an AutomationEventHandler delegate.

AutomationFocusChangedEventArgs

Provides data for a focus-changed event.

AutomationIdentifier

Base class for types that identify control types, events, patterns, properties, and text attributes in UI Automation.

AutomationPattern

Identifies a control pattern.

AutomationProperties

Provides a means of getting or setting the value of the associated properties of the instance of the AutomationPeer element.

AutomationProperty

Identifies a property of an AutomationElement.

AutomationPropertyChangedEventArgs

Provides information about a property-changed event.

AutomationTextAttribute

Identifies UI Automation text attributes.

BasePattern

Provides the base implementation for control pattern classes.

CacheRequest

Specifies properties and patterns that the UI Automation framework caches when an AutomationElement is obtained.

ClientSettings

Contains methods that make client-side providers available to the client.

Condition

Base type for conditions used in filtering when searching for elements in the UI Automation tree.

ControlType

Identifies the type of a user interface (UI) control.

DockPattern

Represents controls that expose their dock properties within a docking container.

DockPatternIdentifiers

Contains values used as identifiers for IDockProvider.

ElementNotAvailableException

Contains information about the exception that is raised when an attempt is made to access an UI Automation element corresponding to a part of the user interface that is no longer available.

ElementNotEnabledException

Contains information about the exception that is raised when an attempt is made to manipulate a control that is not enabled.

ExpandCollapsePattern

Represents controls that visually expand to display content and collapse to hide content.

ExpandCollapsePatternIdentifiers

Contains values used as identifiers by IExpandCollapseProvider.

GridItemPattern

Represents child controls of containers that support GridPattern.

GridItemPatternIdentifiers

Contains values used as identifiers by IGridItemProvider.

GridPattern

Represents controls that act as containers for a collection of child elements. The children of this control support GridItemPattern and are organized in a two-dimensional logical coordinate system that can be traversed by row and column.

GridPatternIdentifiers

Contains values used as identifiers by IGridProvider.

InvokePattern

Represents controls that initiate or perform a single, unambiguous action and do not maintain state when activated.

InvokePatternIdentifiers

Contains values used as identifiers by IInvokeProvider.

ItemContainerPattern

Represents an object that manages items and supports retrieving an item by property value.

ItemContainerPatternIdentifiers

Contains values used as identifiers by IItemContainerProvider.

MultipleViewPattern

Represents controls that provide, and are able to switch between, multiple representations of the same set of information or child controls.

MultipleViewPatternIdentifiers

Contains values used as identifiers by IMultipleViewProvider.

NoClickablePointException

Contains information about the exception that is raised when GetClickablePoint() is called on a UI Automation element that has no clickable point.

NotCondition

Represents a Condition that is the negative of a specified Condition.

OrCondition

Represents a combination of two or more conditions where a match exists if any one of the conditions is true.

PropertyCondition

Represents a Condition that tests whether a property has a specified value.

ProxyAssemblyNotLoadedException

Contains information about an exception that is raised when there is a problem loading an assembly that contains client-side providers

RangeValuePattern

Represents a control that can be set to a value within a range.

RangeValuePatternIdentifiers

Contains values used as identifiers for IRangeValueProvider.

ScrollItemPattern

Represents child controls of containers that support the ScrollPattern control pattern.

ScrollItemPatternIdentifiers

Contains values used as identifiers by IScrollItemProvider.

ScrollPattern

Represents controls that act as scrollable containers for a collection of child elements. The children of this element support ScrollItemPattern.

ScrollPatternIdentifiers

Contains values used as identifiers for IScrollProvider.

SelectionItemPattern

Represents selectable child items of container controls that support SelectionPattern.

SelectionItemPatternIdentifiers

Contains values used as identifiers by ISelectionItemProvider.

SelectionPattern

Represents a control that acts as a container for a collection of selectable child items. The children of this element support the SelectionItemPattern.

SelectionPatternIdentifiers

Contains values used as identifiers for ISelectionProvider.

StructureChangedEventArgs

Contains information about the event that is raised when the UI Automation tree structure has changed.

SynchronizedInputPattern

Represents objects that support synchronized input events.

SynchronizedInputPatternIdentifiers

Contains values used as identifiers by ISynchronizedInputProvider.

TableItemPattern

Represents the child controls of containers that support TablePattern.

TableItemPatternIdentifiers

Contains values used as identifiers by ITableItemProvider.

TablePattern

Represents controls that act as containers for a collection of child elements. The children of this element support TableItemPattern and are organized in a two-dimensional logical coordinate system that can be traversed by row and column.

TablePatternIdentifiers

Contains values used as identifiers for TablePattern.

TextPattern

Represents controls that contain text.

TextPatternIdentifiers

Contains values used as identifiers for ITextProvider.

TogglePattern

Represents a control that can cycle through a set of states and maintain a state once set.

TogglePatternIdentifiers

Contains values used as identifiers by IToggleProvider.

TransformPattern

Represents a control that can be moved, resized, or rotated within a two-dimensional space.

TransformPatternIdentifiers

Contains values used as identifiers for ITransformProvider.

TreeWalker

Provides methods and properties used to navigate the UI Automation tree.

ValuePattern

Represents a control that has an intrinsic value that does not span a range and can be represented as a string. This string may or may not be editable depending on the control and its settings.

ValuePatternIdentifiers

Contains values used as identifiers for IValueProvider.

VirtualizedItemPattern

Represents items inside containers that are virtualized and need to be made fully accessible as UI Automation elements.

VirtualizedItemPatternIdentifiers

Contains values used as identifiers by IVirtualizedItemProvider.

WindowClosedEventArgs

Contains information about the event that is raised when a window is closed.

WindowPattern

Represents a control that provides fundamental window-based functionality within a traditional graphical user interface (GUI).

WindowPatternIdentifiers

Contains values used as identifiers by IWindowProvider.

Structs

AutomationElement.AutomationElementInformation

Contains the property accessors used by the Cached or Current properties.

ClientSideProviderDescription

Describes the scope of a client-side UI Automation provider so that it can be registered with the UI Automation client application.

DockPattern.DockPatternInformation

Provides access to the property values of a DockPattern object using its Current or Cached accessors.

ExpandCollapsePattern.ExpandCollapsePatternInformation

Provides access to the property values of a ExpandCollapsePattern object using its Current or Cached accessors.

GridItemPattern.GridItemPatternInformation

Provides access to the property values of a GridItemPattern object using its Current or Cached accessors.

GridPattern.GridPatternInformation

Provides access to the property values of a GridPattern object using its Current or Cached accessors.

MultipleViewPattern.MultipleViewPatternInformation

Provides access to the property values of a MultipleViewPattern object using its Current or Cached accessors.

RangeValuePattern.RangeValuePatternInformation

Provides access to the property values of a RangeValuePattern object using its Current or Cached accessors.

ScrollPattern.ScrollPatternInformation

Provides access to the property values of a ScrollPattern object using its Current or Cached accessors.

SelectionItemPattern.SelectionItemPatternInformation

Provides access to the property values of a SelectionItemPattern object using its Current or Cached accessors.

SelectionPattern.SelectionPatternInformation

Provides access to the property values of a SelectionPattern object using its Current or Cached accessors.

TableItemPattern.TableItemPatternInformation

Provides access to the property values of a TableItemPattern object using its Current or Cached accessors.

TablePattern.TablePatternInformation

Provides access to the property values of a TablePattern object using its Current or Cached accessors.

TogglePattern.TogglePatternInformation

Provides access to the property values of a TogglePattern object using its Current or Cached accessors.

TransformPattern.TransformPatternInformation

Provides access to the property values of a TransformPattern object using its Current or Cached accessors.

ValuePattern.ValuePatternInformation

Provides access to the property values of a ValuePattern object using its Current or Cached accessors.

WindowPattern.WindowPatternInformation

Provides access to the property values of a WindowPattern object using its Current or Cached accessors.

Enums

AsyncContentLoadedState

Contains values that specify the state of the content being loaded into a content element.

AutomationElementMode

Contains values that specify the type of reference to use when returning UI Automation elements. These values are used in the AutomationElementMode property.

AutomationLiveSetting

Describes the notification characteristics of a particular live region.

ClientSideProviderMatchIndicator

Contains values that specify behavior when matching class names in a ClientSideProviderDescription.

DockPosition

Contains values that specify the dock position of an object, represented by a DockPattern, within a docking container.

ExpandCollapseState

Contains values that specify the ExpandCollapseState of a UI Automation element.

IsOffscreenBehavior

Specifies how the IsOffscreen() property is determined.

OrientationType

Contains values that specify the orientation of a control.

PropertyConditionFlags

Contains values that specify how a property value is tested in a PropertyCondition.

RowOrColumnMajor

Contains values that specify whether data in a table should be read primarily by row or by column.

ScrollAmount

Contains values used by ScrollPattern to indicate the direction and distance to scroll.

StructureChangeType

Contains values that specify changes in the structure of the Microsoft UI Automation element tree.

SupportedTextSelection

Contains values that specify whether a text provider supports selection and, if so, whether it supports a single, continuous selection or multiple, disjoint selections.

SynchronizedInputType

Contains values that specify the type of synchronized input.

ToggleState

Contains values that specify the ToggleState of a UI Automation element.

TreeScope

Contains values that specify the scope of elements within the UI Automation tree.

WindowInteractionState

Contains values that specify the current state of the window for purposes of user or programmatic interaction.

WindowVisualState

Contains values that specify the visual state of a window.

Delegates

AutomationEventHandler

Represents the method implemented by the UI Automation client application to handle an event raised by a UI Automation provider.

AutomationFocusChangedEventHandler

Represents the method implemented by the UI Automation client application to handle the event raised by a UI Automation provider when the focus has changed.

AutomationPropertyChangedEventHandler

Represents the method implemented by the UI Automation client application to handle the event raised by a UI Automation provider when a property has changed.

ClientSideProviderFactoryCallback

Represents the method that creates a client-side UI Automation provider for a window.

StructureChangedEventHandler

Represents the method implemented by the client application to handle the event raised when the UI Automation tree structure has changed.