Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
AutomationPeer Class

Updated: November 2007

Provides a base class that exposes an element to UI Automation. 

Namespace:  System.Windows.Automation.Peers
Assembly:  PresentationCore (in PresentationCore.dll)

Visual Basic (Declaration)
Public MustInherit Class AutomationPeer _
    Inherits DispatcherObject
Visual Basic (Usage)
Dim instance As AutomationPeer
C#
public abstract class AutomationPeer : DispatcherObject
Visual C++
public ref class AutomationPeer abstract : public DispatcherObject
J#
public abstract class AutomationPeer extends DispatcherObject
JScript
public abstract class AutomationPeer extends DispatcherObject
XAML
This class is abstract; see Inheritance Hierarchy for derived non-abstract classes usable in XAML.

When UI Automation queries the root of a Windows Presentation Foundation (WPF) application about an element, the root returns the UI Automation peer for that element. The peer also responds to UI Automation questions about its corresponding element.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows Vista

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker