Cette documentation est archivée et n’est pas conservée.

System.Windows.Automation, espace de noms

This section contains information about the System.Windows.Automation namespace, which provides support for UI Automation clients.

 ClasseDescription
Classe publiqueAndConditionRepresents a combination of two or more PropertyCondition objects that must both be true for a match.
Classe publiqueAsyncContentLoadedEventArgsProvides data for a AsyncContentLoadedEvent.
Classe publiqueAutomationContains methods and fields for UI Automation client applications.
Classe publiqueAutomationElementRepresents a UI Automation element in the UI Automation tree, and contains values used as identifiers by UI Automation client applications. This class cannot be inherited.
Classe publiqueAutomationElementCollectionRepresents a collection of AutomationElement objects.
Classe publiqueAutomationElementIdentifiersContains values used as identifiers by UI Automation providers.
Classe publiqueAutomationEventIdentifies a UI Automation event.
Classe publiqueAutomationEventArgsProvides data for UI Automation events that are passed to an AutomationEventHandler delegate.
Classe publiqueAutomationFocusChangedEventArgsProvides data for a focus-changed event.
Classe publiqueAutomationIdentifierBase class for types that identify control types, events, patterns, properties, and text attributes in UI Automation.
Classe publiqueAutomationPatternIdentifies a control pattern.
Classe publiqueAutomationPropertiesProvides a means of getting or setting the value of the associated properties of the instance of the AutomationPeer element.
Classe publiqueAutomationPropertyIdentifies a property of an AutomationElement.
Classe publiqueAutomationPropertyChangedEventArgsProvides information about a property-changed event.
Classe publiqueAutomationTextAttributeIdentifies UI Automation text attributes.
Classe publiqueBasePatternProvides the base implementation for control pattern classes.
Classe publiqueCacheRequestSpecifies properties and patterns that the UI Automation framework caches when an AutomationElement is obtained.
Classe publiqueClientSettingsContains methods that make client-side providers available to the client.
Classe publiqueConditionBase type for conditions used in filtering when searching for elements in the UI Automation tree.
Classe publiqueControlTypeIdentifies the type of a user interface (UI) control.
Classe publiqueDockPatternRepresents controls that expose their dock properties within a docking container.
Classe publiqueDockPatternIdentifiersContains values used as identifiers for IDockProvider.
Classe publiqueElementNotAvailableExceptionContains 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.
Classe publiqueElementNotEnabledExceptionContains information about the exception that is raised when an attempt is made to manipulate a control that is not enabled.
Classe publiqueExpandCollapsePatternRepresents controls that visually expand to display content and collapse to hide content.
Classe publiqueExpandCollapsePatternIdentifiersContains values used as identifiers by IExpandCollapseProvider.
Classe publiqueGridItemPatternRepresents child controls of containers that support GridPattern.
Classe publiqueGridItemPatternIdentifiersContains values used as identifiers by IGridItemProvider.
Classe publiqueGridPatternRepresents 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.
Classe publiqueGridPatternIdentifiersContains values used as identifiers by IGridProvider.
Classe publiqueInvokePatternRepresents controls that initiate or perform a single, unambiguous action and do not maintain state when activated.
Classe publiqueInvokePatternIdentifiersContains values used as identifiers by IInvokeProvider.
Classe publiqueMultipleViewPatternRepresents controls that provide, and are able to switch between, multiple representations of the same set of information or child controls.
Classe publiqueMultipleViewPatternIdentifiersContains values used as identifiers by IMultipleViewProvider.
Classe publiqueNoClickablePointExceptionContains information about the exception that is raised when GetClickablePoint is called on a UI Automation element that has no clickable point.
Classe publiqueNotConditionRepresents a Condition that is the negative of a specified Condition.
Classe publiqueOrConditionRepresents a combination of two or more conditions where a match exists if any one of the conditions is true.
Classe publiquePropertyConditionRepresents a Condition that tests whether a property has a specified value.
Classe publiqueProxyAssemblyNotLoadedExceptionContains information about an exception that is raised when there is a problem loading an assembly that contains client-side providers
Classe publiqueRangeValuePatternRepresents a control that can be set to a value within a range.
Classe publiqueRangeValuePatternIdentifiersContains values used as identifiers for IRangeValueProvider.
Classe publiqueScrollItemPatternRepresents child controls of containers that support the ScrollPatterncontrol pattern.
Classe publiqueScrollItemPatternIdentifiersContains values used as identifiers by IScrollItemProvider.
Classe publiqueScrollPatternRepresents controls that act as scrollable containers for a collection of child elements. The children of this element support ScrollItemPattern.
Classe publiqueScrollPatternIdentifiersContains values used as identifiers for IScrollProvider.
Classe publiqueSelectionItemPatternRepresents selectable child items of container controls that support SelectionPattern.
Classe publiqueSelectionItemPatternIdentifiersContains values used as identifiers by ISelectionItemProvider.
Classe publiqueSelectionPatternRepresents a control that acts as a container for a collection of selectable child items. The children of this element support the SelectionItemPattern.
Classe publiqueSelectionPatternIdentifiersContains values used as identifiers for ISelectionProvider.
Classe publiqueStructureChangedEventArgsContains information about the event that is raised when the UI Automation tree structure has changed.
Classe publiqueTableItemPatternRepresents the child controls of containers that support TablePattern.
Classe publiqueTableItemPatternIdentifiersContains values used as identifiers by ITableItemProvider.
Classe publiqueTablePatternRepresents 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.
Classe publiqueTablePatternIdentifiersContains values used as identifiers for TablePattern.
Classe publiqueTextPatternRepresents controls that contain text.
Classe publiqueTextPatternIdentifiersContains values used as identifiers for ITextProvider.
Classe publiqueTogglePatternRepresents a control that can cycle through a set of states and maintain a state once set.
Classe publiqueTogglePatternIdentifiersContains values used as identifiers by IToggleProvider.
Classe publiqueTransformPatternRepresents a control that can be moved, resized, or rotated within a two-dimensional space.
Classe publiqueTransformPatternIdentifiersContains values used as identifiers for ITransformProvider.
Classe publiqueTreeWalkerProvides methods and properties used to navigate the UI Automation tree.
Classe publiqueValuePatternRepresents 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.
Classe publiqueValuePatternIdentifiersContains values used as identifiers for IValueProvider.
Classe publiqueWindowClosedEventArgsContains information about the event that is raised when a window is closed.
Classe publiqueWindowPatternRepresents a control that provides fundamental window-based functionality within a traditional graphical user interface (GUI).
Classe publiqueWindowPatternIdentifiersContains values used as identifiers by IWindowProvider.

 StructureDescription
