C# 클래스 Microsoft.Silverlight.Testing.Controls.TreeViewItemAutomationPeer

Exposes the items in T:Microsoft.Silverlight.Testing.Controls.TreeViewItem types to UI automation.
상속: System.Windows.Automation.Peers.FrameworkElementAutomationPeer, IExpandCollapseProvider, ISelectionItemProvider, IScrollItemProvider
파일 보기 프로젝트 열기: garyjohnson/wpnest

Private Properties

프로퍼티 타입 설명
RaiseAutomationIsSelectedChanged void
RaiseExpandCollapseAutomationEvent void

공개 메소드들

메소드 설명
GetPattern ( PatternInterface patternInterface ) : object

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

IExpandCollapseProvider ( ) : void

Hides all nodes, controls, or content that are descendants of the control.

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

IScrollItemProvider ( ) : void

Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container.

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

ISelectionItemProvider ( ) : void

Adds the current element to the collection of selected items.

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

TreeViewItemAutomationPeer ( TreeViewItem owner ) : System

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

보호된 메소드들

메소드 설명
GetAutomationControlTypeCore ( ) : AutomationControlType

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

GetClassNameCore ( ) : string

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

비공개 메소드들

메소드 설명
RaiseAutomationIsSelectedChanged ( bool isSelected ) : void

Raise the IsSelected property changed event.

RaiseExpandCollapseAutomationEvent ( bool oldValue, bool newValue ) : void

Raise an automation event when a TreeViewItem is expanded or collapsed.

메소드 상세

GetAutomationControlTypeCore() 보호된 메소드

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

GetClassNameCore() 보호된 메소드

Gets the name of the T:Microsoft.Silverlight.Testing.Controls.TreeViewItem that is associated with this T:System.Windows.Automation.Peers.TreeViewItemAutomationPeer. This method is called by M:System.Windows.Automation.Peers.AutomationPeer.GetClassName.
protected GetClassNameCore ( ) : string
리턴 string

GetPattern() 공개 메소드

Gets the control pattern for the T:Microsoft.Silverlight.Testing.Controls.TreeViewItem that is associated with this T:System.Windows.Automation.Peers.TreeViewItemAutomationPeer.
public GetPattern ( PatternInterface patternInterface ) : object
patternInterface PatternInterface /// One of the enumeration values. ///
리턴 object

IExpandCollapseProvider() 공개 메소드

Hides all nodes, controls, or content that are descendants of the control.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
public IExpandCollapseProvider ( ) : void
리턴 void

IScrollItemProvider() 공개 메소드

Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
public IScrollItemProvider ( ) : void
리턴 void

ISelectionItemProvider() 공개 메소드

Adds the current element to the collection of selected items.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
public ISelectionItemProvider ( ) : void
리턴 void

TreeViewItemAutomationPeer() 공개 메소드

Initializes a new instance of the T:System.Windows.Automation.Peers.TreeViewItemAutomationPeer class.
public TreeViewItemAutomationPeer ( TreeViewItem owner ) : System
owner TreeViewItem /// The instance /// to associate with this /// . ///
리턴 System