C# 클래스 VisualUIAVerify.Features.ElementHighlighter

Base class for element highlighters.
상속: IDisposable
파일 보기 프로젝트 열기: TestStack/UIAVerify 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

this will stop highlighting, release all handlers and references.

ElementHighlighter ( AutomationElementTreeControl treeControl ) : System
StartHighlighting ( ) : void

Starts to highlighting SelectedNode of AutomationElementTreeControl

StopHighlighting ( ) : void

Stops highlighting and hide highlighting rectangle.

보호된 메소드들

메소드 설명
OnDispose ( ) : void

this method is to acknowledge that Dispose was called so it is good to release everything

SetToolTip ( string toolTipMessage ) : void

this method enables setting ToolTip message about selected automation element

SetVisibility ( bool show ) : void

this method enables to show or hide highlighting rectangle

비공개 메소드들

메소드 설명
OnSelectedNodeChanged ( ) : void

this method will cause the selection of SelectedNode of a tree

ReleaseEventHandler ( ) : void
SetEventHandler ( ) : void
SetHighlightingElement ( AutomationElement selectedElement ) : void

this will set the highlighting rectangle upon automation element.

SetToolTip ( AutomationElement element ) : void

this method will create and set tooltip message of automation element to highlighting rectangle

_treeControl_SelectedNodeChanged ( object sender, EventArgs e ) : void

when SelectedNode is changed then highlight it

메소드 상세

Dispose() 공개 메소드

this will stop highlighting, release all handlers and references.
public Dispose ( ) : void
리턴 void

ElementHighlighter() 공개 메소드

public ElementHighlighter ( AutomationElementTreeControl treeControl ) : System
treeControl VisualUIAVerify.Controls.AutomationElementTreeControl
리턴 System

OnDispose() 추상적인 보호된 메소드

this method is to acknowledge that Dispose was called so it is good to release everything
abstract protected OnDispose ( ) : void
리턴 void

SetToolTip() 추상적인 보호된 메소드

this method enables setting ToolTip message about selected automation element
abstract protected SetToolTip ( string toolTipMessage ) : void
toolTipMessage string
리턴 void

SetVisibility() 추상적인 보호된 메소드

this method enables to show or hide highlighting rectangle
abstract protected SetVisibility ( bool show ) : void
show bool
리턴 void

StartHighlighting() 공개 메소드

Starts to highlighting SelectedNode of AutomationElementTreeControl
public StartHighlighting ( ) : void
리턴 void

StopHighlighting() 공개 메소드

Stops highlighting and hide highlighting rectangle.
public StopHighlighting ( ) : void
리턴 void