Structure publiqueAutomationElement.AutomationElementInformationContains the property accessors used by the Cached or Current properties.
Structure publiqueClientSideProviderDescriptionDescribes the scope of a client-side UI Automation provider so that it can be registered with the UI Automation client application.
Structure publiqueDockPattern.DockPatternInformationProvides access to the property values of a DockPattern object using its Current or Cached accessors.
Structure publiqueExpandCollapsePattern.ExpandCollapsePatternInformationProvides access to the property values of a ExpandCollapsePattern object using its Current or Cached accessors.
Structure publiqueGridItemPattern.GridItemPatternInformationProvides access to the property values of a GridItemPattern object using its Current or Cached accessors.
Structure publiqueGridPattern.GridPatternInformationProvides access to the property values of a GridPattern object using its Current or Cached accessors.
Structure publiqueMultipleViewPattern.MultipleViewPatternInformationProvides access to the property values of a MultipleViewPattern object using its Current or Cached accessors.
Structure publiqueRangeValuePattern.RangeValuePatternInformationProvides access to the property values of a RangeValuePattern object using its Current or Cached accessors.
Structure publiqueScrollPattern.ScrollPatternInformationProvides access to the property values of a ScrollPattern object using its Current or Cached accessors.
Structure publiqueSelectionItemPattern.SelectionItemPatternInformationProvides access to the property values of a SelectionItemPattern object using its Current or Cached accessors.
Structure publiqueSelectionPattern.SelectionPatternInformationProvides access to the property values of a SelectionPattern object using its Current or Cached accessors.
Structure publiqueTableItemPattern.TableItemPatternInformationProvides access to the property values of a TableItemPattern object using its Current or Cached accessors.
Structure publiqueTablePattern.TablePatternInformationProvides access to the property values of a TablePattern object using its Current or Cached accessors.
Structure publiqueTogglePattern.TogglePatternInformationProvides access to the property values of a TogglePattern object using its Current or Cached accessors.
Structure publiqueTransformPattern.TransformPatternInformationProvides access to the property values of a TransformPattern object using its Current or Cached accessors.
Structure publiqueValuePattern.ValuePatternInformationProvides access to the property values of a ValuePattern object using its Current or Cached accessors.
Structure publiqueWindowPattern.WindowPatternInformationProvides access to the property values of a WindowPattern object using its Current or Cached accessors.

 DéléguéDescription
Délégué publicAutomationEventHandlerRepresents the method implemented by the UI Automation client application to handle an event raised by a UI Automation provider.
Délégué publicAutomationFocusChangedEventHandlerRepresents the method implemented by the UI Automation client application to handle the event raised by a UI Automation provider when the focus has changed.
Délégué publicAutomationPropertyChangedEventHandlerRepresents the method implemented by the UI Automation client application to handle the event raised by a UI Automation provider when a property has changed.
Délégué publicClientSideProviderFactoryCallbackRepresents the method that creates a client-side UI Automation provider for a window.
Délégué publicStructureChangedEventHandlerRepresents the method implemented by the client application to handle the event raised when the UI Automation tree structure has changed.

 ÉnumérationDescription
Énumération publiqueAsyncContentLoadedStateContains values that specify the state of the content being loaded into a content element.
Énumération publiqueAutomationElementModeContains values that specify the type of reference to use when returning UI Automation elements. These values are used in the CacheRequest.AutomationElementMode property.
Énumération publiqueClientSideProviderMatchIndicatorContains values that specify behavior when matching class names in a ClientSideProviderDescription.
Énumération publiqueDockPositionContains values that specify the dock position of an object, represented by a DockPattern, within a docking container.
Énumération publiqueExpandCollapseStateContains values that specify the ExpandCollapseState of a UI Automation element.
Énumération publiqueOrientationTypeContains values that specify the orientation of a control.
Énumération publiquePropertyConditionFlagsContains values that specify how a property value is tested in a PropertyCondition.
Énumération publiqueRowOrColumnMajorContains values that specify whether data in a table should be read primarily by row or by column.
Énumération publiqueScrollAmountContains values used by ScrollPattern to indicate the direction and distance to scroll.
Énumération publiqueStructureChangeTypeContains values that specify changes in the structure of the Microsoft UI Automation element tree.
Énumération publiqueSupportedTextSelectionContains values that specify whether a text provider supports selection and, if so, whether it supports a single, continuous selection or multiple, disjoint selections.
Énumération publiqueToggleStateContains values that specify the ToggleState of a UI Automation element.
Énumération publiqueTreeScopeContains values that specify the scope of elements within the UI Automation tree.
Énumération publiqueWindowInteractionStateContains values that specify the current state of the window for purposes of user or programmatic interaction.
Énumération publiqueWindowVisualStateContains values that specify the visual state of a window.
Afficher: