C# 클래스 Microsoft.Test.UIAutomation.Core.TestMenu

상속: IDisposable
파일 보기 프로젝트 열기: geeksree/cSharpGeeks 1 사용 예제들

공개 메소드들

메소드 설명
Collapse ( ) : TestMenu

Collapse the menu object

Dispose ( ) : void

Dispose ( bool disposing ) : void

Expand ( ) : TestMenu

Expand the menu object

GetFirstSubMenu ( ) : TestMenu

Get the first child menu using ControlViewWalker

GetNextSiblingMenu ( ) : TestMenu

Get the next sibling menu using ControlViewWalker

Invoke ( ) : bool

Invoke the menu

SubMenu ( string indentifer, AutomationProperty property ) : TestMenu

Return the sub menu for this menu that can be identified by using FindFirst(TreeScope.Descendants, new PropertyCondition(property, indentifer));

TestMenu ( AutomationElement element ) : System

Constructor for the menu object

비공개 메소드들

메소드 설명
ExpandCollapseEventHandler ( object src, AutomationPropertyChangedEventArgs arguments ) : void

Event handler

expandCollapseMenu ( ExpandCollapseState desiredState ) : void

Will call the approprate ExpandCollapse state to happen

메소드 상세

Collapse() 공개 메소드

Collapse the menu object
public Collapse ( ) : TestMenu
리턴 TestMenu

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( bool disposing ) : void
disposing bool
리턴 void

Expand() 공개 메소드

Expand the menu object
public Expand ( ) : TestMenu
리턴 TestMenu

GetFirstSubMenu() 공개 메소드

Get the first child menu using ControlViewWalker
public GetFirstSubMenu ( ) : TestMenu
리턴 TestMenu

GetNextSiblingMenu() 공개 메소드

Get the next sibling menu using ControlViewWalker
public GetNextSiblingMenu ( ) : TestMenu
리턴 TestMenu

Invoke() 공개 메소드

Invoke the menu
public Invoke ( ) : bool
리턴 bool

SubMenu() 공개 메소드

Return the sub menu for this menu that can be identified by using FindFirst(TreeScope.Descendants, new PropertyCondition(property, indentifer));
public SubMenu ( string indentifer, AutomationProperty property ) : TestMenu
indentifer string
property System.Windows.Automation.AutomationProperty
리턴 TestMenu

TestMenu() 공개 메소드

Constructor for the menu object
public TestMenu ( AutomationElement element ) : System
element System.Windows.Automation.AutomationElement
리턴 System