C# Class Microsoft.Silverlight.Testing.Controls.TreeViewAutomationPeer

Exposes T:Microsoft.Silverlight.Testing.Controls.TreeView types to UI automation.
Inheritance: System.Windows.Automation.Peers.FrameworkElementAutomationPeer, ISelectionProvider
显示文件 Open project: garyjohnson/wpnest

Private Properties

Property Type Description
GetChildrenCore List
ISelectionProvider System.Windows.Automation.Provider.IRawElementProviderSimple[]

Public Methods

Method Description
GetPattern ( PatternInterface patternInterface ) : object

Gets a control pattern for the T:Microsoft.Silverlight.Testing.Controls.TreeView that is associated with this T:System.Windows.Automation.Peers.TreeViewAutomationPeer.

TreeViewAutomationPeer ( TreeView owner ) : System

Initializes a new instance of the T:System.Windows.Automation.Peers.TreeViewAutomationPeer class.

Protected Methods

Method Description
GetAutomationControlTypeCore ( ) : AutomationControlType

Gets the control type for the T:Microsoft.Silverlight.Testing.Controls.TreeView that is associated with this T:System.Windows.Automation.Peers.TreeViewAutomationPeer. This method is called by M:System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.

GetClassNameCore ( ) : string

Gets the name of the T:Microsoft.Silverlight.Testing.Controls.TreeView that is associated with T:System.Windows.Automation.Peers.TreeViewAutomationPeer. This method is called by M:System.Windows.Automation.Peers.AutomationPeer.GetClassName.

Private Methods

Method Description
GetChildrenCore ( ) : List
ISelectionProvider ( ) : System.Windows.Automation.Provider.IRawElementProviderSimple[]

Retrieves a UI automation provider for each child element that is selected.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Method Details

GetAutomationControlTypeCore() protected method

Gets the control type for the T:Microsoft.Silverlight.Testing.Controls.TreeView that is associated with this T:System.Windows.Automation.Peers.TreeViewAutomationPeer. This method is called by M:System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
protected GetAutomationControlTypeCore ( ) : AutomationControlType
return AutomationControlType

GetClassNameCore() protected method

Gets the name of the T:Microsoft.Silverlight.Testing.Controls.TreeView that is associated with T:System.Windows.Automation.Peers.TreeViewAutomationPeer. This method is called by M:System.Windows.Automation.Peers.AutomationPeer.GetClassName.
protected GetClassNameCore ( ) : string
return string

GetPattern() public method

Gets a control pattern for the T:Microsoft.Silverlight.Testing.Controls.TreeView that is associated with this T:System.Windows.Automation.Peers.TreeViewAutomationPeer.
public GetPattern ( PatternInterface patternInterface ) : object
patternInterface PatternInterface /// One of the enumeration values that indicates the control pattern. ///
return object

TreeViewAutomationPeer() public method

Initializes a new instance of the T:System.Windows.Automation.Peers.TreeViewAutomationPeer class.
public TreeViewAutomationPeer ( TreeView owner ) : System
owner TreeView /// The to associate /// with the /// . ///
return System